Create a /etc/yum.repos.d/mongodb-org-4.0.repo
Install MongoDB Community Edition on Red Hat Enterprise or CentOS Linux — MongoDB Manual https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/
Configure the package management system (yum
).
Create a /etc/yum.repos.d/mongodb-org-4.0.repo
file so that you can install MongoDB directly using yum
: