快速启动mongo服务器:./mongod --config mongodb.conf
=========================================================
1、yum install libcurl openssl
2、wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-3.2.4.tgz
3、tar zxvf mongodb-linux-x86_64-rhel70-3.2.4.tgz
4、cd mongodb-linux-x86_64-rhel70-3.2.4/bin/
5、vi mongodb.conf
dbpath = /root/soft999/mongoDB306/db (文件夹)
logpath = /root/soft999/mongoDB306/mongdb.log (文件)
port = 27017
fork = true
auth = true
nohttpinterface=true
------------------------------------
启动服务器:
./m