Last active
January 31, 2016 11:44
-
-
Save akbargumbira/4de643db8da9fe242877 to your computer and use it in GitHub Desktop.
Mongodb
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 characters
The MongoDB instance stores its data files in /var/lib/mongodb and | |
its log files in /var/log/mongodb by default, | |
and runs using the mongodb user account. | |
You can specify alternate log and data file directories in /etc/mongod.conf. | |
See systemLog.path and storage.dbPath for additional information. | |
sudo service mongod start | |
sudo service mongod stop | |
sudo service mongod restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment