文章目录
1. MongoDB 数据库启停
1. 启动数据库
1. 通用方式启动MongoDB数据库
# 示例1:通用方式启动MongoDB数据库
启动数据库服务:
# /data/third_party/mongodb/DB_PORT/bin/mongod -f /data/third_party/mongodb/DB_PORT/conf/DB_POR.cnf
查看数据库进程:
# ps -ef|grep -v grep|grep mongo |grep <DB_PORT>
root 194914 1 8 11:17 ? 00:00:00 /data/third_party/mongodb/<DB_PORT>/bin/mongod -f /data/third_party/mongodb/<DB_PORT>/conf/<