Thursday, March 17, 2016

installing cassandra on Linux(RHEL,CentOS)

This post is for installing cassandra 3.0. Below are the steps to download and install Cassandra on linux.


1) Check for java version. It should be java7 or above.


2) yum package installer should be there.


3)python 2.7 is installed.


4)create a file /etc/yum.repos.d/datastax.repo and paste the below content.

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

5)install the latest packages



$ sudo yum install dsc30
$ sudo yum install cassandra30-tools




6) start the service



$ sudo service cassandra start



7)Verify that DataStax Distribution of Apache Cassandra is running



$ nodetool status



I hope above steps helps you in installing the cassandra 


5 cassandra: installing cassandra on Linux(RHEL,CentOS) This post is for installing cassandra 3.0. Below are the steps to download and install Cassandra on linux. 1) Check for java version. I...

No comments :

Post a Comment