Apache Cassandra is a NoSQL-based database system that allows you to handle large amounts of data quickly and efficiently without losing any value. We can install this database system in Ubuntu as a complement to Ubuntu Server and make its functions used by our applications.
Apache Cassandra is not the Apache server or a fork of it, but it is related to the Apache Foundation, because like server technologies, Apache Cassandra is the work of the Apache developers and seems to be a good plugin for a Linux Apache server.
Cassandra is a server technology so we always need to have the most up-to-date software possible including the tool itself. That is why we will use an external repository to install it on Ubuntu 17.04 or Ubuntu 16.04. But first, we will need the Ubuntu of our team or server to have java. A good option is to use OpenJDK but we can also install the original version of Java. You decide what to install on your computer.
How to install Cassandra on Ubuntu Zesty Zapus
To install this database, we open the terminal and write the following:
echo "deb http://www.apache.org/dist/cassandra/debian 311x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
Next we add the keys of the external repository to be able to use it:
curl https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add - sudo apt-key adv --keyserver pool.sks-keyservers.net --recv-key A278B781FE4B2BDA
And then we install the Apache Foundation program with the following command:
sudo apt-get install cassandra
This will install the program on our server, but it is not enough. We have to make Apache Cassandra loads by default with every loginTo do this, in the same terminal, we write the following:
sudo systemctl enable cassandra.service
This will cause that when we start a session or restart the system, Apache Cassandra will load automatically.
Everardo Martell looks at Cassandra
Hahaha, they even made the application haha