DataStax Enterprise 4.5

Installing DataStax Enterprise using Yum repositories

Install DataStax Enterprise and OpsCenter using Yum repositories on RHEL-based systems.

Note: To install on SUSE, use the GUI installer or the binary tarball installation.

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

Prerequisites

  • Yum Package Management application.
  • Root or sudo access to the install machine.
  • Latest version of Oracle Java SE Runtime Environment 7, not OpenJDK. See Installing the Oracle JRE.
  • RedHat-compatible distributions require EPEL (Extra Packages for Enterprise Linux). See Installing EPEL.
  • If installing on a 64-bit Oracle Linux distribution, first install the 32-bit versions of glibc libraries.

Also see Recommended production settings and the DataStax Enterprise Reference Architecture white paper.

Note: JNA (Java Native Access) is automatically installed.

The packaged releases create a cassandra user. When starting DataStax Enterprise as a service, the Cassandra and Hadoop tracker services run as this user. The service initialization script is located in /etc/init.d/dse. Run levels are not set by the package.

Procedure

These steps install DataStax Enterprise. After installing, you must configure and start DataStax Enterprise.

In a terminal window:

  1. Check which version of Java is installed:
    $ java -version

    If not Oracle Java 7, see Installing the Oracle JRE.

    Important: Package management tools do not install Oracle Java.
  2. Make sure that the EPEL is installed. See Installing EPEL.
  3. Add the DataStax Yum repository to a file called /etc/yum.repos.d/datastax.repo
    [datastax] 
    name = DataStax Repo for DataStax Enterprise
    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.
  4. Install either package:
    • $ sudo yum install dse-full (Installs only DataStax Enterprise and the DataStax Agent.)
    • $ sudo yum install dse-full opscenter (Installs DataStax Enterprise, DataStax Agent, and OpsCenter [Optional].)

    For production installations, DataStax recommends installing the OpsCenter separate from the cluster. See the OpsCenter documentation.

    Removing the datastax-agent package also removes the DataStax Enterprise package.

Results

DataStax Enterprise is ready for configuration.

What's next

Show/hide