mongodb installation in ubuntu 22.04 | install mongodb ubuntu 22.04 server

Описание к видео mongodb installation in ubuntu 22.04 | install mongodb ubuntu 22.04 server

mongodb installation in ubuntu 22.04 | install mongodb ubuntu 22.04 server | mongo database tutorial

#mongodb #database #mongodbserver

Step-1: Import the MongoDB GPG Key
wget -qO - https://www.mongodb.org/static/pgp/se... | sudo tee /etc/apt/trusted.gpg.d/mongodb.asc
Step-2: Add MongoDB Repository to APT Sources
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu $(lsb_release -cs)/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list


Step-3: Update Package List
sudo apt-get update

Step-4: Install MongoDB
sudo apt-get install -y mongodb-org

Step-5: Start MongoDB Service
sudo systemctl start mongod

Step-6: Enable MongoDB to Start on Boot
sudo systemctl enable mongod

Step-7: Check the Status of MongoDB
sudo systemctl status mongod

Step-8: Access MongoDB Shell
mongosh

Комментарии

Информация по комментариям в разработке