Getting Started
-
5. Managing MongoDB
Finally, to Manage MongoDB Database
To Start it:su -c "service mongod start"
To Enable Start at Boot:
su -c "chkconfig mongod on"
To Stop MongoDB Server:
su -c "service mongod stop"
To Restart MongoDB Server:
su -c "service mongod restart"
Then Test the Mongodb Shell running:
mongo
-
6. MongoDB Getting Started
MongoDB Database Getting-Started Guide
Contents