Created
November 27, 2015 00:42
-
-
Save BenBrostoff/3b7e93ce62e9f38462be to your computer and use it in GitHub Desktop.
Installing Cassandra
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
# thanks to http://exponential.io/blog/2015/01/28/install-cassandra-2_1-on-mac-os-x/ | |
mkdir -p ~/opt/packages && cd $_ | |
curl -OL http://downloads.datastax.com/community/dsc.tar.gz | |
gzip -dc dsc.tar.gz | tar xf - | |
ln -s ~/opt/packages/dsc-cassandra-3.0.0 ~/opt/cassandra | |
echo 'if [ -d "$HOME/opt" ]; then | |
PATH="$PATH:$HOME/opt/cassandra/bin" | |
fi' >> ~/.bash_profile | |
source ~/.bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment