Last active
October 18, 2025 14:39
-
Star
(221)
You must be signed in to star a gist -
Fork
(61)
You must be signed in to fork a gist
-
-
Save hkhamm/a9a2b45dd749e5d3b3ae to your computer and use it in GitHub Desktop.
Revisions
-
hkhamm revised this gist
Aug 5, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -56,7 +56,7 @@ launchctl: Couldn't stat("/Users/<user>/Library/LaunchAgents/homebrew.mxcl.cassa To fix this just issue the following command. Then, try using the `launchctl load` command again: ```Shell cp /usr/local/Cellar/cassandra/<version number>/homebrew.mxcl.cassandra.plist ~/Library/LaunchAgents/ ``` Cassandra file locations -
hkhamm revised this gist
Jul 6, 2014 . 1 changed file with 8 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,57 +5,57 @@ Install Homebrew ---------------- Homebrew is a great little package manager for OS X. If you haven't already, installing it is pretty easy: ```Shell ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" ``` Install Python -------------- Mac OS X has a copy of Python preinstalled, but this makes sure you get the newest version. ```Shell brew install python ``` Install cql ----------- To use cqlsh, the Cassandra query language shell, you need to install cql: ```Shell pip install cql ``` Install Cassandra ----------------- This installs Apache Cassandra: ```Shell brew install cassandra ``` Starting/Stopping Cassandra --------------------------- Use this command to start Cassandra: ```Shell launchctl load ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist ``` Use this command to stop Cassandra: ```Shell launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist ``` On Mavericks, Homebrew failed to move the plist file into LaunchAgents, which gives this error message: ```Shell launchctl: Couldn't stat("/Users/<user>/Library/LaunchAgents/homebrew.mxcl.cassandra.plist"): No such file or directory ``` To fix this just issue the following command. Then, try using the `launchctl load` command again: ```Shell cp /usr/local/Cellar/cassandra/homebrew.mxcl.cassandra.plist ~/Library/LaunchAgents/ ``` -
hkhamm revised this gist
Jul 6, 2014 . 1 changed file with 7 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,15 +5,15 @@ Install Homebrew ---------------- Homebrew is a great little package manager for OS X. If you haven't already, installing it is pretty easy: ```sh ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" ``` Install Python -------------- Mac OS X has a copy of Python preinstalled, but this makes sure you get the newest version. ```sh brew install python ``` @@ -29,33 +29,33 @@ Install Cassandra ----------------- This installs Apache Cassandra: ```sh brew install cassandra ``` Starting/Stopping Cassandra --------------------------- Use this command to start Cassandra: ```sh launchctl load ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist ``` Use this command to stop Cassandra: ```sh launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist ``` On Mavericks, Homebrew failed to move the plist file into LaunchAgents, which gives this error message: ```sh launchctl: Couldn't stat("/Users/<user>/Library/LaunchAgents/homebrew.mxcl.cassandra.plist"): No such file or directory ``` To fix this just issue the following command. Then, try using the `launchctl load` command again: ```sh cp /usr/local/Cellar/cassandra/homebrew.mxcl.cassandra.plist ~/Library/LaunchAgents/ ``` -
hkhamm revised this gist
Jul 4, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -50,7 +50,7 @@ launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist On Mavericks, Homebrew failed to move the plist file into LaunchAgents, which gives this error message: ``` launchctl: Couldn't stat("/Users/<user>/Library/LaunchAgents/homebrew.mxcl.cassandra.plist"): No such file or directory ``` To fix this just issue the following command. Then, try using the `launchctl load` command again: -
hkhamm revised this gist
Jul 1, 2014 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -65,4 +65,9 @@ Cassandra file locations - Logs: `/usr/local/var/log/cassandra` - Data: `/usr/local/var/lib/cassandra/data` Links ----- - [Apache Cassandra] (http://cassandra.apache.org/) - [Datastax Cassandra Documentation] (http://www.datastax.com/documentation/cassandra/2.0/cassandra/gettingStartedCassandraIntro.html) Have fun with Cassandra! -
hkhamm revised this gist
Jul 1, 2014 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -61,8 +61,8 @@ cp /usr/local/Cellar/cassandra/homebrew.mxcl.cassandra.plist ~/Library/LaunchAge Cassandra file locations ------------------------ - Properties: `/usr/local/etc/cassandra` - Logs: `/usr/local/var/log/cassandra` - Data: `/usr/local/var/lib/cassandra/data` Have fun with Cassandra! -
hkhamm renamed this gist
Jul 1, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
hkhamm revised this gist
Jul 1, 2014 . 1 changed file with 12 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,56 +4,65 @@ Installing Cassandra on Mac OS X Install Homebrew ---------------- Homebrew is a great little package manager for OS X. If you haven't already, installing it is pretty easy: ``` ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" ``` Install Python -------------- Mac OS X has a copy of Python preinstalled, but this makes sure you get the newest version. ``` brew install python ``` Install cql ----------- To use cqlsh, the Cassandra query language shell, you need to install cql: ``` pip install cql ``` Install Cassandra ----------------- This installs Apache Cassandra: ``` brew install cassandra ``` Starting/Stopping Cassandra --------------------------- Use this command to start Cassandra: ``` launchctl load ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist ``` Use this command to stop Cassandra: ``` launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist ``` On Mavericks, Homebrew failed to move the plist file into LaunchAgents, which gives this error message: ``` launchctl: Couldn't stat("/Users/MNCH/Library/LaunchAgents/homebrew.mxcl.cassandra.plist"): No such file or directory ``` To fix this just issue the following command. Then, try using the `launchctl load` command again: ``` cp /usr/local/Cellar/cassandra/homebrew.mxcl.cassandra.plist ~/Library/LaunchAgents/ ``` Cassandra file locations ------------------------ Properties: `/usr/local/etc/cassandra` Logs: `/usr/local/var/log/cassandra` Data: `/usr/local/var/lib/cassandra/data` Have fun with Cassandra! -
hkhamm revised this gist
Jul 1, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -45,7 +45,7 @@ On Mavericks, Homebrew failed to move the plist file into LaunchAgents, which gi launchctl: Couldn't stat("/Users/MNCH/Library/LaunchAgents/homebrew.mxcl.cassandra.plist"): No such file or directory ``` To fix this just issue the following command. Then, try using the `launchctl load` command again: ``` cp /usr/local/Cellar/cassandra/homebrew.mxcl.cassandra.plist ~/Library/LaunchAgents/ ``` -
hkhamm revised this gist
Jul 1, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -40,7 +40,7 @@ Use this command to stop Cassandra: launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist ``` On Mavericks, Homebrew failed to move the plist file into LaunchAgents, which gives this error message: ``` launchctl: Couldn't stat("/Users/MNCH/Library/LaunchAgents/homebrew.mxcl.cassandra.plist"): No such file or directory ``` -
hkhamm revised this gist
Jul 1, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -31,11 +31,11 @@ brew install cassandra Starting/Stopping Cassandra --------------------------- Use this command to start Cassandra: ``` launchctl load ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist ``` Use this command to stop Cassandra: ``` launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist ``` -
hkhamm revised this gist
Jun 30, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -30,7 +30,7 @@ brew install cassandra ``` Starting/Stopping Cassandra --------------------------- Use this command to start: ``` launchctl load ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist -
hkhamm revised this gist
Jun 30, 2014 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -29,12 +29,16 @@ This installs Apache Cassandra: brew install cassandra ``` Starting/Stopping Cassandra ------------------ Use this command to start: ``` launchctl load ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist ``` user this command to stop: ``` launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist ``` On Mavericks, Homebrew failed to move the plist file into LaunchAgents. Which gives this error message: ``` -
hkhamm revised this gist
Jun 30, 2014 . 1 changed file with 0 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -35,14 +35,6 @@ At the end of the install, brew will tell you about two ways to launch Cassandra ``` launchctl load ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist ``` On Mavericks, Homebrew failed to move the plist file into LaunchAgents. Which gives this error message: ``` -
hkhamm revised this gist
Jun 30, 2014 . 1 changed file with 8 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -35,6 +35,14 @@ At the end of the install, brew will tell you about two ways to launch Cassandra ``` launchctl load ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist ``` Or even easier: ``` launchctl start homebrew.mxcl.cassandra ``` and to stop: ``` launchctl stop homebrew.mxcl.cassandra ``` On Mavericks, Homebrew failed to move the plist file into LaunchAgents. Which gives this error message: ``` -
hkhamm revised this gist
Jun 30, 2014 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -15,7 +15,6 @@ Mac OS X has a copy of Python preinstalled, but this makes sure you get the newe brew install python ``` Install cql ----------- To use cqlsh, the Cassandra query language shell, you need to install cql: -
hkhamm revised this gist
Jun 30, 2014 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -32,7 +32,7 @@ brew install cassandra Starting Cassandra ------------------ At the end of the install, brew will tell you about two ways to launch Cassandra. The first will launch it when the computer restarts, but this isn't recommended because you may not want to always run Cassandra. Instead use this command: ``` launchctl load ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist ``` @@ -47,4 +47,10 @@ To fix this just issue the following command. Then, try using the ```launchctl l cp /usr/local/Cellar/cassandra/homebrew.mxcl.cassandra.plist ~/Library/LaunchAgents/ ``` Cassandra file locations ------------------------ Properties: /usr/local/etc/cassandra Logs: /usr/local/var/log/cassandra Data: /usr/local/var/lib/cassandra/data Have fun with Cassandra! -
hkhamm revised this gist
Jun 30, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -37,12 +37,12 @@ At the end of the install brew will tell you about two ways to launch Cassandra. launchctl load ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist ``` On Mavericks, Homebrew failed to move the plist file into LaunchAgents. Which gives this error message: ``` launchctl: Couldn't stat("/Users/MNCH/Library/LaunchAgents/homebrew.mxcl.cassandra.plist"): No such file or directory ``` To fix this just issue the following command. Then, try using the ```launchctl load``` command again: ``` cp /usr/local/Cellar/cassandra/homebrew.mxcl.cassandra.plist ~/Library/LaunchAgents/ ``` -
hkhamm created this gist
Jun 30, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,50 @@ Installing Cassandra on Mac OS X ================================ Install Homebrew ---------------- Homebrew is a great little package manager for OS X. If you haven't already, installing it is pretty easy: ``` ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" ``` Install Python -------------- Mac OS X has a copy of Python preinstalled, but this makes sure you get the newest version. ``` brew install python ``` Install cql ----------- To use cqlsh, the Cassandra query language shell, you need to install cql: ``` pip install cql ``` Install Cassandra ----------------- This installs Apache Cassandra: ``` brew install cassandra ``` Starting Cassandra ------------------ At the end of the install brew will tell you about two ways to launch Cassandra. The first will launch it when the computer restarts, but this isn't recommended because you may not want to always run Cassandra. Instead use this command: ``` launchctl load ~/Library/LaunchAgents/homebrew.mxcl.cassandra.plist ``` On Mavricks, Homebrew failed to move the plist file into LaunchAgents. Which gives this error message: ``` launchctl: Couldn't stat("/Users/MNCH/Library/LaunchAgents/homebrew.mxcl.cassandra.plist"): No such file or directory ``` To fix this just issue the following command and try using the ```launchctl load``` command again: ``` cp /usr/local/Cellar/cassandra/homebrew.mxcl.cassandra.plist ~/Library/LaunchAgents/ ``` Have fun with Cassandra!