Product tutorials, how-tos, and fully-documented APIs.

Installing on RHEL and CentOS

    When installing Riak on CentOS or Red Hat you can install from source or from our custom .rpm package.

    Notes

    Installing From Our Custom .rpm Package

    For Centos 5 / RHEL 5

    You can either install using yum (recommended),

    sudo yum install http://yum.basho.com/gpg/basho-release-5-1.noarch.rpm
    sudo yum install riak
    

    …or install the rpm package manually.

    For Centos 6 / RHEL 6

    You can either install using yum (recommended),

    sudo yum install http://yum.basho.com/gpg/basho-release-6-1.noarch.rpm
    sudo yum install riak
    

    …or install the rpm package manually.

    Installing From Source

    Riak requires Erlang R15B01. Note: don't use Erlang version R15B02 or R15B03, for the moment, as it causes an error with riak-admin status commands.

    If you do not have Erlang already installed, see our guide to Installing Erlang. Don’t worry, it’s easy!

    Building from source will require the following packages:

    You can install these with yum:

    sudo yum install gcc gcc-c++ glibc-devel make git
    

    Now we can download and install Riak:

    You will now have a fresh build of Riak in the rel/riak directory.

    Next Steps?

    From here you might want to check out: