DataStax Enterprise 3.0 Documentation

Installing the DataStax Enterprise package on Debian and Ubuntu

DataStax provides a packaged release for installing DataStax Enterprise and OpsCenter on Debian and Ubuntu systems. For a complete list of supported platforms, see DataStax Enterprise Supported Platforms.

Prerequisites

  • Before you can install, you must register with DataStax to get a username and password.
  • The Aptitude Package Manager is installed.
  • Root or sudo access to the install machine.
  • The latest version of Oracle Java SE Runtime Environment (JRE) 6 is installed. Java 7 is not recommended.
  • Java Native Access (JNA) is required for production installations. See Installing JNA.

Note

If you are using Ubuntu 10.04 LTS, you need to update to JNA 3.4, as described in Install JNA on Ubuntu 10.04.

  • Your DataStax username and password (provided in your DataStax registration confirmation email). If you do not have a DataStax username and password, register before attempting to download the software.

Also see Recommended Settings for Production Installations.

DataStax Enterprise and OpsCenter installation steps

DataStax provides Debian package repositories for Debian and Ubuntu systems.

Fast Path

sudo java -version (Use the latest version of Java 6.)
Edit /etc/apt/sources.list.d/datastax.sources.list
Add deb http://<username>:<password>@debian.datastax.com/enterprise
    stable main
curl -L https://debian.datastax.com/debian/repo_key | sudo apt-key add -
sudo apt-get update
sudo apt-get install dse-full opscenter

Detailed installation instructions:

  1. Check which version of Java is installed by running the following command in a terminal window:

    # java -version
    

    Use the latest version of Java 6 on all nodes. Java 7 is not recommended. If you need help installing Java, see Installing the JRE on Debian or Ubuntu Systems.

  2. Add the DataStax repository to the /etc/apt/sources.list.d/datastax.sources.list file. For example:

    deb http://<username>:<password>@debian.datastax.com/enterprise stable main
    
  3. Add the DataStax repository key to your Aptitude trusted keys:

    $ curl -L https://debian.datastax.com/debian/repo_key | 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 only.
    $ sudo apt-get install dse-full opscenter ## Installs both DataStax Enterprise and OpsCenter.
    

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

Next steps