Installing DataStax Enterprise using Yum repositories
Install DataStax Enterprise and OpsCenter using Yum repositories on RHEL-based systems.
For a complete list of supported platforms, see DataStax Enterprise Supported Platforms.
- DataStax Academy registration email address and password.
- Yum Package Management application installed.
- Root or sudo access to the install machine.
- Latest version of Oracle Java SE Runtime Environment 7. See Installing Oracle JDK.
- Python 2.6+ (needed if installing OpsCenter).
- Java Native Access (JNA) is required for production installations. See Installing the JNA.
- If installing on a 64-bit Oracle Linux distribution, first install the 32-bit versions of glibc libraries.
- If installing OpsCenter on a RHEL 5.x/CentOS 5.x machine, make sure that the EPEL (Extra Packages for Enterprise Linux) are installed. See Installing EPEL on CentOS 5.x or RHEL 5.x.
- Some RedHat-compatible distributions do not contain the Linux Standard Base Core module (redhat-lsb-core) by default. If your distribution does not have this package, you must install it.
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.
These steps install DataStax Enterprise. After installing, you must configure and start DataStax Enterprise.
In a terminal window:
Check which version of Java is installed:
$ java -versionUse the latest version of Oracle Java 7 on all nodes.
Add the DataStax Yum repository to a file called
[datastax] name = DataStax Repo for DataStax Enterprise baseurl=https://dsa_email_address:email@example.com/enterprise enabled=1 gpgcheck=0where dsa_email_address and password are the credentials you created on the registration page.Attention: Depending on your environment, you might need to replace @ in your email address with %40 and escape any character in your password that is used in your operating system's command line. Examples: \! and \|.
Install DataStax Enterprise:
$ sudo yum -y install dse-full-version-1Note:
dse-full installs DataStax Enterprise and the DataStax Agent.
dse-full opscenter installs DataStax Enterprise, DataStax Agent, and OpsCenter (Optional)
$ sudo yum -y install dse-full-4.0.3-1
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.
DataStax Enterprise is ready for configuration.
- Set the configuration properties on each node in the cluster for single or multiple data center deployment.
- Configure the heap dump directory to avoid server crashes.
- Start DataStax Enterprise.
- Configuration file locations.
- During normal use, Yum creates a cache of metadata and packages. To clean all
cached files from any enabled repository run:
$ yum clean all