banner



How To Install Cassandra On Linux

Cassandra is used by thousands of firms worldwide to relieve and retrieve thousands of terabytes of data in an environs that is both painstakingly detailed however hands attainable. Its reliability, along with its high fault tolerance, has earned the reputation information technology holds today. The DB Engine Ranking puts Cassandra at the top of their wide column shop ranking.

In this tutorial, you'll acquire how to fix up Apache Cassandra, 1 of the best NoSQL databases systems that is both gratuitous and open up-source, which offers high linear scalability, forth with depression latency operability. It was originally conceived to support the inbox search characteristic on Facebook and has since improved until information technology was hailed as the most time-efficient and scalable distribution database.

Step 1: Install Oracle Coffee

First, we need to set up upward JAVA on your system since Cassandra requires Oracle Coffee to operate on any Bone. This step is simply a unproblematic setup guide, so readers with already installed Java may skip step 1.

To illustrate how to fix Java on desktop, we will be downloading the latest version of its open up-source platform: OpenJDK 14. This open-source version works with Cassandra just as well every bit any paid version, then it should suffice.

Type in the following command to update the repository:


Then, run the command below to install OpenJDK 14:

$ sudo apt install openjdk-xiv-jdk


OpenJDK 14 should launch automatically upon install. To verify the install, type:

This should be displayed in the following output:


With Java installed, yous can download the latest version of Apache Cassandra from its official website. Withal, in this demonstration, nosotros'll utilise the official Apache repository past adding it to the local software repository.

Step 2: Installing Apache Cassandra

The post-obit steps prove the details on how to download Apache Cassandra by calculation its official repository. This particular method might prove useful in cases where yous're unable to download it from the official website.

Type in the commands below to fetch the repository's GPG key:

$ wet -q -O - https://world wide web.apache.org/dist/cassandra/KEYS | sudo apt-fundamental add --


And so, utilise the command below to add together the repository:

$ sudo sh -c 'echo "deb http://www.apache.org/dist/cassandra/debian 311x chief" \
> /etc/apt/sources.list.d/cassandra.sources.list'

Step 3: Install Apache Cassandra

Blazon in the commands to begin installation:

$ sudo apt install cassandra


This should install Cassandra on your Ubuntu desktop. Then, verify the installation by typing in the post-obit commands in the concluding:


If the output says Normal/Leaving/Joining/Moving, nosotros're all expert.

Cqlsh is a CLI interface with which yous tin can interact with the Cassandra Query Language.

Wrapping up

I hope the instructions listed in a higher place helped yous ready Apache Cassandra on your Ubuntu desktop. Apache Cassandra needs Oracle Coffee to part and the open-source implementation of Java, the OpenJDK works just fine with Cassandra. The method used in this tutorial start added the Apache repository to the Ubuntu software repo, then installed the database.

What makes Cassandra, in particular, a stand up out compared to other database systems is the high-volume information capacity that it offers, too as its extremely low latency operations. The fact that then many large conglomerates utilise this database system, including Apple, Facebook, Instagram, Spotify, Twitter, eBay, and Netflix, speaks to its utility as a reliable information direction platform.

Near the author

I am a freelancing software projection developer, a software engineering graduate and a content writer. I love working with Linux and open up-source software.

Source: https://linuxhint.com/install_cassandra_on_ubuntu_20-04/

Posted by: haagsaider.blogspot.com

0 Response to "How To Install Cassandra On Linux"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel