Installing DataStax Enterprise 6.9 on a single node

Use these instructions to install a single instance of DataStax Enterprise (DSE) on Linux-based platforms using a binary tarball. This single node can introduce you to DSE, which includes DSE Security, DataStax Graph, DSE Analytics, and DSE Search.

This installation is intended only for demonstration purposes. For other installations, see Which install method should I use?

Some things to know about installing DataStax Enterprise:

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

  • When installed from the binary tarball, DataStax Enterprise runs as a stand-alone process.

  • When DSE is installed, it creates a cassandra user in the database and runs as this user. Do not use the cassandra user in production. Using the cassandra user is a security risk. See Adding a superuser login.


Java 11. If you don’t have a recent version of Java 11, download and install OpenJDK 11.0.x or Oracle JRE SE 11.

Install DataStax Enterprise (DSE) 6.9 on a single node

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

    If OpenJDK, the results should look like:

    openjdk version "11.0.x" YYYY-MM-DD
    OpenJDK Runtime Environment 18.9 (build 11.0.x+xx)
    OpenJDK 64-Bit Server VM 18.9 (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)

Package management tools do not install Oracle Java.

  1. Install the libaio package. For example:

    • RHEL platforms:

      sudo yum install libaio
    • Debian platforms:

      sudo apt-get install libaio1
  2. Use curl to download and install DSE:

    Your password is retained in the shell history. To avoid this security issue, DataStax recommends using curl with the --netrc or --netrc-file option.

    curl -L | tar xz

    The files are downloaded and extracted into the 6.9 directory.

  3. Create the default data and logging directories:

    • /var/lib/cassandra

    • /var/log/cassandra

      sudo mkdir -p /var/lib/cassandra; sudo chown -R $USER:$GROUP /var/lib/cassandra
      sudo mkdir -p /var/log/cassandra; sudo chown -R $USER:$GROUP /var/log/cassandra
  4. Start DataStax Enterprise from the installation directory:

    bin/dse cassandra
  5. Verify that DataStax Enterprise is running from the installation directory:

    bin/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

    Results not using vnodes:

    Datacenter: Analytics
    |/ State=Normal/Leaving/Joining/Moving
    --  Address         Load       Owns    Host ID                               Token                 Rack
    UN  103.24 KB  ?       3c1d0657-0990-4f78-a3c0-3e0c37fc3a06  1647352612226902707   rack1
  6. Start cqlsh from the installation directory:


    For more, see Accessing data using CQL.

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,