[root@linuxidc ~]#
[root@linuxidc ~]# service mongodb stop
Stopping MongoDB port 27117
[root@linuxidc ~]#
[root@linuxidc ~]#
[root@linuxidc ~]#
[root@linuxidc ~]# service mongodb start
Starting MongoDB port 27117 ... [root@linuxidc ~]
about to fork child process, waiting until server is ready for connections.
forked process: 36088
child process started successfully, parent exiting
[root@linuxidc ~]#
更多MongoDB相关教程见以下内容:
CentOS 编译安装 MongoDB与mongoDB的php扩展
CentOS 6 使用 yum 安装MongoDB及服务器端配置
Ubuntu 13.04下安装MongoDB2.4.3
《MongoDB 权威指南》(MongoDB: The Definitive Guide)英文文字版[PDF]
基于CentOS 6.5操作系统搭建MongoDB服务 uxidc.com/Linux/2014-11/108900.htm