Installing DataStax Enterprise 6.9 on RHEL-based systems using Yum

To install on SUSE, use the binary tarball installation.

Some things to know about installing DataStax Enterprise:

  • These instructions apply to all versions of DataStax Enterprise 6.9. For specific changes see the DSE 6.9 release notes .

  • When installed from a package (Yum or APT), DataStax Enterprise runs as a service. The service initialization script is located in /etc/init.d/dse. Run levels are not set by the package.

  • This procedure installs DSE 6.9 and the DataStax Agent. It does not install OpsCenter, DataStax Studio, or DataStax Bulk Loader.

  • When connecting to DSE 6.8 from OpsCenter, use version OpsCenter 6.8; earlier versions are not supported. See DataStax OpsCenter compatibility with DSE.

When DSE is installed, it creates a cassandra user in the database. Do not use the cassandra user in production. Failing to do so is a security risk. See Adding a Superuser Login


Use OpsCenter Lifecycle Manager to automatically manage Java and JCE installs for DSE clusters. For more information about choosing a Java vendor, see Choosing a Java vendor in Lifecycle Manager.

Install DataStax Enterprise (DSE) 6.9 on RHEL-based systems using Yum

End User License Agreement (EULA). By downloading this DataStax product, you agree to the terms of the EULA.

In a terminal window:

  1. Verify that a required version of Java is installed:

    java -version

    DataStax recommends the latest build of a Technology Compatibility Kit (TCK) Certified OpenJDK version 11.

    If OpenJDK, the results should look like:

    openjdk version “11.0.x” YYYY-MM-DD
    OpenJDK Runtime Environment (build 11.0.x+xx)
    OpenJDK 64-Bit Server VM (build 11.0.x+xx, mixed mode)

    If Oracle Java, the results should look like:

    java version "11.0.x" YYYY-MM-DD LTS
    Java(TM) SE Runtime Environment 18.9 (build 11.0.x+xx-LTS)
    Java HotSpot(TM) 64-Bit Server VM (build 11.0.x+xx-LTS, mixed mode)
  2. Install the libaio package. For example:

    sudo yum install libaio
  3. Add the DataStax Yum repository to a file called /etc/yum.repos.d/datastax.repo:

    Set the gpgcheck=1 to perform a GPG signature check.

    name=DataStax Repo for DataStax Enterprise
  4. If you have enabled signature verification (gpgcheck=1), import the DataStax Enterprise repository key:

    sudo rpm --import
  5. Install the DataStax Enterprise packages:

    Specify all packages; otherwise, the installation fails.

    1. Install the latest version (6.9.x):

      sudo yum install dse-full
    2. Install an earlier 6.9.x version:

      To view the available versions, see the Release notes.

      Specify all packages; otherwise, the installation fails.

      sudo yum install dse-6.9.version_number-1 \
          dse-full-6.9.version_number-1 \
          dse-libgraph-6.9.version_number-1 \
          dse-libcassandra-6.9.version_number-1 \
          dse-libhadoop2-client-6.9.version_number-1 \
          dse-libsolr-6.9.version_number-1 \
          dse-libtomcat-6.9.version_number-1 \
          dse-liblog4j-6.9.version_number-1 \

      For example:

      sudo yum install dse-6.9.0-1 \
          dse-full-6.9.0-1 \
          dse-libgraph-6.9.0-1 \
          dse-libcassandra-6.9.0-1 \
          dse-libhadoop2-client-6.9.0-1 \
          dse-libsolr-6.9.0-1 \
          dse-libtomcat-6.9.0-1 \
          dse-liblog4j-6.9.0-1 \
    3. Optional: Install the demos:

      Installing the DSE demos is not recommended for production. Only install the demos in development environments to run tutorials.

      sudo yum install dse-demos-version_number-1


      DataStax Enterprise is ready for additional configuration:

      • For production, be sure to change the cassandra user. Failing to do so is a security risk. See Adding a superuser login.

      • DataStax Enterprise provides several types of workloads (default is transactional). See startup options for service or stand-alone installations.

      • Next Steps below provides links to related tasks and information.

  6. Optional: Configure systemd units: RedHat systemd configuration.

  7. Optional: Single-node cluster installations only:

    1. Start DataStax Enterprise:

      sudo service dse start
    2. Verify that DataStax Enterprise is running:

      nodetool status
      Datacenter: Cassandra
      |/ State=Normal/Leaving/Joining/Moving
      --  Address    Load       Tokens  Owns    Host ID                               Rack
      UN  82.43 KB   128     ?       40725dc8-7843-43ae-9c98-7c532b1f517e  rack1

Next Steps

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000,