Install Erlang R16B02 using kerl
curl -O https://raw.github.com/spawngrid/kerl/master/kerl; chmod a+x kerl
Create ~/.kerlrc
KERL_CONFIGURE_OPTIONS="--disable-hipe --enable-smp-support --enable-threads
--enable-kernel-poll --enable-darwin-64bit"
Build, install, and activate R16B02
./kerl build R16B02 r16b02
./kerl install r16b02 ~/erlang/r16b02
. ~/erlang/r16b02/activate
More information about kerl and those commands here
Download and build Riak
mkdir -p /opt/riak
cd /opt/riak
git clone [email protected]:basho/riak.git riak-2.0.0pre7
cd riak-2.0.0pre7
git checkout riak-2.0.0pre7
make rel
Start Riak
ulimit -n 4096 ; ./rel/riak/bin/riak start