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 https://jira.mongodb.org/browse/SERVER-54407
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
Recommendation
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:
We install gnupg:
1 |
|
We import the public key for the mongodb-org repository:
1 |
|
Now we create a sources file for MongoDB:
This repo is to be used for Debian only!
echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list
Now we update the local package database:
1 |
|
Now we can install MongoDB:
1 |
|
Next, we reload the services:
1 |
|
So that MongoDB is started at the next system start:
1 |
|
Now we start MongoDB:
1 |
|