Installing it on OSX with homebrew is pretty straightforward:
- Download and install java (yes, Cassandra is written in java. Yes, WTF)
- Install cassandra and its dependencies: brew install cassandra.
- Homebrew will ask you to install install a
~/Library/LaunchAgents/homebrew.mxcl.cassandra.plistso the service will start at OSX boot.
For debugging pourposes (e.g trying phpcassa exception system) you may be interested in stopping and starting the cassandra process manually. You can do that with
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist or launchctl load ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist