how to install mongodb 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
sudo systemctl start mongod
sudo systemctl start mongod
sudo systemctl stop mongodwget -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
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
sudo apt-get install gnupg
Also in C++:
- yarn install
- terraform fmt
- batch directory
- linux remove all files same extension in directory
- bash equivalent of /?
- install net tools in manjaro
- valet phpmyadmin 404
- vs code installed extensions list command
- git clone specific branch
- apt-get install certbot
- nmap scan ubuntu
- groupadd to folder linux fedora
- install siege on mac
- install tkinter
- image crop android github
- tigervnc install on centos 7 step by step
- how to use https in npm install instead of ssh
- youtube-dl uninstall mac
- pycharm ubuntu 20.04
- code blocks download for debian
- otu table tsv in biom
- fish add to path
- ubuntu open file system from terminal
- shut down computer in terminal linux