instalar 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
sudo apt install dirmngr gnupg apt-transport-https software-properties-common ca-certificates curlCopy
sudo apt updatesudo apt install mongodb-orgCopyCopy
apt-get install mongodb-org -y