This documentation corresponds to an earlier product version. Make sure this document corresponds to your version.

Latest OpsCenter documentation | Earlier OpsCenter documentation

Installing OpsCenter on Debian or Ubuntu

Install the DataStax OpsCenter using APT repositories on Debian or Ubuntu distributions.

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


Note: Use the exact version listed in Prerequisites. For example, the default OpenSSL on Ubuntu. If running openssl version shows that 1.0.0 is installed, you must install OpenSSL 0.9.8:

To check for the software versions:

$ java -version
$ python -V
$ openssl version
Note: There are different package repositories for the Community and Enterprise versions of OpsCenter.

The OpsCenter Debian and Ubuntu packaged releases runs as a service from root. The service initialization script is located in /etc/init.d. If the machine reboots, OpsCenter restarts automatically.


  1. Ensure that a DSE or Cassandra cluster is installed, configured, and running. You can determine this by using the nodetool status command.
  2. Open the aptitude repository source list file (/etc/apt/sources.list) for editing. For example:
    # vi/etc/apt/sources.list
  3. In this file, add the repository for the edition you want to install. OpsCenter Enterprise Edition installations require the DataStax <username> and <password> you received in your registration confirmation email.
    • OpsCenter Community (free) Edition:
      deb stable main
    • OpsCenter Enterprise (paid) Edition:
      deb http://<username>:<password> stable main
  4. Add the DataStax repository key to your aptitude trusted keys:
    # curl -L | apt-key add -
  5. Install the OpsCenter package using the APT Package Manager:
    • OpsCenter Community (free) Edition:
      # apt-get update # apt-get install opscenter-free
    • OpsCenter Enterprise (paid) Edition:
      # apt-get update # apt-get install opscenter
  6. Set the [webserver] interface to the hostname or IP address of the OpsCenter machine in the /etc/opscenter/opscenterd.conf file. For example:
    [webserver ] port = 8888
     interface =
  7. Start OpsCenter:
    sudo service opscenterd start
  8. Connect to OpsCenter as described in Automatically deploying agents - Packaged installations.
    Note: You can also manually deploy agents. This is useful if an SSH connection does not exist between the agents and the OpsCenter machine, or as part of your node deployment process.