Advance

Tutorial Configure Apache Cassandra on Debian 11 [Bullseye]

Richard 6 Min Read
Tutorial Configure Apache Cassandra on Debian 11 [Bullseye]
0
(0)

Apache Cassandra is an open source distributed NoSQL database that is trusted by thousands of companies for scalability and high availability without compromising performance. Linear scalability and proven fault tolerance on merchandise hardware or cloud infrastructure make it a great platform for mission-critical data. In this article, we will teach you how to Install and Configure Apache Cassandra on Debian 11 step by step. Also, you can visit the packages available in Eldernode if you wish to purchase a Linux VPS Hosting.

How to Install & Configure Apache Cassandra on Debian Linux

Apache Cassandra 4.0 is the most stable release in the project’s history and is the beginning of a shift to a 12-month release cycle with release supported for a three-year term. The latest version has undergone intensive testing a sets a new high benchmark for distributed databases, and includes new features that offer: Increased speed and scalability, Improved consistency, New configuration settings, Minimized latency, Enhanced security and observability, Better compression.

Apache Cassandra Features:

  • Hybrid
  • Fault Tolerant
  • Focus on Quality
  • Performant
  • You’re In Control
  • Security and Observability
  • Distributed
  • Scalable
  • Elastic

Prerequisites

  • Install the latest version of Java 8.
  • For using cqlsh, Install the latest version of Python 2.7 or Python 3.6+.

Install Apache Cassandra on Debian 11

A) Install Java on Debian

To run Apache Cassandra, you must first install Java on your Debian linux server.

sudo apt install openjdk-11-jdk -y

Check the installed Java version using the following command.

java -version

B) Install Apache Cassandra Repository

sudo apt install apt-transport-https gnupg2 -y
sudo wget -q -O - https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add -
sudo sh -c 'echo "deb https://downloads.apache.org/cassandra/debian 40x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list'

C) Install Apache Cassandra

First, update your Debian 11 Linux server.

sudo apt update

Then run the following commands on your Debian server.

sudo apt install cassandra -y
sudo systemctl enable cassandra
sudo systemctl status cassandra
sudo nodetool status

E) Configure Apache Cassandra

To interact with the Cassandra cluster with the cqlsh command line tool, log in.

cqlsh

When done, exit the command.

EXIT;

Conclusion

Congratulations, you were able to install Apache Cassandra on your Linux Debian 11 server. You can also read the documentation from the official site for further check.

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

View More Posts
Richard
Eldernode Writer
We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

    Leave Your Comment

    Your email address will not be published.

    We are by your side every step of the way

    Think about developing your online business; We will protect it compassionately

    We are by your side every step of the way

    +8595670151

    7 days a week, 24 hours a day