Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing mongoDB #31

Open
mykefon opened this issue Jun 8, 2022 · 1 comment
Open

Installing mongoDB #31

mykefon opened this issue Jun 8, 2022 · 1 comment

Comments

@mykefon
Copy link

mykefon commented Jun 8, 2022

No description provided.

@mykefon
Copy link
Author

mykefon commented Jun 8, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant