diff --git a/source/riak/tutorials/installation/Installing-on-Debian-and-Ubuntu.md b/source/riak/tutorials/installation/Installing-on-Debian-and-Ubuntu.md index 83d30f76cd..f6831be194 100644 --- a/source/riak/tutorials/installation/Installing-on-Debian-and-Ubuntu.md +++ b/source/riak/tutorials/installation/Installing-on-Debian-and-Ubuntu.md @@ -16,9 +16,37 @@ The following steps have been tested to work with Riak on Debian version 6.05 an Riak can be installed on Debian or Ubuntu based systems with a binary package or by [[compiling Riak from source code|Installing Riak from Source]]. +Installing From Apt-Get +----------------------- + +If you wish to just install Riak and get on with your life, use `apt-get`. + +First you must get the signing key. + +```bash +curl http://apt.basho.com/gpg/basho.apt.key | sudo apt-key add - +``` + +Then add the Basho repository to your apt sources list (and update them). + +``` +sudo bash -c "echo deb http://apt.basho.com lsb_release -sc main > /etc/apt/sources.list.d/basho.list" +sudo apt-get update +``` + +Now install riak. + +```bash +sudo apt-get install riak +``` + +That should be all. + Installing From Package ----------------------- +If you wish to install the deb packages by hand follow these instructions. + ### SSL Library Requirement for Ubuntu Riak currently requires libssl version 0.9.8, which is not installed by @@ -31,7 +59,7 @@ To install the libssl version 0.9.8 package, execute the following command: ```bash - $ sudo apt-get install libssl0.9.8 +sudo apt-get install libssl0.9.8 ``` After the libssl package installation, proceed to installing Riak from @@ -43,29 +71,29 @@ for the target platform: #### Ubuntu Lucid Lynx (10.04) ```bash - $ wget http://downloads.basho.com.s3-website-us-east-1.amazonaws.com/riak/1.2/1.2.1/ubuntu/lucid/riak_1.2.1-1_amd64.deb - $ sudo dpkg -i riak_1.2.1-1_amd64.deb +wget http://downloads.basho.com.s3-website-us-east-1.amazonaws.com/riak/1.2/1.2.1/ubuntu/lucid/riak_1.2.1-1_amd64.deb +sudo dpkg -i riak_1.2.1-1_amd64.deb ``` #### Ubuntu Natty Narwhal (11.04) ```bash - $ wget http://downloads.basho.com.s3-website-us-east-1.amazonaws.com/riak/1.2/1.2.1/ubuntu/natty/riak_1.2.1-1_amd64.deb - $ sudo dpkg -i riak_1.2.1-1_amd64.deb +wget http://downloads.basho.com.s3-website-us-east-1.amazonaws.com/riak/1.2/1.2.1/ubuntu/natty/riak_1.2.1-1_amd64.deb +sudo dpkg -i riak_1.2.1-1_amd64.deb ``` #### Ubuntu Precise Pangolin (12.04) ```bash - $ wget http://downloads.basho.com.s3-website-us-east-1.amazonaws.com/riak/1.2/1.2.1/ubuntu/precise/riak_1.2.1-1_amd64.deb - $ sudo dpkg -i riak_1.2.1-1_amd64.deb +wget http://downloads.basho.com.s3-website-us-east-1.amazonaws.com/riak/1.2/1.2.1/ubuntu/precise/riak_1.2.1-1_amd64.deb +sudo dpkg -i riak_1.2.1-1_amd64.deb ``` ### Riak 32-bit Installation ```bash - $ wget http://downloads.basho.com.s3-website-us-east-1.amazonaws.com/riak/1.2/1.2.1/ubuntu/lucid/riak_1.2.1-1_i386.deb - $ sudo dpkg -i riak_1.2.1-1_i386.deb +wget http://downloads.basho.com.s3-website-us-east-1.amazonaws.com/riak/1.2/1.2.1/ubuntu/lucid/riak_1.2.1-1_i386.deb +sudo dpkg -i riak_1.2.1-1_i386.deb ```