How to install Cassandra on Ubuntu 16.04 LTS?
Cassandra is a No-SQL database designed and developed by Apache Software Foundation. It is written in Java and works on cross-platform. It was first released in 2008.
This database is known for it's performance and high availability with no single point of failure.
It is cross-platform, so can be installed on any operating system. Here, in this tutorial, we will install it on the Ubuntu 16.04 LTS operating system.
This whole process requires some prerequisites and includes the following steps.
1) Add Cassandra Repository
Use the following command to add cassandra repository to
2) Add Cassandra Repository Keys
3) Update the repository
4) Install Cassandra
After installation, we can verify that Cassandra is running or not, by using the following command. By default Cassandra service is started.
Well, we have successfully installed Cassandra. Now we can perform database operations.
Following are some useful commands that can be used to manage Cassandra database.
Use the following command to start Cassandra.
Use the following command to stop Cassandra.
Use the following command to restart Cassandra service.
Use the following command to check running status of Cassandra.
Cassandra file storage path