DataStax Enterprise 3.2

Installing DataStax Enterprise on Debian-based systems

Install DataStax Enterprise and OpsCenter using APT repositories.

For a complete list of supported platforms, see DataStax Enterprise Supported Platforms.


  • Aptitude Package Management (APT) application installed.
  • Root or sudo access to the install machine.
  • Latest version of Oracle Java SE Runtime Environment (JRE) 6 or 7. See Installing the Oracle JRE.
  • Java Native Access (JNA) is required for production installations. See Installing the JNA.
Note: If you are using Ubuntu 10.04 LTS, you must update to JNA 3.4, as described in Installing the JNA on Debian or Ubuntu systems.

Also see Recommended production settings.

The packaged releases create a cassandra user. When starting DataStax Enterprise as a service, the Cassandra and Hadoop tracker services run as this user. The service initialization script is located in /etc/init.d/dse. Run levels are not set by the package.


These steps install DataStax Enterprise. After installing, you must configure and start DataStax Enterprise.

In a terminal window:

  1. Check which version of Java is installed:
    $ java -version
    Use the latest version of Oracle Java 6 or 7 on all nodes.
  2. Add a DataStax repository file called /etc/apt/sources.list.d/datastax.sources.list:
    $ echo "deb stable main" | sudo tee -a /etc/apt/sources.list.d/datastax.sources.list
    where username and password are the DataStax account credentials from your registration confirmation email.
  3. Add the DataStax repository key:
    $ curl -L | sudo apt-key add -
    Note: If you have trouble adding the key, use http instead of https.
  4. Install the packages:
    $ sudo apt-get update
    $ sudo apt-get install dse-full ## Installs DataStax Enterprise and DataStax Agent.
    $ sudo apt-get install dse-full opscenter  ## Installs both DataStax Enterprise, DataStax Agent, and OpsCenter.
    Note: Removing the datastax-agent package also removes the DataStax Enterprise package.
  5. Comment out the following option from the /etc/dse/cassandra/ file:
    JVM_OPTS="$JVM_OPTS -Denable-old-dse-state=true"


DataStax Enterprise is ready for configuration.

What's next