In this video, we're going to walk through the process of installing MongoDB 6.0 Server on Ubuntu 22.04. MongoDB is a popular NoSQL database that offers flexibility and scalability for your applications
Some of the Commands
sudo apt-get install gnupg curl
curl -fsSL pgp.mongodb.co... | \sudo gpg -o /etc/apt/trusted.gpg.d//mongodb-server-6.0.gpg \--dearmor
echo "deb [ arch=amd64,arm64 ] repo.mongodb.o... jammy/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list
sudo systemctl enable --now mongod
sudo systemctl status mongod
Uninstall
sudo apt autoremove --purge mongodb-org
5 окт 2024