NoSQL: Install Single Node Cassandra 3.5 on Ubuntu 14.04

From this post onwards, I am going to learn and share NoSQL Apache Cassandra practical demonstration.
In the previous series of articles, I have already shared basic theory about NoSQL and Apache Cassandra.

In this post, I am providing steps to install Single Node Cassandra Cluster on Ubuntu 14.04.

Step 1:
Cassandra requires Oracle Java Runtime Environment.
Install Oracle Java Virtual Machine.
Add Oracle JRE package.

Step 2:
Update the database package:

In the second step, If you get any error like: “unable to lock directory /var/lib/apt/lists/”
Step 2.1:
Search running apt-get processes:

Step 2.2:
If any process is running as apt-get, kill it

Step 3:
Accept the license agreement and install the Oracle JRE.

Step 4:
After successfully installtion, verify JRE Version.

Step 5:
Install Cassandra from the official Apache Software Foundation repositories.
The latest tick-tock release is Cassandra 3.5, released on 2016-04-13.
Below commands to add repository source from
In the below command, you can change the value of 35x version. e.g, for version 3.5 = 35x, for version 2.2 = 22x.

Step 6:
Require to add three public key from the Apache Software Foundation.

First key:

Second key:

Third key:

Step 7:
Update the package.

Step 8:
Install Cassandra.

Step 9:
Check the status of Cassandra Service.

Step 10:
You can also check the status of cluster.
status UN means Up and Normal.

Step 11:
Now, You can connect Cassandra Query Language command line interface.

Install NoSQL Cassandra 3.5

Please share your ideas and opinions about this topic with me, your contribution will add true value to this topic.
If anyone has doubts on this topic then please do let me know by leaving comments or send me an email.

If you like this post, then please share it with others.
Please follow, I will share my experience towards the success of Database Research and Development Activity.

I put up a post every day, please keep reading and learning.
Discover Yourself, Happy Blogging !
Anvesh M. Patel.

More from

Leave a Reply

Be the First to Comment!

Notify of