![Share on Facebook Facebook](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/24x24/facebook.png)
![Share on Twitter twitter](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/24x24/twitter.png)
![Share on Reddit reddit](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/24x24/reddit.png)
![Pin it with Pinterest pinterest](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/24x24/pinterest.png)
![Share on Linkedin linkedin](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/24x24/linkedin.png)
![Share by email mail](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/24x24/mail.png)
![Share on Facebook Facebook](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/facebook.png)
![Share on Twitter twitter](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/twitter.png)
![Share on Reddit reddit](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/reddit.png)
![Pin it with Pinterest pinterest](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/pinterest.png)
![Share on Linkedin linkedin](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/linkedin.png)
![Share by email mail](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/mail.png)
![feather](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/icon.png)
MongoDB Cheatsheet
Installation:
Mac OS:
brew install mongodb
To launch mongo on login
ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents
Or run by mongod --config /usr/local/etc/mongod.conf
mongo default port: 27017 (driver)
Command | Description |
---|---|
mongod –dbpath=<MONGO-DIR> | Start instance mongoDB server |
mongo | Use this command to connect to the server |
![Share on Facebook Facebook](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/24x24/facebook.png)
![Share on Twitter twitter](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/24x24/twitter.png)
![Share on Reddit reddit](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/24x24/reddit.png)
![Pin it with Pinterest pinterest](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/24x24/pinterest.png)
![Share on Linkedin linkedin](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/24x24/linkedin.png)
![Share by email mail](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/24x24/mail.png)
![Share on Facebook Facebook](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/facebook.png)
![Share on Twitter twitter](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/twitter.png)
![Share on Reddit reddit](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/reddit.png)
![Pin it with Pinterest pinterest](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/pinterest.png)
![Share on Linkedin linkedin](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/linkedin.png)
![Share by email mail](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/mail.png)
![feather](https://elgali.net/wp-content/plugins/social-media-feather/synved-social/image/icon.png)