• Glossary
  • Support
  • Downloads
  • DataStax Home
Get Live Help
Expand All
Collapse All

DataStax Enterprise Installation Guide

    • Installing DSE 6.8
      • Which install method should I use?
      • Install on a single node
      • Installing supporting software
      • Installing a cluster using Lifecycle Manager 6.8
      • Installing from the Yum package
      • RedHat systemd configuration
      • Installing from the Debian package
      • Install from the tarball on any Linux distribution
      • Installing patch releases
      • Installing on cloud providers
      • Installing on Docker
      • Uninstalling DSE
      • Default DSE file locations
        • Package installations
        • Tarball installations
    • Installing DSE 6.8 Tools
      • Installing CQLSH
      • Installing DataStax Studio 6.8
      • Installing DSE Graph Loader
      • Installing DataStax Bulk Loader
      • Installing DataStax Apache Kafka Connector
    • Installing DSE OpsCenter 6.8
      • Installing from the RPM package
      • Installing from the Debian package
      • Installing from the tarball on any Linux distribution
      • Installing on Docker
      • Uninstalling OpsCenter
      • Installing DataStax Agents 6.8
        • Installing DataStax Agents automatically
        • Installing DataStax Agents manually
          • From the RPM package
          • From the Debian package
          • From a tarball
        • Setting Agent permissions to run as the DSE user
        • Configuring JAVA_HOME
  • DataStax Enterprise Installation Guide
  • Installing DSE 6.8
  • Installing from the Debian package

Installing DataStax Enterprise 6.8 on Debian-based systems using APT

Use these instructions for installing DataStax Enterprise (DSE) 6.8 on Debian-based systems using APT.

Some things to know about installing DataStax Enterprise:

  • These instructions apply to all versions of DataStax Enterprise 6.8. For specific changes please see the DSE 6.8 release notes.

  • When installed from a package (Yum or 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 DSE 6.8 and the DataStax Agent. It does not install OpsCenter, DataStax Studio, or DataStax Bulk Loader.

  • When connecting to DSE 6.8 from OpsCenter, use version OpsCenter 6.8; earlier versions are not supported. See DataStax OpsCenter compatibility with DSE.

When DSE is installed, it creates a cassandra user in the database. Do not use the cassandra user in production. Failing to do so is a security risk. See Adding a superuser login.

Prerequisites

  • Root or sudo access.

  • A supported platform.

  • Aptitude Package Management (APT) application.

  • Configure your operating system to use the latest version of Java 8:

    • Recommended. The latest build of a TCK (Technology Compatibility Kit) Certified OpenJDK version 8. For example, OpenJDK 8 (1.8.0_242 minimum). DataStax’s recommendation changed due to the end of public updates for Oracle JRE/JDK 8. See Oracle Java SE Support Roadmap.

    • Supported. Oracle Java SE 8 (JRE or JDK) (1.8.0_151 minimum)

  • Python 2.7.x

Hardware requirements

See Recommended production settings.

Procedure

End User License Agreement (EULA). By downloading this DataStax product, you agree to the terms of the EULA.

In a terminal window:

  1. Verify that a required version of Java is installed:

    java -version

    DataStax recommends the latest build of a Technology Compatibility Kit (TCK) Certified OpenJDK version 8.

    If OpenJDK, the results should look like:

    openjdk version "1.8.0_242"
    OpenJDK Runtime Environment (build 1.8.0_242-b09)
    OpenJDK 64-Bit Server VM (build 25.242-b09, mixed mode)

    If Oracle Java, the results should look like:

    java version "1.8.0_241"
    Java(TM) SE Runtime Environment (build 1.8.0_241-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 25.241-b13, mixed mode)

    If not OpenJDK 8 or Oracle Java 8, see Installing the JDK.

  2. Install the libaio package. For example:

    sudo apt-get install libaio1
  3. Add a DataStax repository file called /etc/apt/sources.list.d/datastax.sources.list:

    echo "deb https://debian.datastax.com/enterprise/ stable main" | sudo tee -a /etc/apt/sources.list.d/datastax.sources.list
  4. Add the DataStax repository key:

    curl -L https://debian.datastax.com/debian/repo_key | sudo apt-key add -
  5. Update the packages:

    sudo apt-get update
  6. Install the DataStax Enterprise packages:

    Specify all packages; otherwise, the installation fails.

    • Install the latest version (6.8.x):

    sudo apt-get install dse-full
    • Install an earlier 6.8.x version:

    To view the available 6.8.x versions, see the Release notes.

    sudo apt-get install dse=version_number-1 \
        dse-full=version_number-1 \
        dse-libcassandra=version_number-1 \
        dse-libgraph=version_number-1 \
        dse-libhadoop2-client-native=version_number-1 \
        dse-libhadoop2-client=version_number-1 \
        dse-liblog4j=version_number-1 \
        dse-libsolr=version_number-1 \
        dse-libspark=version_number-1 \
        dse-libtomcat=version_number-1

    For example:

    Specify all packages; otherwise, the installation fails.

    sudo apt-get install dse=6.8.0-1 \
        dse-full=6.8.0-1 \
        dse-libcassandra=6.8.0-1 \
        dse-libgraph=6.8.0-1 \
        dse-libhadoop2-client-native=6.8.0-1 \
        dse-libhadoop2-client=6.8.0-1 \
        dse-liblog4j=6.8.0-1 \
        dse-libsolr=6.8.0-1 \
        dse-libspark=6.8.0-1 \
        dse-libtomcat=6.8.0-1
    • Optional: Install the demos:

    Installing the DSE demos is not recommended for production. Only install the demos in development environments to run tutorials.

sudo apt-get install dse-demos=version_number-1

Result

DataStax Enterprise is ready for additional configuration:

  • For production, be sure to change the cassandra user. Failing to do so is a security risk. See Adding a superuser login.

  • DataStax Enterprise provides several types of workloads (default is transactional). See startup options for service or stand-alone installations.

  • Next Steps below provides links to related tasks and information.

  1. Single-node cluster installations only:

    1. Start DataStax Enterprise:

      sudo service dse start
    2. Verify that DataStax Enterprise is running by entering the nodetool status command:

      nodetool status

      Review the output to verify that DataStax Enterprise is running:

      Datacenter: 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  rack1

Next Steps

  • You must change or delete the cassandra user created on installation. See Adding a superuser login.

  • Configure startup options: service or stand-alone.

  • 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.

  • Default file locations for package installations

  • Default file locations for 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.

  • Installing DataStax Enterprise drivers.

RedHat systemd configuration Install from the tarball on any Linux distribution

General Inquiries: +1 (650) 389-6000 info@datastax.com

© DataStax | Privacy policy | Terms of use

DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.

Kubernetes is the registered trademark of the Linux Foundation.

landing_page landingpage