Use the Mongo Database Manual to Install MongoDB Community Edition. The following instructions provide an example using Yum to create the Mongo Database Repository, install the Mongo Database, and start the Mongo Database service.
Open the terminal and sign in as a superuser. Use your favorite editor to create a file called /etc/yum.repos.d/mongodb-org-4.0.repo
containing the following information:
[mongodb-org-4.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.0/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-4.0.asc
To begin the MongoDB installation, enter the following command into the shell.
sudo yum install -y mongodb-org
The installation creates the default directories with the owner and group set to mongod.
Continue with Install the StorCycle Solution