Question : Installing mongodb over ubuntu 22.04
Answered by : naresh-r
echo "deb http://security.ubuntu.com/ubuntu impish-security main" | sudo tee /etc/apt/sources.list.d/impish-security.list
sudo apt-get update
sudo apt-get install libssl1.1
Source : https://www.mongodb.com/community/forums/t/installing-mongodb-over-ubuntu-22-04/159931/4 | Last Update : Thu, 05 May 22
Question : how to install mongoDB on ubuntu 22.04
Answered by : mazeltov27
Install MongoDB on Ubuntu
- Ensuring the server is up to date:
$ sudo apt update
$ sudo apt upgrade -y
$ sudo apt dist-upgrade -y
- Install Required Packages:
$ sudo apt install gnupg
$ echo "deb http://security.ubuntu.com/ubuntu impish-security main" | sudo tee /etc/apt/sources.list.d/impish-security.list
sudo apt update
sudo apt install libssl1.1
- Install MongoDB
$ wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add -
$ 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 update
$ sudo apt install -y mongodb-org
Once installed, check the version of MongoDB:
$ mongod -version
Once the service has been installed, start and enabling MongoDB Service:
$ sudo systemctl start mongod
$ sudo systemctl status mongod
Our MongoDB service is up and running, then enable it to start
on boot using:
$ sudo systemctl enable mongod
Source : | Last Update : Tue, 20 Sep 22
Question : can we install mongodb in ubuntu 22.04
Answered by : cruel-crayfish-g97x7rvp02f3
sudo apt install gnupg
Source : https://www.cloudbooklet.com/how-to-install-mongodb-on-ubuntu-22-04/ | Last Update : Fri, 09 Sep 22