Created
October 5, 2012 07:46
-
-
Save lancelakey/3838613 to your computer and use it in GitHub Desktop.
Debian install Cassandra 1.1.x
This file contains hidden or 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
#!/usr/bin/env bash | |
# Target OS: Debian | |
# Install Cassandra 1.1.x | |
sh -c 'echo deb http://www.apache.org/dist/cassandra/debian 11x main >> /etc/apt/sources.list.d/cassandra-stable.list' | |
sh -c 'echo deb-src http://www.apache.org/dist/cassandra/debian 11x main >> /etc/apt/sources.list.d/cassandra-stable.list' | |
gpg --keyserver keyserver.ubuntu.com --recv-keys 4BD736A82B5C1B00 | |
gpg --export --armor 4BD736A82B5C1B00 | apt-key add - | |
gpg --keyserver keyserver.ubuntu.com --recv-keys F758CE318D77295D | |
gpg --export --armor F758CE318D77295D | apt-key add – | |
apt-get -qy update | |
apt-get -qy install cassandra |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment