Skip to content

Instantly share code, notes, and snippets.

@ngsw
Created January 14, 2013 06:00
Show Gist options
  • Select an option

  • Save ngsw/4528010 to your computer and use it in GitHub Desktop.

Select an option

Save ngsw/4528010 to your computer and use it in GitHub Desktop.
cat >> /etc/yum.repos.d/10gen.repo <<'10GEN_REPO.EOF'
[10gen]
name=10gen Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
gpgcheck=0
enable=0
10GEN_REPO.EOF
yum -y install --enablerepo=10gen mongo-10gen-server
chkconfig mongod on
/etc/init.d/mongod start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment