Installing DataStax Community on Debian-based systems
Install using APT repositories on Debian and Ubuntu.
DataStax no longer provides the DataStax Community version of Apache Cassandra™ or the DataStax Distribution of Apache Cassandra. See DataStax support for Apache Cassandra. |
To download and install the latest version of open-source Cassandra, see https://cassandra.apache.org/. |
Use these steps to install Cassandra using APT repositories on Debian and Ubuntu Linux.
For a complete list of supported platforms, see Apache Cassandra.
Prerequisites
- Advanced Package Tool is installed.
- Root or sudo access to the install machine.
- Install the latest version of Oracle Java SE Runtime Environment (JRE) 6 or 7. See Installing Oracle JRE on Debian or Ubuntu Systems.
- Python 2.6+ (needed if installing OpsCenter).
- Java Native Access (JNA) is required for production installations. Installing the JNA on Debian or Ubuntu Systems.
Note: If you are using Ubuntu 10.04 LTS, you must update to JNA
3.4, as described in Installing the JNA using the binary tarball.
The packaged releases create a cassandra
user. When starting Cassandra as a service, the service runs as this user.
Procedure
In a terminal window: