Skip to content

Instantly share code, notes, and snippets.

@BenBrostoff
Created November 27, 2015 00:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BenBrostoff/3b7e93ce62e9f38462be to your computer and use it in GitHub Desktop.
Save BenBrostoff/3b7e93ce62e9f38462be to your computer and use it in GitHub Desktop.
Installing Cassandra
# 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