Installing DataStax Community on RHEL-based systems
Install using Yum repositories on RHEL, CentOS, and Oracle Linux.
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 Yum repositories on RHEL, CentOS, and Oracle Linux.
Note: To install on SUSE, use the Cassandra binary tarball
distribution.
For a complete list of supported platforms, see Apache Cassandra.
Prerequisites
- Yum Package Management application installed.
- Root or sudo access to the install machine.
- Latest version of Oracle Java Platform, Standard Edition 8
(JDK) is recommended or OpenJDK 7. Note: The JDK is recommended for development and production systems. It provides tools that are not in the JRE, such as jstack, jmap, jps, and jstat, that are useful for troubleshooting.
- Python 2.6+ (needed if installing OpsCenter).
- Java Native Access (JNA) is required for production installations (latest version recommended). See Installing the JNA on RHEL-based systems.
The packaged releases create a cassandra
user. When starting Cassandra as a service, the service runs as this user.
Procedure
In a terminal window: