Database Reference
In-Depth Information
Installing from ASFRepository for Debian or
Ubuntu
Apache Software Foundation provides Debian packages for different versions of Cassandra
for its direct installation from the repository. To list the packages, run the following com-
mand:
# Edit sources
$ sudo vi /etc/apt/sources.list
Also, append the following three lines:
# Cassandra repo
deb http://www.apache.org/dist/cassandra/debian 21x main
deb-src http://www.apache.org/dist/cassandra/debian 21x main
Next, execute sudo apt-get update , as follows:
$ sudo apt-get update Ign
http://us-east-1.ec2.archive.ubuntu.com trusty InRelease
[-- snip -- ]
Reading package lists... Done
W: GPG error: http://www.apache.org 21x InRelease: The
following signatures couldn't be verified because the public
key is not available: NO_PUBKEY 749D6EEC0353B12C
If you get the preceding error, add the public keys as follows:
gpg --keyserver pgp.mit.edu --recv-keys 749D6EEC0353B12C
gpg --export --armor 749D6EEC0353B12C | sudo apt-key add -
Now, you can install Cassandra using the following commands:
$ sudo apt-get update
$ sudo apt-get install cassandra
Search WWH ::




Custom Search