Install MongoDB v5#
The system requirements of MongoDB can be found here.
In addition, MongoDB provides a checklist for use in operation.
CPU AVX support
MongoDB 5.0+ requires a CPU with AVX support
see also https://www.mongodb.com/community/forums/t/mongodb-5-0-cpu-intel-g4650-compatibility/116610/2
see also https://github.com/docker-library/mongo/issues/485#issuecomment-891991814
We describe the use of Debian GNU/Linux version 11 "bullseye" as the operating system under which i-doit should be run.
MongoDB currently does not officially support Debian 11. However, we were able to use MongoDB with the Forms add-on in several test installations.
On the terminal, we run the following commands:
Ubuntu ships with gnupg, for Ubuntu users this step can be skipped.
We install gnupg:
We import the public key for the mongodb-org repository:
Now we create a sources file for MongoDB:
This repo is to be used for Debian only!
This repo is to be used for Ubuntu 20.04 only!
Now we update the local package database:
Now we can install MongoDB:
Next, we reload the services:
So that MongoDB is started at the next system start:
Now we start MongoDB: