Created
April 15, 2014 09:41
-
-
Save ashic/10718137 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#wget http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.8/ubuntu/precise/riak_1.4.8-1_amd64.deb | |
#sudo dpkg -i riak_1.4.8-1_amd64.deb | |
#wget http://security.ubuntu.com/ubuntu/pool/main/c/curl/curl_7.22.0-3ubuntu4.7_amd64.deb | |
#sudo dpkg -i curl_7.22.0-3ubuntu4.7_amd64.deb | |
riak stop | |
rm -rf /var/lib/riak/ring/* | |
rm -rf /var/lib/riak/bitcask/* | |
sudo gedit /etc/riak/vm.args #change name ip from localhost to ip | |
sudo gedit /etc/riak/app.config #change ip for http and pb_ip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment