Thursday, September 22, 2022

MongoDB install on Kubuntu 22.10

sudo apt update

apt list mongodb*

https://www.mongodb.com/try/download/community

sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb

sudo dpkg -i mongodb-org-server_6.0.1_amd64.deb

sudo dpkg -i mongodb-mongosh_1.6.0_amd64.deb


[sudo] password for user: 

Selecting previously unselected package mongodb-org-server.

(Reading database ... 282787 files and directories currently installed.)

Preparing to unpack mongodb-org-server_6.0.1_amd64.deb ...

Unpacking mongodb-org-server (6.0.1) ...

dpkg: dependency problems prevent configuration of mongodb-org-server:

 mongodb-org-server depends on libssl1.1 (>= 1.1.1); however:

 Package libssl1.1:amd64 is not installed.


https://packages.ubuntu.com/search?keywords=libssl1.1

https://packages.ubuntu.com/focal-updates/amd64/libssl1.1/download

sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb

sudo dpkg -i mongodb-org-server_6.0.1_amd64.deb 

(Reading database ... 282808 files and directories currently installed.)
Preparing to unpack mongodb-org-server_6.0.1_amd64.deb ...
Unpacking mongodb-org-server (6.0.1) over (6.0.1) ...
Setting up mongodb-org-server (6.0.1) ...
Processing triggers for man-db (2.10.2-2) ...

sudo systemctl status mongod

sudo systemctl start mongod

sudo systemctl restart mongod

sudo systemctl enable mongod

https://techviewleo.com/install-mongodb-on-ubuntu-linux/

No comments:

Post a Comment