启动方式 ./bin/mongod -f MongoDB.conf 会看到 about to fork child process, waiting until server is ready for connections.forked process: 2313child process started successfully, parent exiting 基本配置 #数据库数据存放目录 dbpath=/usr/local/mongodb304/data#数据库日志存放目录logpath…