DataStax Enterprise 4.5

Installing DataStax Enterprise using APT repositories

Install DataStax Enterprise and OpsCenter using APT repositories on Debian-based systems.

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

Prerequisites

  • Aptitude Package Management (APT) application installed.
  • Root or sudo access to the install machine.
  • Latest version of Oracle Java SE Runtime Environment 7, not OpenJDK. See Installing the Oracle JRE.
  • Python 2.6+ (needed if installing OpsCenter).
  • Java Native Access (JNA) is required for production installations. See Installing the JNA.
  • 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.

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

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.

Procedure

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

    If not Oracle Java, see Installing Oracle Java 7.

    Important: Package management tools do not install Oracle Java.
  2. Add a DataStax repository file called /etc/apt/sources.list.d/datastax.sources.list:
    $ echo "deb http://username:password@debian.datastax.com/enterprise 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 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:
    1. $ sudo apt-get update
    2. Install either package:
      • $ sudo apt-get install dse-full (Installs only DataStax Enterprise and the DataStax Agent.)
      • $ sudo apt-get install dse-full opscenter (Installs DataStax Enterprise, DataStax Agent, and OpsCenter [Optional].)

    For production installations, DataStax recommends installing the OpsCenter separate from the cluster. See the OpsCenter documentation.

    Removing the datastax-agent package also removes the DataStax Enterprise package.

Results

DataStax Enterprise is ready for configuration.

What's next

Show/hide