DataStax Enterprise 3.2

Installing DataStax Enterprise on any Linux-based platform or Mac OS X

Use this install method for Mac OS X and platforms without package support, or if you do not have or want a root installation.


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 binary tarball runs as a stand-alone process.


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. Download the DataStax Enterprise and OpsCenter (optional) tarballs:
    $ curl -L | tar xz
    $ curl -L | tar xz
    where username and password are the DataStax account credentials from your registration confirmation email.

    The files are downloaded and extracted into the dse-3.2.x directory.

  3. When DataStax Enterprise is started, it installs files into the /var/lib/cassandra and /var/log/cassandra directories. If you do not have root access to the default directories, ensure that you have write access:
    $ 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. (Optional) If you do not want to use the default data and logging directories, you can define your own directory locations:
    1. Make the directories for data and logging directories:
      $ mkdir install_location/dse-data
      $ cd dse-data
      $ mkdir commitlog
      $ mkdir saved_caches
    2. Go the directory containing the cassandra.yaml file:
      $ cd install_location/resources/cassandra/conf
    3. Edit the following lines in the cassandra.yaml file:
      data_file_directories: install_location/dse-data
      commitlog_directory: install_location/dse-data/commitlog
      saved_caches_directory: install_location/dse-data/saved_caches
  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