In this article, we will have explained the necessary steps to install Apache Cassandra on Debian 10. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.
Apache Cassandra is a highly scalable database management system that used to manage very large amounts of structured data. It can able to perform on multi-node setups. The Cassandra supports relational databases including MySQL, PostgreSQL and Microsoft SQL and Cassandra is used by a number of organizations including Apple, NetFlix, eBay, and Easou.
Install Apache Cassandra on Debian 10
Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.
Step 2. Install Apache Cassandra.
Download the GPG key to add the Cassandra repository for Debian 10:
curlhttps://www.apache.org/dist/cassandra/KEYS | sudo apt-key add -
Then, add the Apache Cassandra repository to Debian 10 sources list:
echo"deb http://www.apache.org/dist/cassandra/debian 311x main"|sudotee-a/etc/apt/sources.list.d/cassandra.sources.list
Now install Cassandra by running the following command:
Next, you have to start and enable the service to start the system:
Step 3. Configure Apache Cassandra.
Configure a little Cassandra if you are going to use it for create a cluster:
Changes the file using following conf:
Next, restart the Apache Cassandra service to take effect:
Congratulation, you have learned how to install and configure Cassandra on Debian 10 Buster. If you have any question, please leave a comment below.