Quantcast
Channel: WhizCreed
Viewing all articles
Browse latest Browse all 14

Install Cassandra on Ubuntu

$
0
0

After trying for some time to install Cassandra on windows I finally decided that I should try to develop my app on ubuntu instead. But getting to install Cassandra on Ubuntu wasn’t quite as easy as I had expected.

I have been using a tutorial / guide for installing Cassandra on ubuntu.

First mistake I made was to add the deb source at the beginning of the file. Due to which, the message I was supposed to notice was getting scrolled way up and I was missing it everytime. So moving to the bottom of the /etc/apt/sources.list file helped me catch the message with the key value in it.

Also the above mention tutorial suggests to add deb-src http://www.apache.org/dist/cassandra/debian 10x main as well but I skipped this but was able to go ahead with the installation.

The install guide suggested to generate some keys using:

gpg –keyserver wwwkeys.pgp.net –recv-keys 4BD736A82B5C1B0

But apparently the keyserver is not responding. So I did some research and found an alternative:

gpg --keyserver pgp.mit.edu --recv-keys F758CE318D77295D 
gpg --export --armor F758CE318D77295D sudo apt-key add -

And after this the installation went smooth:
sudo apt-get update
sudo apt-get install cassandra

Viewing all articles
Browse latest Browse all 14

Trending Articles