Installer MongoDB Debian 10
sudo add-apt-repository 'deb https://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main'Copy
Embarrassed Elk
sudo add-apt-repository 'deb https://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main'Copy
sudo systemctl enable mongod --nowCopy
curl -fsSL https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -Copy
sudo apt install dirmngr gnupg apt-transport-https software-properties-common ca-certificates curlCopy
sudo apt updatesudo apt install mongodb-orgCopyCopy