Skip to content

Instantly share code, notes, and snippets.

@sharp
Created January 12, 2011 09:23
Show Gist options
  • Save sharp/775923 to your computer and use it in GitHub Desktop.
Save sharp/775923 to your computer and use it in GitHub Desktop.
mongod run
If this is your first install, automatically load on login with:
cp /usr/local/Cellar/mongodb/1.6.3-x86_64/org.mongodb.mongod.plist ~/Library/LaunchAgents
launchctl load -w ~/Library/LaunchAgents/org.mongodb.mongod.plist
If this is an upgrade and you already have the org.mongodb.mongod.plist loaded:
launchctl unload -w ~/Library/LaunchAgents/org.mongodb.mongod.plist
cp /usr/local/Cellar/mongodb/1.6.3-x86_64/org.mongodb.mongod.plist ~/Library/LaunchAgents
launchctl load -w ~/Library/LaunchAgents/org.mongodb.mongod.plist
Or start it manually:
mongod run --config /usr/local/Cellar/mongodb/1.6.3-x86_64/mongod.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment