Riakのインストール
curl -s https://packagecloud.io/install/repositories/basho/riak/script.deb.sh | sudo bash
sudo apt-get install riak=2.2.3-1
riak.confのバックアップ
cp -a /etc/riak/riak.conf /etc/riak/riak.conf.bak
riak.confの設定
sudo vim /etc/riak/riak.conf
-
riak.conf
を編集
riak.conf
storage_backend = leveldb
nodename = riak@192.168.0.111 ## サーバのIP
listener.http.internal = 0.0.0.0:8098
listener.protobuf.internal = 0.0.0.0:8087
riak_control.auth.user.admin.password = naruhaya
起動
sudo riak start