Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

install mongo ubuntu 20.04

sudo systemctl status mongod
Comment

install mongo ubuntu 20.04

sudo systemctl enable mongod
Comment

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
Comment

mongodb install ubuntu 20.04

FOR WSL2

wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
sudo apt-get install gnupg
wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
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

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

sudo nano /etc/init.d/mongod
paste this content in the file 'https://raw.githubusercontent.com/mongodb/mongo/master/debian/init.d'

#give permissions
sudo chmod +x /etc/init.d/mongod

#start the service
sudo service mongod start
Comment

install mongo ubuntu 20.04

sudo systemctl start mongod
Comment

install mongo ubuntu 20.04

sudo systemctl stop mongod
Comment

download mongodb ubuntu 20.04

wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -sudo add-apt-repository 'deb [arch=amd64] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse'CopyCopy
Comment

install mongo ubuntu 20.04

mongo
Comment

PREVIOUS NEXT
Code Example
Shell :: how to open running docker container 
Shell :: raspberry add-apt-repository command not found 
Shell :: netsh wlan command for wifi password 
Shell :: how to search all subfolders in linux for file 
Shell :: check what ports are open linux 
Shell :: powershell join array 
Shell :: list of unmerged branches 
Shell :: Kali linux Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? virtualbox 
Shell :: please reinstall android studio from scratch 
Shell :: alternative to installonair 
Shell :: ssh get key 
Shell :: windows port permission denied 
Shell :: speed test centos 
Shell :: pip install mysqlclient 
Shell :: is linux good 
Shell :: cpanel webdav windows 
Shell :: mongodb view users 
Shell :: vscode get list of installed extensions 
Shell :: install docker on Amazon Linux 2 AMI 
Shell :: bily-101 github 
Shell :: rmazenamento de chaves JKS usa um formato proprietário. É recomendada a migração para PKCS12, que é um formato de padrão industrial 
Shell :: setup githubcopilot remote 
Shell :: creating a gitignore for xcode project 
Shell :: install gnu grep on mac 
Shell :: find out current shell 
Shell :: terminal list items in directory 
Shell :: how to check installed packages in linux command 
Shell :: how to make python + docx exe 
Shell :: linux ls directories only 
Shell :: sudo apt-key adv --keyserver keys.gnupg.net --recv-key 6F3EFCDE 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =