More than 1 year has passed since last update.

Install Java

You can skip it if you've already had java in your system.

sudo add-apt-repository -y ppa:webupd8team/java

sudo apt-get update
sudo aptitude -y install oracle-java8-installer

mkdir ~/tmp; cd ~/tmp

Install Cassandra


tar -xvzf apache-cassandra-2.2.1-bin.tar.gz

mv apache-cassandra-2.2.1 ~/cassandra

sudo mkdir /var/lib/cassandra
sudo mkdir /var/log/cassandra
sudo chown -R $USER:$GROUP /var/lib/cassandra
sudo chown -R $USER:$GROUP /var/log/cassandra

export CASSANDRA_HOME=~/cassandra

Run Cassandra

cassandra -f
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account log in.