Installing MongoDB
- Install the mongodb-org meta-package: sudo dnf install mongodb-org. ...
- Once the installation is completed, enable and start the MongoDB service: sudo systemctl enable mongod --now.
- To verify the installation, connect to the MongoDB database server and print the server version: mongo.