Last active
December 28, 2015 07:09
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
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
This is needed to add the keys