From Fedora Project Wiki

Revision as of 14:10, 7 May 2013 by Jskladan (talk | contribs) (Created page with "= Setup = == add repo == [10gen] name=10gen Repository baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64 gpgcheck=0 enabled=1 == install == # yum install mo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Setup

add repo

[10gen] name=10gen Repository baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64 gpgcheck=0 enabled=1

install

  1. yum install mongo-10gen mongo-10gen-server

edit

/etc/init.d/mongod: - # pidfile: /var/run/mongo/mongod.pid +# pidfile: /var/lib/mongo/mongod.lock

/etc/mongod + smallfiles = true

run

  1. systemctl --system daemon-reload
  2. service mongod start
  3. chkconfig mongod on