DataStax provides a packaged release for installing DataStax Enterprise and OpsCenter on Debian and Ubuntu systems. For a complete list of supported platforms, see DataStax Enterprise Supported Platforms.
Before installing DataStax Enterprise make sure you have met the following prerequisites:
If you are using Ubuntu 10.04 LTS, you need to update to JNA 3.4, as described in Install JNA on Ubuntu 10.04.
DataStax provides Debian package repositories for Debian and Ubuntu systems.
sudo java -version (Use the latest version of Java 6.) Edit /etc/apt/sources.list.d/datastax.sources.list Add deb http://<username>:<password>@debian.datastax.com/enterprise stable main curl -L http://debian.datastax.com/debian/repo_key | sudo apt-key add - sudo apt-get update sudo apt-get install dse-full opscenter
Detailed installation instructions:
Check which version of Java is installed by running the following command in a terminal window:
# java -version
Use the latest version of Java 6 on all nodes. Java 7 is not recommended. If you need help installing Java, see Installing the JRE on Debian or Ubuntu Systems.
Add the DataStax repository to the /etc/apt/sources.list.d/datastax.sources.list file. For example:
deb http://<username>:<password>@debian.datastax.com/enterprise stable main
where <username> and <password> are the DataStax account credentials from your registration confirmation email.
Add the DataStax repository key to your Aptitude trusted keys:
$ curl -L http://debian.datastax.com/debian/repo_key | sudo apt-key add -
Install the DataStax Enterprise packages and OpsCenter:
$ sudo apt-get update $ sudo apt-get install dse-full opscenter
The packaged releases create a user cassandra. When starting DataStax Enterprise as a service, the Cassandra and Hadoop tracker services run as this user. A service initialization script is located in /etc/init.d/dse. Run levels are not set by the package.