Installing on RHEL-based systems

To install Cassendra on RHEL-based systems, perform the following steps:

  1. Add the Apache Cassandra 3.0 repository to /etc/yum.repos.d/datastax.repo:
        [datastax]        name = DataStax Repo for Apache Cassandra        baseurl = http://rpm.datastax.com/community        enabled = 1        gpgcheck = 0
  1. Install the latest packages:
        $ sudo yum install dsc30 
  1. Start Cassandra:
        $ sudo service cassandra start

On some Linux distributions, you many need to use the following:

$ sudo /etc/init.d/cassandra start

Get Learning Apache Cassandra - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.