2016-11-14 20:48:51 +01:00
|
|
|
MongoDB is a scalable, high-performance, open source document-oriented
|
|
|
|
database.
|
2014-07-05 02:58:12 +02:00
|
|
|
|
2016-11-14 20:48:51 +01:00
|
|
|
You'll need to create a mongo user and group in order to run mongo with
|
|
|
|
the provided init script:
|
2014-07-05 02:58:12 +02:00
|
|
|
|
|
|
|
# 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
|
2021-11-21 10:35:46 +01:00
|
|
|
|
|
|
|
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)
|