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:
The Aptitude Package Manager is installed.
Root or sudo access to the install machine.
Oracle Java SE Runtime Environment (JRE) 6. Java 7 is not recommended.
Java Native Access (JNA) is required for production installations. See Installing JNA.
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.
Your DataStax username and password (provided in your DataStax registration confirmation email). If you do not have a DataStax username and password, register before attempting to download the software.
DataStax provides Debian package repositories for Debian and Ubuntu systems.
To install DataStax Enterprise and OpsCenter:
Check which version of Java is installed by running the following command in a terminal window:
# java -version
DataStax recommends using the most recently released version of Oracle Java SE Runtime Environment (JRE) 6 on all DSE nodes. Versions earlier than 1.6.0_19 should not be used. 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.