Skip to content

Instantly share code, notes, and snippets.

@ryanwebjackson
Created August 26, 2014 22:10
Show Gist options
  • Save ryanwebjackson/d0203b109c751903d429 to your computer and use it in GitHub Desktop.
Save ryanwebjackson/d0203b109c751903d429 to your computer and use it in GitHub Desktop.
Install and load Mongo if something goes wrong
➜ db brew install mongo
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mongodb-2.6.4.mavericks.bot
######################################################################## 100.0%
==> Pouring mongodb-2.6.4.mavericks.bottle.tar.gz
==> Caveats
To have launchd start mongodb at login:
ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents
Then to load mongodb now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
Or, if you don't want/need launchctl, you can just run:
mongod --config /usr/local/etc/mongod.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment