Skip to content

Instantly share code, notes, and snippets.

@bugra-derre
Last active December 20, 2015 17:59
Show Gist options
  • Save bugra-derre/6172409 to your computer and use it in GitHub Desktop.
Save bugra-derre/6172409 to your computer and use it in GitHub Desktop.
#Stop the Riak node
sudo riak stop
#Delete the directory ring/ in your Riak data directory
sudo rm -r /var/lib/riak/ring
#Change the Node Name
sudo nano /etc/riak/vm.args #Change {-name riak@aaa.bbb.c.dd to correct IP address}
#Change the HTTP and Protocol Buffers binding address
sudo nano /etc/riak/app.config #Change {http, [ {"127.0.0.1", 8098 } ] in riak_core section}, {https, [ {"127.0.0.1", 8098 } ] in riak_core section}, {pb, "127.0.0.1" in riak_kv section}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment