Can you tell me how to add mongo to the system process and run it all the time?

  mongodb, question

Operating system: Mac osX 10.8.2
At present, to open mongoDB, you need to first
mongod
Then cmd+T opens a new terminal.
mongo

Only in this way can it be carried out normally, which is quite troublesome.
I would like to ask everyone how to make mogodb write like a system process and let it execute all the time, just like mysql

Take a closer look at Mongoose’s options.

For reference

$MONGO/bin/mongod –dbpath $DB –fork –logpath $LOG –logappend