bing
Flat 10% & upto 50% off + Free additional Courses. Hurry up!
×
UPTO
50%
OFF!

Installing Cassandra on Single Node

 

Cassandra is available for download from the Web at http://cassandra.apache.org .

 

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

wget http://www.us.apache.org/dist/cassandra/1.2.16/apache-cassandra-1.2.16-bin.tar.gz

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

 

3.) set Cassandra’s variables

vim ~/.bash_profile

#add following lines to .bash_profile

export CASSANDRA_HOME=/root/nosql/cassandra

export PATH=$PATH:$CASSANDRA_HOME/bin

 

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!

"0 Responses on Installing Cassandra on Single Node"

100% Secure Payments. All major credit & debit cards accepted Or Pay by Paypal.
top

Sales Offer

  • To avail this offer, enroll before 19th November 2017.
  • This offer cannot be combined with any other offer.
  • This offer is valid on selected courses only.
  • Please use coupon codes mentioned below to avail the offer

Sign Up or Login to view the Free Installing Cassandra on Single Node.