Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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

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

how to install mongodb database in ubuntu version

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
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 database in ubuntu version

> echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
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 :: create new repository on the command line 
Shell :: screenshot to clipboard ubuntu 20 
Shell :: linux install icloud 
Shell :: bash command to open file explorer 
Shell :: how to push code to bitbucket 
Shell :: dev/mapper/ubuntu--vg-ubuntu--lv 
Shell :: edit text file bash 
Shell :: bash switch 
Shell :: generate component angular without folder 
Shell :: read all test in directory golang 
Shell :: git squash branch 
Shell :: cmd unzip windows 
Shell :: start nginx mac 
Shell :: Package signatures do not match previously installed version; ignoring! 
Shell :: restore git stash 
Shell :: grep if 
Shell :: bad interpreter: /bin/python3^M: no such file or directory 
Shell :: path/to/sdkmanager --install "cmdline-tools;latest" 
Shell :: git reset a single file to previous commit 
Shell :: how to mount a flash drive in wsl 
Shell :: expo uninstall 
Shell :: best code editors 2022 
Shell :: amplify delete storage 
Shell :: svelte typescript 
Shell :: wsl2 ubuntu xfce 
Shell :: compare two files shell script 
Shell :: Could not extract RVM sources 
Shell :: list files in cmd 
Shell :: nvm change version 
Shell :: powershell display environment variables 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =