Step1. Install java

yum install java -y

Step2. Check java version

java -version

Step3. Create a repo file for Cassandra

vi /etc/yum.repos.d/cassandra.repo

[cassandra]
name = DataStax Repo for Apache Cassandra
baseurl = http://rpm.datastax.com/community
enabled = 1
gpgcheck = 0

Step4. Install package

yum install dsc20 -y

Step5. Service enable and start

systemctl enable cassandra.service
systemctl start cassandra
systemctl status Cassandra

Step6. Connect & verify Cassandra Cluster

nodetool status

Step7. Check connection

cqlsh

LEAVE A REPLY

Please enter your comment!
Please enter your name here