mongodb服務(wù)使用
#啟動(dòng)
systemctl start mongod
#停止
systemctl stop mongod
#重啟
systemctl restart mongod
#開機(jī)啟動(dòng)
systemctl enable mongod
#啟動(dòng)
systemctl start mongod
#停止
systemctl stop mongod
#重啟
systemctl restart mongod
#開機(jī)啟動(dòng)
systemctl enable mongod