【问题标题】:Start mongodb when at Windows start up [duplicate]在 Windows 启动时启动 mongodb [重复]
【发布时间】:2015-11-22 00:30:14
【问题描述】:

我在 windows 上运行 mongodb,我希望它在 windows 启动时开始运行。

我该怎么做呢?

谢谢

【问题讨论】:

标签: windows mongodb powershell service


【解决方案1】:

将其安装为将自动运行的 Windows 服务:

"C:\mongodb\bin\mongod.exe" --config "C:\mongodb\mongod.cfg" --install

完整的步骤列表here

【讨论】:

  • 好的,我明白了......
猜你喜欢
  • 1970-01-01
  • 2020-01-07
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2012-03-18
  • 2011-04-12
  • 2022-12-07
相关资源
最近更新 更多