Script to install Riak 0.8 on ubuntu

John Hornbeck hornbeck at basho.com
Mon Feb 15 16:13:49 EST 2010


On Mon, Feb 15, 2010 at 2:14 PM, Zubair Quraishi <zubairq at gmail.com> wrote:

> Hi,
>
>  Some time ago I wrote a script to install Riak 0.7.1 on Ubuntu:
>
> *ubuntu-install-riak-0.7.sh *
>
> apt-get clean
> apt-get remove erlang-base
> apt-get remove erlang
>
> apt-get install build-essential libncurses5-dev m4
> apt-get install openssl libssl-dev
>
> cd /
> wget http://erlang.org/download/otp_src_R13B03.tar.gz
> tar zxf otp_src_R13B03.tar.gz
> cd otp_src_R13B03/
> ./configure
> make
> make install
>
> cd /
> wget http://hg.basho.com/riak/get/riak-0.7.1.tar.gz
> tar xzf riak-0.7.1.tar.gz
> cd riak
> make all rel
> export RIAK=`pwd`
>
> cd rel/riak
> bin/riak start
> sleep 5
> bin/riak-admin test
>
> What would I have to change to get this to install 0.8 automatically? I
> tried manually to install 0.8 but gave up in the end
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
For 32bit Ubuntu 9.10 I was able to do the following

- sudo apt-get install build-essential libncurses5-dev
- sudo apt-get install openssl libssl-dev cvs
- wget http://erlang.org/download/otp_src_R13B03.tar.gz
- tar zxvf otp_src_R13B03.tar.gz
- cd otp_src_R13B03
- ./configure
- make
- sudo make install
- cd ..
- wget http://hg.basho.com/riak/get/riak-0.8.tar.gz
- tar zxvf riak-0.8.tar.gz
- cd riak-0.8
- make all rel
- cd rel/riak
- bin/riak start

Let me know if that doesn't work for you

-- 
* John Hornbeck
** Director of Product and Services
** Basho Technologies, Inc.
** hornbeck at basho.com
** 580.917.1549
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20100215/f3397dbd/attachment.html>


More information about the riak-users mailing list