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
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
Also in C++:
- how to check when was the last UBUNTU server patched
- if dir bash
- powershell download file
- sudo systemctl restart networking
- bash provide path to same dir as executable
- convert vmdk to qcow2
- delete branch github
- linux install make
- ModuleNotFoundError: No module named 'virtualenv.seed.embed.via_app_data'
- add user to group arch
- ssh config
- zsh virtualenv
- how to install to mysql server in powershell
- install jdk linux
- how to install pyaudio in ubuntu
- install grunt mac
- how to install ros package
- install tor linux
- how to kill process ubuntu
- remove MiniDLNA
- how to update chrome in ubuntu
- browsing history linux file location
- awk first upper
- install a pkge at a specified version