APACHE -CASSANDRA INSTALLATION ON UBUNTU
Apache -Cassandra
Cassandra is a NoSQL database which is distributed and scalable. It is provided by Apache Software Foundation.Apache Cassandra is highly scalable, high performance, distributed NoSQL database. Cassandra is designed to handle huge amount of data across many commodity servers, providing high availability without a single point of failure.Cassandra has a distributed architecture which is capable to handle a huge amount of data. Data is placed on different machines with more than one replication factor to attain a high availability without a single point of failure.
Step 1:
Before cassandra you have to need install java1.8>=
https://www.oracle.com/in/java/technologies/javase/javase8-archive-downloads.html
step 2:
python is needed for install cassandra
Install Python 2.7
sudo apt-add-repository universe
sudo apt update
sudo apt install python2-minimal
python2 -V
Step 3:
Download cassandra 3.11.15 https://cassandra.apache.org/_/download.html
-->extract the tar cassandra tar file
tar -zxvf apache-cassandra-3.11.13-bin.tar.gz
Step 4:
bin/cassandra -f
Starting listening for CQL clients ... if you getting this line your cassandra had started listening
and you had successfully installed cassandra.
Step 5:
without closing the terminal you have to open the new terminal.
Enter into the cassandra shell
bin/cqlsh
Apache-cassandra has been successfully installed.
Comments
Post a Comment