Skip to content

Commit

Permalink
updating download links and required Erlang version numbers for 1.0. …
Browse files Browse the repository at this point in the history
…DO NOT MERGE TO PUBLISH UNTIL RELEASE IS OFFICIAL. Could use another set of eyes to make sure I didn't fat finger any links
  • Loading branch information
Mark Phillips committed Sep 29, 2011
1 parent fb749f0 commit 4c0e21a
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 42 deletions.
14 changes: 6 additions & 8 deletions pages/Riak/Installation/Installing-Erlang.textile
Expand Up @@ -50,9 +50,9 @@ $ sudo yum install gcc glibc-devel make ncurses-devel openssl-devel
Next, download, build and install Erlang:

```bash
$ wget http://erlang.org/download/otp_src_R13B04.tar.gz
$ tar zxvf otp_src_R13B04.tar.gz
$ cd otp_src_R13B04
$ wget http://erlang.org/download/otp_src_R14B02.tar.gz
$ tar zxvf otp_src_R14B02.tar.gz
$ cd otp_src_R14B02
$ ./configure && make && sudo make install
```

Expand All @@ -67,8 +67,8 @@ To build from source, you must have XCode tools installed from the CD that came
First, download and unpack the source:

```bash
$ curl -O http://erlang.org/download/otp_src_R13B04.tar.gz
$ tar zxvf otp_src_R13B04.tar.gz
$ curl -O http://erlang.org/download/otp_src_R14B02.tar.gz
$ tar zxvf otp_src_R14B02.tar.gz
$ cd otp_src_R13B04
```

Expand All @@ -95,9 +95,7 @@ You will be prompted for your sudo password.

h3. Homebrew

<div class="note">The current Homebrew formula for Erlang installs R14B03, which is not compatible with the Riak 0.14 release series, and the compile will fail. Install via Homebrew only if you intend to play with Riak's master branch, which runs only on R14B02 and R14B03, but is not recommended for production usage in any way.</div>

If you intend to install Riak with Homebrew, simply follow those instructions [[here|Installing on Mac OS X]] and Erlang will be installed automatically. To install it separately:
If you want to install Riak with Homebrew, simply follow these instructions [[here|Installing on Mac OS X]] and Erlang will be installed automatically. To install it separately:

