Created
June 27, 2011 14:10
-
-
Save micrypt/1048924 to your computer and use it in GitHub Desktop.
Riak Quick Start from GitHub
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
# Install Erlang | |
$ sudo apt-get install autoconf | |
$ curl -O https://raw.github.com/dreverri/kerl/master/kerl; chmod a+x kerl | |
$ ./kerl build R14B03 r14b03 | |
$ ./kerl install r14b03 /opt/erlang/r14b03 | |
$ . ~/.kerl/installs/r14b03/activate | |
# Build Riak from source | |
$ git clone git://github.com/basho/riak.git | |
$ cd riak | |
$ make all | |
$ make devrel | |
# Start dev nodes | |
$ cd dev | |
$ dev1/bin/riak start | |
$ dev2/bin/riak start | |
$ dev3/bin/riak start | |
# Check that they are running | |
$ ps aux | grep beam | |
# Initialize cluster | |
$ dev2/bin/riak-admin join [email protected] | |
$ dev3/bin/riak-admin join [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment