Cassandra Installation in Ubuntu 14.04

Following are the steps which I followed in order to install Cassandra on Ubuntu 14.04

I will update this post with detailed discussion, till then you can use these commands for doing the installation.

Make sure you are using either root user or sudo user for doing this installation.

Here we go.

  • sudo add-apt-repository ppa:webupd8team/java
  • sudo apt-get update
  • sudo apt-get install oracle-java8-set-default
  • java -version
  • echo “deb http://www.apache.org/dist/cassandra/debian 22x main” | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
  • echo “deb-src http://www.apache.org/dist/cassandra/debian 22x main” | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
  • gpg –keyserver pgp.mit.edu –recv-keys F758CE318D77295D
  • gpg –export –armor F758CE318D77295D | sudo apt-key add –
  • gpg –keyserver pgp.mit.edu –recv-keys 2B5C1B00
  • gpg –export –armor 2B5C1B00 | sudo apt-key add –
  • gpg –keyserver pgp.mit.edu –recv-keys 0353B12C
  • gpg –export –armor 0353B12C | sudo apt-key add –
  • sudo apt-get update
  • sudo apt-get install cassandra
  • sudo reboot
  • sudo service cassandra status
  • sudo nodetool status
  • cqlsh
  • exit
  • Thank you for having a read.
    Please let me know if you have any concerns.

    Published by milindjagre

    I founded my blog www.milindjagre.co four years ago and am currently working as a Data Scientist Analyst at the Ford Motor Company. I graduated from the University of Connecticut pursuing Master of Science in Business Analytics and Project Management. I am working hard and learning a lot of new things in the field of Data Science. I am a strong believer of constant and directional efforts keeping the teamwork at the highest priority. Please reach out to me at milindjagre@gmail.com for further information. Cheers!

    One thought on “Cassandra Installation in Ubuntu 14.04

    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out /  Change )

    Google photo

    You are commenting using your Google account. Log Out /  Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out /  Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out /  Change )

    Connecting to %s

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    %d bloggers like this: