Installing OpsCenter from the Debian package

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

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

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

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 OpsCenter machine reboots, OpsCenter restarts automatically. To disable restart upon reboot:
$ sudo update-rc.d opscenterd disable

Prerequisites

Minimum hardware requirements for the machine on which OpsCenter runs:
  • 2 CPU cores
  • 2 GB of RAM available to OpsCenter

Permission and software requirements:

  • APT Package Manager is installed.
  • JRE or JDK (recommended) is only required if HTTPS or opscenterd/agent SSL is enabled (off by default). See installing the Oracle JDK or OpenJDK.
  • DataStax recommends using a recent version of one of the major web browsers. OpsCenter does not support Internet Explorer or Microsoft Edge.
  • Python 2.6+.

Procedure

In a terminal window:

  1. Modify the aptitude repository source list file (/etc/apt/sources.list.d/datastax.community.list).
    $ echo "deb http://debian.datastax.com/community stable main" | sudo tee -a /etc/apt/sources.list.d/datastax.community.list
  2. 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.
  3. Install the OpsCenter package using the APT Package Manager:
    $ sudo apt-get update
    $ sudo apt-get install opscenter

For most users, the out-of-box configuration should work just fine. If necessary, you can configure OpsCenter for your environment.

  1. Start OpsCenter:
    $ sudo service opscenterd start
  2. Connect to OpsCenter in a web browser using the following URL:
    http://opscenter-host:8888/

What's next

Add an existing cluster or provision a new cluster.