Home > Storage > PowerStore > Databases and Data Analytics > Dell PowerStore: MongoDB Solution Guide > MongoDB installation
The installation steps are well documented on the MongoDB portal. There are several ways to install the MongoDB on a self-managed platform. The following summarizes the installation of MongoDB Enterprise edition version 6.0 on a Red Hat based system.
Save the following entry in the /etc/yum.repos.d/ directory.
[mongodb-enterprise-6.0]
name=MongoDB Enterprise Repository
baseurl="https://repo.mongodb.com/yum/redhat/$releasever/mongodb-enterprise/6.0/$basearch/"
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-6.0.asc
# yum install mongodb-enterprise
Besides disabling the MongoDB YUM repository, you can explicitly exclude the packages from future yum updates by adding the following line in the /etc/yum.conf file.
exclude=mongodb-enterprise-database,mongodb-enterprise-server,mongodb-enterprise,mongodb-mongosh,mongodb-database-tools,mongodb-enterprise-tools,mongodb-enterprise-cryptd,mongodb-enterprise-mongos,mongodb-enterprise-database-tools-extra