```bash
$ brew install erlang
Expand Down
8 changes: 4 additions & 4 deletions pages/Riak/Installation/Installing-Riak-from-Source.textile
Expand Up @@ -2,7 +2,7 @@ Riak should be installed from source if you are building on a platform for which

h2. Dependencies

Riak requires [[Erlang|http://www.erlang.org/]] R13B04 or later. If you do not have Erlang already installed, see [[Installing Erlang]]. Don't worry, it's easy!
Riak requires [[Erlang|http://www.erlang.org/]] R14B02 or later. If you do not have Erlang already installed, see [[Installing Erlang]]. Don't worry, it's easy!

<div class="note">
Riak will not compile with Clang. Please make sure your default C/C++ compiler is GCC.
Expand All @@ -18,9 +18,9 @@ Download the Riak source package from the [[Download Center|http://downloads.bas


```bash
$ curl -O http://downloads.basho.com/riak/riak-0.14/riak-0.14.2.tar.gz
$ tar zxvf riak-0.14.2.tar.gz
$ cd riak-0.14.2
$ curl -O http://downloads.basho.com/riak/riak-1.0/riak-1.0.0.tar.gz
$ tar zxvf riak-1.0.0.tar.gz
$ cd riak-1.0.0
$ make rel
```

Expand Down
16 changes: 8 additions & 8 deletions pages/Riak/Installation/Installing-on-Debian-and-Ubuntu.textile
Expand Up @@ -8,22 +8,22 @@ h3. 64-bit


```bash
$ wget http://downloads.basho.com/riak/riak-0.14/riak_0.14.2-1_amd64.deb
$ sudo dpkg -i riak_0.14.2-1_amd64.deb
$ wget http://downloads.basho.com/riak/riak-1.0.0/riak_1.0.0-1_amd64.deb
$ sudo dpkg -i riak_1.0.0-1_amd64.deb
```


h3. 32-bit


```bash
$ wget http://downloads.basho.com/riak/riak-0.14/riak_0.14.2-1_i386.deb
$ sudo dpkg -i riak_0.14.2-1_i386.deb
$ wget http://downloads.basho.com/riak/riak-1.0.0/riak_1.0.0-1_i386.deb
$ sudo dpkg -i riak_1.0.0-1_i386.deb
```

h2. From source

Riak requires [[Erlang|http://www.erlang.org/]] R13B04 or later. If you do not have Erlang already installed, see [[Installing Erlang]]. Don't worry, it's easy!
Riak requires [[Erlang|http://www.erlang.org/]] R14b02 or later. If you do not have Erlang already installed, see [[Installing Erlang]]. Don't worry, it's easy!

Let's install the dependencies that we can from apt:

Expand All @@ -37,9 +37,9 @@ If you have not installed Erlang, please [[do so|Installing Erlang]].
Now we can download and install Riak:

```bash
$ wget http://downloads.basho.com/riak/riak-0.14/riak-0.14.2.tar.gz
$ tar zxvf riak-0.14.2.tar.gz
$ cd riak-0.14.2
$ wget http://downloads.basho.com/riak/riak-1.0/riak-1.0.0.tar.gz
$ tar zxvf riak-1.0.0.tar.gz
$ cd riak-1.0.0
$ make rel
```

Expand Down
23 changes: 10 additions & 13 deletions pages/Riak/Installation/Installing-on-Mac-OS-X.textile
Expand Up @@ -14,23 +14,21 @@ To run Riak from our precompiled tarball, run these commands for the appropriate

h3. 64-bit

Only a 32bit binary is available at this time.


h3. 32-bit


```bash
$ curl -O http://downloads.basho.com/riak/riak-0.14/riak-0.14.0-osx-i386.tar.gz
$ tar xzvf riak-0.14.0-osx-i386.tar.gz
$ curl -O http://downloads.basho.com/riak/riak-1.0.0/riak-1.0.0-osx-x86_64.tar.gz
$ tar xzvf riak-1.0.0-osx-x86_64.tar.gz
```

After the release is untared you will be able to cd into the riak directory and execute bin/riak start to start the Riak node.

h3. 32-bit

Only a 64bit binary is available at this time.

h2. Homebrew

<div class="note">
Do *not* use Homebrew to install Riak until further notice as it will fail. Riak version 0.14.x does not work with versions R14B02 and later of Erlang. Homebrew is configured to use the latest Erlang, which is currently R14B03. You are advised to build from source until we can rectify this build issue.
Homebrew support for Riak is not always up to date with the latest Riak package. Please ensure that the current recipe is using the latest supported code (and don't be scared to update if it's not).
</div>

Installing with Homebrew is easy:
Expand All @@ -56,13 +54,12 @@ Next, download and unpack the source distribution.


```bash
$ curl -O http://downloads.basho.com/riak/riak-0.14/riak-0.14.2.tar.gz
$ tar zxvf riak-0.14.2.tar.gz
$ cd riak-0.14.2
$ curl -O http://downloads.basho.com/riak/riak-1.0/riak-1.0.0.tar.gz
$ tar zxvf riak-1.0.0.tar.gz
$ cd riak-1.0.0
$ make rel
```


If you get errors when building about "incompatible architecture", please verify that you built Erlang with the same architecture as your system (Snow Leopard - 64bit, everything else - 32bit).

Next Steps: [[Basic Cluster Setup|Basic Cluster Setup]] will show you how to go from one node to bigger than Google.
12 changes: 6 additions & 6 deletions pages/Riak/Installation/Installing-on-RHEL-and-CentOS.textile
Expand Up @@ -4,14 +4,14 @@ h2. From our custom .rpm package


```bash
$ wget http://downloads.basho.com/riak/riak-0.14/riak-0.14.2-1.el5.x86_64.rpm
$ sudo rpm -Uvh riak-0.14.2-1.el5.x86_64.rpm
$ wget http://downloads.basho.com/riak/riak-1.0.0/riak-1.0.0-1.el5.x86_64.rpm
$ sudo rpm -Uvh riak-1.0.0-1.el5.x86_64.rpm
```


h2. From source

Riak requires [[Erlang|http://www.erlang.org/]] R13B04 or later. If you do not have Erlang already installed, see [[Installing Erlang]]. Don't worry, it's easy!
Riak requires [[Erlang|http://www.erlang.org/]] R14B02 or later. If you do not have Erlang already installed, see [[Installing Erlang]]. Don't worry, it's easy!

Building from source will require the following packages:
* gcc
Expand All @@ -31,9 +31,9 @@ Now we can download and install Riak:


```bash
$ wget http://downloads.basho.com/riak/riak-0.14/riak-0.14.2.tar.gz
$ tar zxvf riak-0.14.2.tar.gz
$ cd riak-0.14.2
$ wget http://downloads.basho.com/riak/riak-0.14/riak-1.0.0.tar.gz
$ tar zxvf riak-1.0.0.tar.gz
$ cd riak-1.0.0
$ make rel
```

Expand Down
Expand Up @@ -41,15 +41,15 @@ We have platform specific instructions written up for downloading a compatible v

You can always find the latest release of Riak in our [downloads directory](http://downloads.basho.com/riak/CURRENT/).
The current version is 0.14.2, and you can download the [source code
here](http://downloads.basho.com/riak/riak-0.14/riak-0.14.2.tar.gz). Unpack the package once downloaded, and you're
here](http://downloads.basho.com/riak/riak-1.0.0/riak-1.0.0.tar.gz). Unpack the package once downloaded, and you're
ready for the next step.

### Build Riak

So now you have a copy of Riak. Time to build it. Do this by accessing the "riak" directory and running "make all"

```bash
$ cd riak-0.14.2
$ cd riak-1.0.0
$ make all
```

Expand All @@ -72,7 +72,7 @@ $ cd dev; ls
That should give you the following:

```bash
dev1 dev2 dev3
dev1 dev2 dev3 dev4
```

Each directory starting with "dev" is a complete package containing a Riak node. We now need to start each node. Let's start with "dev1"
Expand Down

0 comments on commit 4c0e21a

Please sign in to comment.