Answers for "how to install mongodb in ubuntu 20.04 stackoverflow"

0

how to install mongodb in ubuntu 20.04 stackoverflow

sudo apt-get install gnupg
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
sudo apt-get update
sudo apt-get upgrade
sudo apt update
sudo apt upgrade
sudo apt-get install -y mongodb-org
sudo apt-get install libc6
sudo service mongod start
sudo service mongod status
Posted by: Guest on April-13-2021

Code answers related to "how to install mongodb in ubuntu 20.04 stackoverflow"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language