DataStax Enterprise 4.5

Installing DataStax Enterprise using the binary tarball

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

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


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

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

    If not Oracle Java, see Installing Oracle Java 7.

    Important: Package management tools do not install Oracle Java.
  2. Download and extract 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.

    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.

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

  3. If you do not have root access to the default directories locations (/var/lib/cassandra and /var/log/cassandra), you can define your own directory locations as described in the next step or change the ownership of the directories:
    $ 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


DataStax Enterprise is ready for configuration.

What's next