Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Install notes for debian vm ring
sudo apt-get install vim
sudo dpkg -i riak_0.13.0-2_amd64.deb
sudo dpkg -i innostore_1.0.1-2_amd64.deb
sudo /etc/init.d/riak stop
cp /etc/riak/app.config /etc/riak/app.config.orig
#configuring riak now.
sudo vi /etc/riak/app.config
#end of SASL config
%% INNOStore Config
{innostore, [
{data_home_dir, "/var/lib/riak/innodb"}, %% Where data files go
{log_group_home_dir, "/var/lib/riak/innodb"}, %% Where log files go
{buffer_pool_size, 268435456} %% 256MB in-memory buffer in bytes
#Set web ip
-{web_ip, "" },
+{web_ip, "" },
#write and quit
#Edit vm.args
#set -smp enable if using single processor i.e. vmware
- -name riak@
+ -name riak@<hostname>
#write and quit
sudo riak-admin reip riak@ riak@<hostname>
sudo riak start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment