Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

start mongodb service ubuntu

sudo systemctl start mongod
sudo systemctl stop mongod
Comment

install mongo db ubuntu

wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -

echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list

sudo apt-get update
sudo apt-get install -y mongodb-org
Comment

start mongod ubntu

sudo service mongod start
Comment

how to install mongodb server in ubuntu

sudo apt install -y mongodb
# it will install mongodb server into linux system 
Comment

how to start mongodb server in ubuntu

 sudo systemctl start mongodb
# it will starts mongodb server
Comment

mongodb install ubuntu

follow the steps from the below link

https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
Comment

how to use mongodb in ubuntu terminal

mongod --dbpath ~/db/data
Comment

start mongodb ubuntu

sudo mkdir -p /data/db
sudo mongod --port 27017 --dbpath /data/db --fork --logpath /var/log/mongod.log
Comment

install mongodb ubuntu

# https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/
sudo apt-get install gnupg
wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add -
# for Ubuntu 20.04
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list
sudo apt-get update
sudo apt-get install -y mongodb-org
# if you get "mongodb-org-mongos : Depends: libssl1.1 (>= 1.1.1) but 1.1.0l-1~deb9u6 is to be installed" error
# https://stackoverflow.com/questions/50375979/getting-error-while-installing-mongodb-in-linux
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1~18.04.20_amd64.deb
sudo dpkg -i libssl1.1_1.1.1-1ubuntu2.1~18.04.20_amd64.deb
sudo apt-get install -y mongodb-org
Comment

how to install mongodb in ubuntu

sudo apt-get install gnupg
Comment

how to install mongodb in ubuntu

wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
Comment

PREVIOUS NEXT
Code Example
Shell :: powershell get all directories in path 
Shell :: alias bash laravel 
Shell :: Failed to load module "canberra-gtk-module" 
Shell :: linux distros 
Shell :: how to hide hostname mac terminal 
Shell :: are github and git same thing 
Shell :: how to install jupyter in excel 
Shell :: how to add a gif to a readme 
Shell :: View network transfer RX / TX (Linux) 
Shell :: how to undo a local commit 
Shell :: uninstall your phone app windows 10 
Shell :: uninstall dependency npm 
Shell :: brew uninstall 
Shell :: xampp apache not starting 
Shell :: run production environment nodejs 
Shell :: warning: LF will be replaced by CRLF 
Shell :: homebrew redis install 
Shell :: git check ssh local 
Shell :: generate certificate 
Shell :: git pull with ssh 
Shell :: split string using linux cmd 
Shell :: zip linux exclude directory 
Shell :: service redis restart 
Shell :: How to clear or delete Terminal history in linux 
Shell :: how to unzip tar.gz file 
Shell :: install lutris ubuntu 
Shell :: ubuntu wsl disable sudo password prompt 
Shell :: get path of command 
Shell :: how to install windows command line installer scoop 
Shell :: bash command substitution 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =