-
-
Save miebach/2340161 to your computer and use it in GitHub Desktop.
Install riak 1.1.2 and R14B03 on a minimal Ubuntu 10.04 LTS server
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 riak-0.14.2rc8 to Ubuntu 10.04 LTS 32 bit | |
# make sure you have a compatible build system and the ncurses and openssl | |
# development libraries installed, also git and curl: | |
sudo aptitude install build-essential libncurses5-dev openssl libssl-dev git-core curl -y | |
# download, build and install Erlang: | |
ERLANG=/opt/erlang | |
sudo mkdir -p /opt | |
sudo chmod a+w /opt | |
mkdir -p $ERLANG | |
cd $ERLANG | |
wget http://erlang.org/download/otp_src_R14B03.tar.gz | |
tar zxvf otp_src_R14B03.tar.gz | |
cd otp_src_R14B03 | |
./configure && make && sudo make install | |
RIAK=/opt/riak | |
SRC=/opt/src | |
RIAK_TGZ=riak-1.1.2.tar.gz | |
mkdir -p $SRC | |
sudo chmod a+w $SRC | |
cd $SRC | |
wget http://downloads.basho.com/riak/CURRENT/$RIAK_TGZ | |
tar -xzf $RIAK_TGZ | |
mv riak-1.1.2 $RIAK | |
cd $RIAK | |
make all | |
# see http://wiki.basho.com/Building-a-Development-Environment.html for the next steps | |
# start riak: | |
# cd ~/dev/riak/current/rel | |
# sudo riak/bin/riak start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment