Solaris is no longer supported in Riak KV 2.2.1+. If you are interested in using Riak KV on Solaris, you can still build from source. The steps below have been left here for reference only and are no longer maintained.
The following steps have been tested to work with Riak version 1.3.1 on Solaris 10 i386. They demonstrate installation of a Riak node on Solaris as the root user.
Note: Before installing Riak on Solaris, be sure that you’ve installed
sudoas Riak’s scripts require it for proper operation.
Open Files Limit
Before proceeding with installation, you should ensure that the system’s open files limit is at least 65536 by verifying the current value of
nofiles(descriptors). Check the current value with the
To temporarily increase this limit for the life of your session, use the following command:
ulimit -n 65536
To increase this value in a persistent manner that will be enforced after restarting the system, add the following to the
Note that you must restart to have the above settings take effect.
Download and Install
Download your version of the Riak binary package for Solaris 10:
curl -o /tmp/BASHOriak-2.2.3-Solaris10-i386.pkg.gz https://files.tiot.jp/riak/kv/2.2/2.2.3/solaris/10/BASHOriak-2.2.3-Solaris10-x86_64.pkg.gz
Next, install the package:
After installing the package, be sure to include
/opt/riak/bin in the
PATH. After doing so, you can then start Riak:
Finally, go ahead and ping Riak to ensure it is running:
Pinging Riak will result in a
pong response if the node is up and reachable. If the node is not up and reachable, a
Node <nodename> not responding to pings error will result instead.
If all responses indicate that riak is up and running, then you have successfully installed Riak on Solaris 10.
Now that Riak is installed, check out Verifying a Riak Installation.