开发环境用systemctl来启动运行。
systemctl start mongod
systemctl stop mongod
systemctl restart mongod
systemctl status mongod //查看状态
ps -ef | grep mongo
开发环境用systemctl来启动运行。
systemctl start mongod
systemctl stop mongod
systemctl restart mongod
systemctl status mongod //查看状态
ps -ef | grep mongo