Skip to content

Instantly share code, notes, and snippets.

@sakama
Created September 13, 2011 01:49
Show Gist options
  • Save sakama/1212958 to your computer and use it in GitHub Desktop.
Save sakama/1212958 to your computer and use it in GitHub Desktop.
MongoDB installation
sudo vi /etc/yum.repos.d/CentOS-Base.repo
[10gen]
name=10gen Repository
baseurl=http://downloads.mongodb.org/distros/centos/5.4/os/$basearch/
gpgcheck=0
enabled=1
yum search mongo-stable*
yum --enablerepo=10gen search mongo
yum --enablerepo=10gen install mongo-stable*
yum --enablerepo=10gen install mongo-stable
yum --enablerepo=10gen install mongo-stable*
yum --enablerepo=10gen install mongo-stable mongo-stable-debuginfo mongo-stable-server
mongod --version
service mongod start
chkconfig mongod on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment