Created
September 28, 2012 06:02
-
-
Save hirofumi/3798175 to your computer and use it in GitHub Desktop.
Install MongoDB on OS X
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
% brew install mongodb | |
==> Downloading http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-2.2.0.tgz | |
######################################################################## 100.0% | |
==> Caveats | |
To have launchd start mongodb at login: | |
ln -s /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents/ | |
Then to load mongodb now: | |
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist | |
Or, if you don't want/need launchctl, you can just run: | |
mongod | |
==> Summary | |
/usr/local/Cellar/mongodb/2.2.0-x86_64: 20 files, 170M, built in 116 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment