![How to install mongodb on the server?](https://linux22.com/image/916105/How%20to%20install%20mongodb%20on%20the%20server%3F.png)
Installed the ubuntu 16.04 server. Next, I try to install mongodb 4.2 according to the instructions from the official site.
After entering the command (step 2)
echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list
I get this error
sudo: unable to resolve host sarnormail-vps-10
deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.2 multiverse
Help me figure out what it means?
sudo: unable to resolve host sarnormail-vps-10