Install DataStax Enterprise 6.9 on a single node
Use these instructions to install a single instance of DataStax Enterprise (DSE) on Linux-based platforms using a binary tarball. This single node can introduce you to DSE, which includes DSE Security, DataStax Graph, DSE Analytics, and DSE Search.
This installation is intended only for demonstration purposes. For other installations, see Choose an installation method.
Some things to know about installing DataStax Enterprise
-
These instructions apply to all versions of DSE 6.9. For specific changes, see the DSE 6.9 release notes.
-
When installed from the binary tarball, DSE runs as a stand-alone process.
-
When DSE is installed, it creates a
cassandrauser in the database and runs as this user. Do not use thecassandrauser in production. Using thecassandrauser is a security risk. See Adding a superuser login.
Prerequisites
-
Java 11 is required.
If you don’t have a recent version of Java 11, download and install OpenJDK 11.0.x or Oracle JRE SE 11.
Install DSE 6.9 on a single node
-
Verify that a required version of Java is installed:
java -versionIf OpenJDK, the results should look like:
openjdk version "11.0.x" YYYY-MM-DD OpenJDK Runtime Environment 18.9 (build 11.0.x+xx) OpenJDK 64-Bit Server VM 18.9 (build 11.0.x+xx, mixed mode)If Oracle Java, the results should look like:
java version "11.0.x" YYYY-MM-DD LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.x+xx-LTS) Java HotSpot(TM) 64-Bit Server VM (build 11.0.x+xx-LTS, mixed mode)Package management tools do not install Oracle Java.
-
Install the libaio package. For example:
-
RHEL platforms:
sudo yum install libaio -
Debian platforms:
sudo apt-get install libaio1 -
Ubuntu 24.04 and later platforms:
sudo apt-get install libaio1t64
-
-
Find DSE 6.9 on IBM Fix Central:
-
Go to Fix Central.
-
In the Product selector field, begin typing
IBM DataStax Enterprise, and then select that option from the menu. -
In the Release field, select the version that you want to install.
-
Click Continue.
-
On the Identify fixes page, click Continue to use the default Browse for fixes option.
-
On the Select fixes page, select the fix pack (DSE version) you want to install, and then click Continue.
Depending on the product and version, more fix packs might be available if you set the Platform filter to All, and then click Submit.
-
If prompted, sign in with your IBMid.
An IBMid account with MFA enabled is required. If you don’t have one, create an IBMid account. If your organization uses Enterprise Federation (EF) for authentication with corporate credentials, see the IBMid EF documentation.
-
On the Download options page, select Download using your browser (HTTPS), and then click Continue.
-
Review the terms and conditions, and then click I agree to activate the download links.
-
-
Click the DSE tarball link to download the tarball file, for example,
dse-VERSION-bin.tar.gz. -
Extract the tarball file into the directory where you want to install DSE 6.9.
sudo tar -xzvf dse-VERSION-bin.tar.gz -C INSTALLATION_DIRECTORYReplace the following: *
VERSION: The version of DSE you installed *INSTALLATION_DIRECTORY: The path to the installation directory -
Change to the DSE 6.9 directory:
cd INSTALLATION_DIRECTORY/dse-VERSIONReplace the following: *
INSTALLATION_DIRECTORY: The path to the installation directory *VERSION: The version of DSE you installed -
Create the default data and logging directories:
-
/var/lib/cassandra -
/var/log/cassandrasudo mkdir -p /var/lib/cassandra; sudo chown -R $USER:$GROUP /var/lib/cassandrasudo mkdir -p /var/log/cassandra; sudo chown -R $USER:$GROUP /var/log/cassandra
-
-
Start DSE from the installation directory:
bin/dse cassandra -
Verify that DSE is running from the installation directory:
bin/nodetool statusResultDatacenter: Cassandra ===================== Status=Up/Down |/ State=Normal/Leaving/Joining/Moving -- Address Load Tokens Owns Host ID Rack UN 127.0.0.1 82.43 KB 128 ? 40725dc8-7843-43ae-9c98-7c532b1f517e rack1Result not using vnodesDatacenter: Analytics ===================== Status=Up/Down |/ State=Normal/Leaving/Joining/Moving -- Address Load Owns Host ID Token Rack UN 172.16.222.136 103.24 KB ? 3c1d0657-0990-4f78-a3c0-3e0c37fc3a06 1647352612226902707 rack1 -
Start
cqlshfrom the installation directory:bin/cqlshFor more, see Accessing data using CQL.