Skip to content

Instantly share code, notes, and snippets.

@vireshas
Last active December 28, 2015 07:09
Show Gist options
  • Save vireshas/7462447 to your computer and use it in GitHub Desktop.
Save vireshas/7462447 to your computer and use it in GitHub Desktop.
Installing cassandra 2.0.X on Ubuntu12.03 and configuring it for redi2casa
#add these lines to the end of this file: /etc/apt/sources.list
deb http://www.apache.org/dist/cassandra/debian 20x main
deb-src http://www.apache.org/dist/cassandra/debian 20x main
#and then update apt-get and install cassandra
sudo apt-get update
sudo apt-get install cassandra
#start cassandra
sudo cassandra
#configuring cassandra for redi2casa
# git clone git@github.com:vireshas/redi2casa.git
# cd redi2casa
cqlsh --debug -f cqlsh_cmds
cassandra-cli --debug -f cassandra_cql_cmds
@rajofchennai
Copy link

gpg --keyserver pgpkeys.mit.edu --recv-key  010908312D230C5F      
gpg -a --export 010908312D230C5F | sudo apt-key add -

This is needed to add the keys

@rajofchennai
Copy link

gpg --keyserver pgp.mit.edu --recv-keys 4BD736A82B5C1B00
gpg --export --armor 4BD736A82B5C1B00 | sudo apt-key add -

gpg --keyserver pgp.mit.edu --recv-keys 2B5C1B00
gpg --export --armor 2B5C1B00 | sudo apt-key add -

you need this instead of the above one before apt-get update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment