MongoDB 7 and Studio 3T In Ubuntu 22.04

preview_player
Показать описание
This a demo on how to install mongodb 7 in ubuntu.

Install MongoDB Community Edition:

1 Import the public key used by the package management system
sudo apt-get install gnupg curl

import the MongoDB public GPG key

--dearmor

2 Create a list file for MongoDB

3 Reload local package database
sudo apt-get update

4 Install the MongoDB packages
sudo apt-get install -y mongodb-org


Run MongoDB Community Edition

1 Start MongoDB
sudo systemctl start mongod
2 Verify that MongoDB has started successfully
sudo systemctl status mongod
3 This will ensure MongoDb to start on the next reboot
sudo systemctl enable mongod


Begin using MongoDB
mongosh

Create MongoDB Admin User

mongosh
use admin


Enable MongoDB authentication

security:
authorization: enabled

sudo systemctl restart mongod

Confirm if MongoDB is allowing remote connections using the following command.
sudo lsof -i | grep mongo


Reboot
sudo systemctl restart mongod
sudo systemctl stop mongod
sudo systemctl daemon-reload
sudo systemctl start mongod

Steps to install Robo 3T or Studio 3T free on Ubuntu 22.04

Update Ubuntu 22.04

download
cd Downloads
ls
tar -xvf (tarfile)

Run the Studio 3T installer.

Registration

My Other Channel:

Buy me a coffee:

Join my facebook group for more:
Рекомендации по теме
Комментарии
Автор

is it ok to enable the mongod all the time ? won't it put pressure on the cpu ?

tarunbuser
Автор

Getting errors like: Status=ILL, on some occassions ILL4, code=dumped

RolwachtLoulwacht