You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While doing the project, I couldn't get passed the MongoDB installation part as I tried to install it.
I got this error after running "Sudo apt-get install MongoDB-org" command "Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package MongoDB-org"
I found a link that seemed to work but when I tried it, I had an issue with missing some dependencies
MongoDB-org-mongos : Depends: libssl1.1 (>= 1.1.1) but it is not installable
MongoDB-org-server : Depends: libssl1.1 (>= 1.1.1) but it is not installable
MongoDB-org-shell : Depends: libssl1.1 (>= 1.1.1) but it is not installable
I am using ubuntu 22.04 from AWS ec2 for this project. Here I found a solution that solved this problem for me
the steps from this link got it to work for me.
[(https://www.cloudbooklet.com/how-to-install-mongodb-on-ubuntu-22-04)/]
I've got MongoDB up and active now
● mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2022-06-08 05:21:30 UTC; 9h ago
Docs: https://docs.mongodb.org/manual
Main PID: 2730 (mongod)
Memory: 68.8M
CPU: 2min 15.243s
CGroup: /system.slice/mongod.service
└─2730 /usr/bin/mongod --config /etc/mongod.conf
Jun 08 05:21:30 ip-172-31-29-122 systemd[1]: Started MongoDB Database Server.
No description provided.
The text was updated successfully, but these errors were encountered: