重启命令

service mongodb restart

启动命令 

mongod -f /data/tools/mongodb/config/config.conf

必须要带配置文件才能启动

关闭命令
mongo
use admin
db.shutdownServer()