Document-oriented and NoSQL database


MongoDB is a free and open source database and uses a document-oriented data model.


# dnf install mongodb mongodb-server
# service mongod start

How to install a specific version

First we need configure the package management system, please note that:

DNF by default uses the global configuration file at /etc/dnf/dnf.conf and all *.repo files found under /etc/yum.repos.d. The latter is typically used for repository configuration and takes precedence over global configuration.

Access the directory and create a file mongodb-org-release_series.repo

$ cd /etc/yum.repos.d/
$ sudo touch mongodb-org-4.4.repo  

Insert this content inside mongodb-org-release_series.repo, edit if you want install another version.

name=MongoDB Repository

Now you can install with dnf

$ sudo dnf install -y mongodb-org

Run mongoDB

Start mongoDB service and after run mongoshell to test connection

$ sudo service mongod start
$ mongo
MongoDB shell version: 4.0.0
connecting to: test

MongoDB GUI (not tested)

MongoDB Admin is a Cross Platform GUI.

Authors: Daniela Marques de Morais, Kenneth K Au, Luis Contreras, Muayyad Alsadi, Sergey Ushakov