How to Download and Install Cassandra | Intellipaat

Process Advisors

*Subject to Terms and Condition

Environment Setup for Installing Cassandra

Cassandra is available for download from the Web at

The simplest way to get started is to download the prebuilt binary. please refer to steps below for linux:

1.) Download Cassandra in any directory

mkdir -p /root/nosql
cd /root/nosql

#Please download latest version available

tar -xvzf apache-cassandra-1.2.16-bin.tar.gz
mv apache-cassandra-1.2.16 /root/nosql/cassandra.

2.) Next, make sure that the folders Cassandra accesses, such as the log folder, exists and that Cassandra has the right to write on it:

sudo mkdir /var/lib/cassandra
sudo mkdir /var/log/cassandra
sudo chown -R $USER:$GROUP /var/lib/cassandra
sudo chown -R $USER:$GROUP /var/log/Cassandra

Certification in Bigdata Analytics

3.) Set Cassandra’s variables

vim ~/.bash_profile
#add following lines to .bash_profile
export CASSANDRA_HOME=/root/nosql/cassandra

4.) Running Cassandra

sudo sh /root/nosql/cassandra/bin/cassandra

5.) Crosscheck with Cassandra cli

sudo sh /root/nosql/cassandra/bin/cassandra-cli

You will see window like this:-

img 2

A detailed understanding of Apache Cassandra is available in this blog post for your perusal!

Course Schedule

Name Date Details
Big Data Course 30 Sep 2023(Sat-Sun) Weekend Batch
View Details
Big Data Course 07 Oct 2023(Sat-Sun) Weekend Batch
View Details
Big Data Course 14 Oct 2023(Sat-Sun) Weekend Batch
View Details

Leave a Reply

Your email address will not be published. Required fields are marked *

Find MongoDB Training in Other Regions

Bangalore Chennai Delhi Hyderabad London Sydney United States