summaryrefslogtreecommitdiffstats
path: root/system/mongodb/README
blob: f2e41d4aff1d64675c30f38f4a26c7d86a45284a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
MongoDB is a scalable, high-performance, open source document-oriented
database.

You'll need to create a mongo user and group in order to run mongo with
the provided init script:

# groupadd -g 285 mongo
# useradd -u 285 -d /var/lib/mongodb -s /bin/false -g mongo mongo

You'll also need to add the following to /etc/rc.d/rc.local

if [ -x /etc/rc.d/rc.mongodb ]; then
    /etc/rc.d/rc.mongodb start
fi

NOTE: mongodb 5.0 requires use of the AVX instruction set: check if
your cpu supports it with

  grep avx /proc/cpuinfo | uniq

(no output means it doesn't)