Apache Cassandra Configuration Steps for Mac OS X:
1. Download And Install Apache Cassandra :
- Download Apache Cassandra : http://cassandra.apache.org/download/
- Now check weather JAVA_HOME and PATH environment variables has been set or not, if not then put this command in terminal
export PATH="/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin:$PATH"
- You also need to create three folders under /var/lib/cassandra/ folder for data, commit logs and saved caches, as follows.
/var/lib/cassandra/commitlog
/var/lib/cassandra/saved_caches
- Now start up Cassandra by invoking {cassandrafolderpath}$ bin/cassandra -f from the command line.
- Assuming you don't see messages with scary words like "error", or "fatal", or anything that looks like a Java stack trace, then everything should be working.
- Press "Control-C" to stop Cassandra.