DataStax Enterprise 2.1 Documentation

Installing DataStax Enterprise on CentOS, RHEL, and OEL Systems

DataStax provides a packaged release for installing DataStax Enterprise and OpsCenter on the following systems:

  • CentOS systems
  • Oracle Enterprise Linux (OEL)
  • Red Hat Enterprise Linux (RHEL)

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

Prerequisites

Before installing DataStax Enterprise make sure you have met the following prerequisites:

  • The Yum Package Management application 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.
  • 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.
  • If you are installing DataStax Enterprise on a 64-bit OEL, first install 32-bit versions of glibc libraries.

DataStax Enterprise and OpsCenter Installation Steps

DataStax provides Yum repositories for CentOS, OEL, and RHEL systems.

To install DataStax Enterprise and OpsCenter:

  1. 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 RHEL or CentOS Systems.

  2. (CentOS 5.x/RHEL 5.x only) Make sure you have EPEL (Extra Packages for Enterprise Linux) installed. EPEL contains dependent packages required by DataStax Enterprise. To install for both 32- and 64-bit systems:

    # rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
    
  3. Add a yum repository file for DataStax in /etc/yum.repos.d. For example:

    # vi /etc/yum.repos.d/datastax.repo
    
  4. In this file add the following lines:

    [datastax]
    name= DataStax Repo for Apache Cassandra
    baseurl=http://<username>:<password>@rpm.datastax.com/enterprise
    enabled=1
    gpgcheck=0
    
where <username> and <password> are the DataStax account credentials from your registration confirmation email.
  1. Install DataStax Enterprise and OpsCenter using Yum:

    # yum 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.

Next Steps