Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经在 Centos 6.5 中安装了 mongodb。mongodb 文件夹在
/usr/mongodb/.
但是当我运行“service mongod start”时,它显示错误:
mongod 服务无法识别。
但是如果我们进入run "/user/mongodb/bin/mongod",服务启动并且工作正常。请提出解决方案。
run "/user/mongodb/bin/mongod",
mongodb 是核心应用,但服务不包含在其中。mongod 服务实际上是 mongodb-server 安装的一部分。完全忘记了 CO6.5,但在 CO7 中,您需要
yum install mongodb mongodb-server
在您可以启动 mongod 服务之前。