Installing on Debian and Ubuntu
Riak TS can be installed on Debian or Ubuntu-based systems using a binary package available here.
Debian is only supported for developing with Riak TS and NOT for general operations.
Dependencies
ulimit
Debian and Ubuntu give you a very small limit on open file handles. Even with a backend that uses very few file handles, it’s possible to run out. See Open Files Limit for more information about changing the limit.
PAM Library Requirement for Ubuntu
You must have the libpam0g-dev
package used for Pluggable Authentication Module (PAM) authentication in order to install Riak TS.
To install this dependency:
sudo apt-get install libpam0g-dev
Install Riak TS
Once you have downloaded the package, execute the following command to install Riak TS:
sudo dpkg -i riak-ts_1.5.1-1_amd64.deb
Verify your installation
You can verify that Riak TS is successfully installed by running:
dpkg -l | grep riak
If Riak TS has been installed successfully riak-ts
is returned.
Start your Riak TS node
Once you’ve installed Riak TS, start it on your node:
riak start
Verify Riak TS is running
You can verify that Riak TS is started and ready to use by pinging it.
riak ping
If Riak TS has started, you will receive a pong
response. If it has not started, you will receive an error.
Next Steps
Now that you’ve installed Riak TS, check out Planning Your Riak TS Table.