Installing DataStax Community on RHEL-based systems
Install using Yum repositories on RHEL, CentOS, and Oracle Linux.
For a complete list of supported platforms, see DataStax Community – Supported Platforms.
- Yum Package Management application installed.
- Root or sudo access to the install machine.
- Latest version of Oracle Java SE Runtime Environment (JRE) 7. See Installing Oracle JRE on RHEL-based Systems.
- Java Native Access (JNA) is required for production installations. See Installing the JNA on RHEL or CentOS Systems.
The packaged releases create a cassandra user. When starting Cassandra as a service, the service runs as this user.
In a terminal window:
Check which version of Java is installed by running the following
$ java -versionUse the latest version of Oracle Java 7 on all nodes.
Add the DataStax Community repository to the
[datastax] name = DataStax Repo for Apache Cassandra baseurl = http://rpm.datastax.com/community enabled = 1 gpgcheck = 0
Install the packages:
$ sudo yum install dsc20