How do i install apache cassandra on linux?
-
Note: See the following link for debian package installations: http://cassandra.apache.org/doc/latest/getting_started/installing.html
Prerequisites.
Check the version of Java install you need the latest version 8 either Java Oracle or OpenJDK8.
$ java -version openjdk version "1.8.0_191" OpenJDK Runtime Environment (build 1.8.0_191-b12) OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
To upgrade java openjdk8.
$ sudo yum install java-1.8.0-openjdk
Download the latest release of Cassandra.
Link: http://cassandra.apache.org/download/Extract the compressed tar archive.
cd /home/<user> sudo tar xvf apache-cassandra-3.0.17-bin.tar.gz cassandra
That is all there is to installing the Cassandra files. In another article we will see how to start Cassandra.
© Lightnetics 2024