bf1iqg
Last Updated: February 25, 2016
·
1.07K
· rshetty
54588 555132027835563 687647376 o

Run MongoDB as a Daemon

After Installation of your MongoDB, Run this command

sudo mongod --fork --logpath /var/log/mongodb.log

This starts Mongodb as a Daemon which logs to /var/log/mongodb.log

That's it.

Happy Hacking!!!

Say Thanks
Respond