Answers for "install mongodb ubuntu 20.04"

31

mongodb install in ubuntu

sudo apt update
sudo apt install -y mongodb
//checking service and db
sudo systemctl status mongodb
or service mongodb status
//start service
sudo systemctl start mongod
or service mongodb start
//stop service
sudo systemctl stop mongod  or
service mongodb stop
Posted by: Guest on September-18-2020
-1

install mongo ubuntu 20.04

sudo systemctl restart mongod
Posted by: Guest on February-10-2021
2

install mongodb ubuntu 20.04

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 install -y mongodb-org
Posted by: Guest on August-18-2020
0

how to install mongodb in ubuntu 20.04 lts fossa

sudo apt update
# Import the public key used by the package management system
# The operation should respond with an OK.
wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
# Create a list file for MOngoDB
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list
# Reload localpackage database
sudo apt update
#Install MongoDB packages
sudo apt install -y mongodb-org
Posted by: Guest on July-08-2020
0

install mongo ubuntu 20.04

sudo systemctl enable mongod
Posted by: Guest on May-14-2021
2

mongodb install ubuntu

follow the steps from the below link

https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
Posted by: Guest on January-13-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language