./bin/mongod --dbpath /usr/local/mongodb/mongodb-3.4.7/db
./bin/mongod --dbpath /usr/local/mongodb/mongodb-3.4.7/db --rest
ps -ef|grep mongod
參考文章:html
Linux平臺安裝MongoDB linux
Linux下MongoDB 安裝配置詳解mongodb