MongoDB Install

64Bit

[10gen]

name=10gen Repository

baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64

gpgcheck=0

enabled=1

32Bit

[10gen]

name=10gen Repository

baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/i686

gpgcheck=0

enabled=1

Make Repository

vi /etc/yum.repos.d/10gen.repo

Install

yum install -y mongo-10gen mongo-10gen-server

Location

SettingFile :: /etc/mongod.conf

init script :: /etc/rc.d/init.d/mongod

dataFile :: /var/lib/mongo

logFile :: /var/log/mongo

Service Start

Service mongod start

Auto Start on Boot

chkconfig mongod on


+ Recent posts