Installing the OpsCenter deb package

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

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

Prerequisites

  • APT Package Manager is installed.
  • Python 2.6+

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.

Procedure

  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 http://debian.datastax.com/debian/repo_key | apt-key add -
  3. Install the OpsCenter package using the APT Package Manager:
    $ apt-get update
    $ apt-get install opscenter
  4. 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 = 10.183.170.161

For most users, the out-of-box configuration should work just fine, but if you need to you can configure OpsCenter differently.

  1. Start OpsCenter:
    $ sudo service opscenterd start
  2. Connect to OpsCenter in a web browser using the following URL:
    http://opscenter-host:8888/
  3. Next you can add an existing cluster or provision a new one.