Install the DataStax OpsCenter using APT repositories on Debian or Ubuntu
distributions.
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
-
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
-
Add the DataStax repository key to your aptitude trusted keys:
$ curl -L http://debian.datastax.com/debian/repo_key | apt-key add -
-
Install the OpsCenter package using the APT Package Manager:
$ apt-get update
$ apt-get install opscenter
-
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.
-
Start OpsCenter:
$ sudo service opscenterd start
-
Connect to OpsCenter in a web browser using the following URL:
-
Next you can add an
existing cluster or provision a new one.