NOSQL之Mongodb安装

Linux wxseio-web 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
下载Momgodb 64位安装程序 http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.4.9.tgz
1) 、下载mongodb-linux-x86_64-2.4.9.tgz到/usr/local/下
tar xvf mongodb-linux-x86_64-2.4.9.tgz
mv mongodb-linux-x86_64-2.4.9.tgz  mongodb
cd mongodb 

port = 27017
logpath = /data/mongodb/27017/mongodb.log
logappend = true
fork = true
dbpath = /data/mongodb/27017
journal = true
replSet = true
rest = true
oplogSize = 64

/usr/local/mongodb/bin/mongod -f  /usr/local/mongodb/config/mongodb27017.conf


猜你喜欢

转载自0001111.iteye.com/blog/2003383