mongodb install in debian code example
Example 1: install mongodb debian 10
sudo systemctl enable mongod --nowCopy
Example 2: install mongodb debian 10
curl -fsSL https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -Copy
sudo systemctl enable mongod --nowCopy
curl -fsSL https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -Copy