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:
Ubuntu ships with gnupg, for Ubuntu users this step can be skipped.
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!
1 |
|
This repo is to be used for Ubuntu 20.04 only!
1 |
|
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 |
|