#mongodb start the remote connection
running in the background command:
./mongod /etc/mongod.conf -dbpath -f / usr / local / MongoDB -logpath /var/log/mongodb/mongod.log -logappend -fork -port 27017
Check the status of
netstat -lanp | grep "27017"
** close mongod service **
the Use ADMIN
db.shutdownServer ()
Persistence is set
to prevent a server crash or shut down, data loss.
journal mechanism, 2.0 are self-starting, the corresponding data is automatically backed up directory.