DataStax Enterprise 3.1 Documentation

Installing the DataStax Enterprise package on RHEL-based distributions

This documentation corresponds to an earlier product version. Make sure this document corresponds to your version.

Latest DSE documentation | Earlier DSE documentation

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

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

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

Prerequisites

  • Before you can install, you must register with DataStax to get a username and password.
  • The Yum Package Management application installed.
  • Root or sudo access on the install machine.
  • Install the latest version of Oracle Java SE Runtime Environment (JRE) 6 or 7.
  • Java Native Access (JNA) is required for production installations. See Installing the JNA on RHEL or CentOS Systems.
  • If you are installing DataStax Enterprise on a 64-bit Oracle Linux, first install 32-bit versions of glibc libraries.

Also see Recommended production settings.

Installation steps

DataStax provides Yum repositories for CentOS, Oracle Linux, and RHEL systems.

From a terminal window:

  1. Check which version of Java is installed:

    # java -version
    

    Use the latest version of Oracle Java 6 or 7 on all nodes. If you need help installing Java, see Installing Oracle JRE on RHEL-based 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 OpsCenter. 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:

    # /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
    
  5. Install DataStax Enterprise and OpsCenter using Yum:

    # yum install dse-full-<version>-1
    

    For example:

    yum install dse-full-3.1.4-1
    

    Note

    dse-full installs only DataStax Enterprise. dse-full opscenter installs both DataStax Enterprise and 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