以配置文件启动服务器:

 

mongod --config /usr/local/mongodata/config/mongodb.conf(配置文件路径)

客户端启动:

mango

 

关闭mongodb的方式:

ps -ef|grep mongo

 

 

相关文章:

  • 2021-12-03
  • 2022-12-23
  • 2021-06-04
  • 2021-09-06
  • 2022-12-23
  • 2021-05-24
  • 2021-05-15
  • 2021-12-22
猜你喜欢
  • 2021-07-13
  • 2022-12-23
  • 2021-08-17
  • 2021-08-07
  • 2021-04-18
  • 2021-10-18
  • 2022-02-12
相关资源
相似解决方案