Skip to content

Instantly share code, notes, and snippets.

@micrypt
Created June 27, 2011 14:10
Show Gist options
  • Save micrypt/1048924 to your computer and use it in GitHub Desktop.
Save micrypt/1048924 to your computer and use it in GitHub Desktop.
Riak Quick Start from GitHub
# 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 dev1@127.0.0.1
$ dev3/bin/riak-admin join dev1@127.0.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment