Apache Cassandra 0.6 Documentation

Packaged Releases

This document corresponds to an earlier product version. Make sure you are using the version that corresponds to your version.

Latest Cassandra documentation | Earlier Cassandra documentation

Packaged releases of Cassandra are available for each stable release. Both rpm and dpkg packages are currently supported through the yum and apt package management tools.


A YUM RPM repository with packaged cassandra releases is available at http://rpm.riptano.com.

The following will add the Riptano repository to your repository list:

wget http://rpm.riptano.com/EL/6/x86_64/riptano-release-5-1.el6.noarch.rpm
rpm -i riptano-release-5-1.el6.noarch.rpm

You can then install Cassandra:

yum install cassandra

The cassandra package creates a cassandra user and places an init script in /etc/init.d/cassandra. Note: run levels are not set by the package.

The RPM will place configuration files for Storage Configuration, Authentication and Logging Options are in /etc/cassandra and the Environment Settings are in /usr/share/cassandra.

Debian Packages

Packages to install on Debian or Debian derivatives (such as Ubuntu) are made available by the Apache Software Foundation.

To add the Cassandra package directories to your list of sources, add the following lines to /etc/apt/sources.list:

deb http://www.apache.org/dist/cassandra/debian unstable main
deb-src http://www.apache.org/dist/cassandra/debian unstable main

Before you can use the reposity, you need to add the key to your list of keys:

wget http://www.apache.org/dist/cassandra/KEYS -O- | sudo apt-key add -

Then run:

sudo apt-get update

Once imported, you can install Cassandra as you would any other package:

sudo apt-get install cassandra

The configuration files for Storage Configuration, Authentication, and Logging Options can be found in /etc/cassandra. The Environment Settings are in /etc/default/cassandra.