Installing DataStax Enterprise 5.1 on Debian-based systems using APT
Instructions for installing DataStax Enterprise 5.1 using APT repositories on Debian-based systems. Root permissions are required.
Use these instructions for installing DataStax Enterprise (DSE) 5.1.17 on Debian-based systems using APT.
Some things to know about installing DSE
- The latest version of DataStax Enterprise 5.1 is 5.1.17.
- When installed with APT, DataStax Enterprise runs as a service. The service initialization script is located in /etc/init.d/dse. Run levels are not set by the package.
- This procedure installs DataStax Enterprise 5.1 and
the DataStax Agent.It does not install OpsCenter, Studio, or Graph Loader.Note: The DataStax Installer has options to install developer related tools: Javadoc, DataStax Enterprise demos, DataStax Studio, and the DSE Graph Loader.
- If using OpCenter 6.0, override the default DataStax Agent. See compatibility of OpsCenter with DSE.
After
installation:
sudo apt-get install datastax-agent-6.0.supported_version-1
Note: You can also install the agent during installation by addingdatastax-agent-6.0.supported_version-1
to the installation command in 5. - After installing, you must configure and start DataStax Enterprise.
cassandra
user in the database and runs as this user. It also
creates a cassandra
user in the operating system. Do not use the
cassandra
user in production. Using the
cassandra
user is a security risk. See Adding a superuser login.Prerequisites
- Root or sudo access.
- A supported platform.
- Aptitude Package Management (APT) application.
- Latest build of a Technology Compatibility Kit (TCK) Certified OpenJDK
version 8 or Oracle Java SE Runtime Environment 8 (JRE or JDK). Earlier or later
versions are not supported.Attention: Although Oracle JRE/JDK 8 is supported, DataStax does more extensive testing on OpenJDK 8. This change is due to the end of public updates for Oracle JRE/JDK 8. Java 9 is not supported.
- Python 2.7.x
Hardware requirements
Procedure
In a terminal window:
What's next
- You must change or delete the
cassandra
user created on installation. See Adding a superuser login. - If performing an upgrade, go to the next step in the Upgrade Guide.
- Configuring DataStax Enterprise - Settings for DSE Advanced Security, In-Memory, DSE Advanced Replication, DSE Multi-Instance, DSE Tiered Storage, and more.
- Configuration and log file locations - Services and package installations.
- Configuration and log file locations - No Services and tarball installations.
- Changing logging locations after installation.
- Starting and stopping DataStax Enterprise.
- Preparing DataStax Enterprise for production.
- Recommended production settings.
- Planning and testing DSE cluster deployments.
- Configuring the heap dump directory to avoid server crashes.
- DataStax Studio documentation.