Apache Cassandra is a free and open-source NoSQL database with no single point of failure. It provides linear scalability and high availability without compromising performance. Apache Cassandra is used by many companies that have large, active data sets, including Reddit, NetFlix, Instagram, and Github.

This article explains how to install Apache Cassandra on CentOS 8.

Installing Apache Cassandra

The easiest way to install Apache Cassandra on CentOS 8 is by installing the rpm package from the official Apache Cassandra repository.

The latest version of Apache Cassandra is 3.11 and requires OpenJDK 8 to be installed on the system.

Run the following command as root or user with sudo privileges to install OpenJDK :

sudo dnf install java-1.8.0-openjdk-devel

Once completed, verify the installation by printing the Java version:

java -version

The output should look something like this:openjdk version “1.8.0_262”
OpenJDK Runtime Environment (build 1.8.0_262-b10)
OpenJDK 64-Bit Server VM (build 25.262-b10, mixed mode)


Now that Java is installed, the next step is to add the Apache Cassandra repository.

Open your text editor and create the following repository file:

sudo nano /etc/yum.repos.d/cassandra.repo

#apache #cassandra

How to Install Apache Cassandra on CentOS 8
2.00 GEEK