mongodb 按配置文件mongodb.conf启动

命令如下

mongod --config /etc/mongodb.conf
原文地址:https://www.cnblogs.com/pangguoming/p/9195771.html