CentOS6.5上源码安装MongoDB3.2.11、环境准备:mkdir/server/mongodb-p#创建MongoDB程序存放目录mkdir/server/data/mongodata-p#创建数据存放目录mkdir/server/data/log/mongolog-p#创建日志存放目录mkdir/server/mongodb/run–pmkdir/server/mongodb/etc–p