DEV Community

Ankit Sahu
Ankit Sahu

Posted on

2 1

Install MongoDB 4.4 on Fedora

Add the following in yum repository configuration file

$ sudo vi /etc/yum.repos.d/mongodb.repo
Enter fullscreen mode Exit fullscreen mode
[Mongodb]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/8Server/mongodb-org/4.4/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-4.4.asc
Enter fullscreen mode Exit fullscreen mode

Install MongoDB

$ sudo dnf install mongodb-org
Enter fullscreen mode Exit fullscreen mode

Start MongoDB Service

$ sudo systemctl enable mongod.service
$ sudo systemctl start mongod.service
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay