安装教程:
http://blog.csdn.net/wlzx120/article/details/52301799
修改admin权限,使之可关闭mongo:
http://blog.csdn.net/warrior_zhang/article/details/50503407
mongo配置文件说明
http://blog.csdn.net/jianlong727/article/details/53484440
关闭和启动mongo:
参考配置文件:
storage: dbPath: /home/mongo/data journal: enabled: true commitIntervalMs: 500 directoryPerDB: true engine: wiredTiger systemLog: quiet: false path: /home/logs/mongo/mongod.log destination: file logRotate: rename processManagement: fork: true pidFilePath: /home/mongo/pidfile/mongo.pid net: port: 27017 maxIncomingConnections: 30000 wireObjectCheck: true http: enabled: false security: authorization: enabled operationProfiling: mode: slowOp