Last active
August 4, 2016 13:10
-
-
Save klappradla/a3e9f538b78de23914f93b7e1bb96246 to your computer and use it in GitHub Desktop.
Install Cassandra v.1.2 on OSX
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
# Install Cassandra version 1.2.9 | |
mkdir ~/tmp | |
cd ~/tmp | |
curl -O http://archive.apache.org/dist/cassandra/1.2.9/apache-cassandra-1.2.9-bin.tar.gz | |
tar -xzf apache-cassandra-* | |
rm -rf *.tar.gz | |
# Create cassandra lib/log directory and grant access to it? | |
sudo mkdir /var/lib/cassandra | |
sudo mkdir /var/log/cassandra | |
# Move cassandra into own dir | |
mv apache-cassandra-* ~/cassandra | |
# Add config to your .zshrc / .bashrc | |
export CASSANDRA_HOME=~/cassandra # Add Cassandra 1.2 config | |
export PATH="$PATH:$CASSANDRA_HOME/bin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To start Cassandra: