This version of the documentation is archived and no longer supported.

Install MongoDB on Red Hat Enterprise, CentOS, Fedora, or Amazon Linux

On this page


The host has been decommissioned. To get the binaries for MongoDB 2.4 (which has reached end of life):

Once downloaded, you can follow the instructions on Install MongoDB on Linux Systems.



You must configure SELinux to allow MongoDB to start on Fedora systems. Administrators have two options:

  • enable access to the relevant ports (e.g. 27017) for SELinux. See Configuration Options for more information on MongoDB’s default ports.
  • disable SELinux entirely. This requires a system reboot and may have larger implications for your deployment.