Installation from RPM packages
-
For the <release series>`` specify the major version number, without dot, and with an appended x.
-
The latest <release series> is 41x.
-
For older releases, the <release series> can be one of 311x, 30x, or 22x.
-
(Not all versions of Apache Cassandra are available, since building RPMs is a recent addition to the project.)
-
For CentOS 7 and similar (rpm < 4.14), append the noboolean repository
-
Add the Apache repository of Cassandra to /etc/yum.repos.d/cassandra.repo, for example for the latest 4.0 version:
[cassandra]
name=Apache Cassandra
baseurl=https://redhat.cassandra.apache.org/41x/
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://downloads.apache.org/cassandra/KEYS
[cassandra]
name=Apache Cassandra
baseurl=https://redhat.cassandra.apache.org/41x/noboolean/
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://downloads.apache.org/cassandra/KEYS
sudo yum install cassandra
Start Cassandra (will not start automatically):
Systemd based distributions may require to run systemctl daemon-reload once to make Cassandra available as a systemd service. This should happen automatically by running the command above.
Make Cassandra start automatically after reboot:
Please note that official RPMs for Apache Cassandra only have been available recently and are not tested thoroughly on all platforms yet. We appreciate your feedback and support and ask you to post details on any issues in the corresponding Jira ticket.