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

Install MongoDB

Supported Platforms

Platform 3.0 2.6 2.4 2.2
Amazon Linux
Debian 7
Fedora 8+  
RHEL/CentOS 6.2+
RHEL/CentOS 7.0+    
SLES 11+
Solaris 11 64-bit MMAPv1-only
Ubuntu 12.04
Ubuntu 14.04    
Microsoft Azure
Windows Vista/Server 2008R2/2012+
macOS 10.8 and later  

Note

The MongoDB distribution for Solaris does not include support for the WiredTiger storage engine.

While MongoDB is available as both 64-bit and 32-bit builds, only 64-bit builds are supported in production.

Changed in version 3.0: Commercial support is no longer provided for MongoDB on 32-bit platforms (Linux and Windows). See Platform Support.

The 32-bit versions of MongoDB have the following limitations:

  • 32-bit versions of MongoDB do not support the WiredTiger storage engine.
  • 32-bit builds disable journaling by default because journaling further limits the maximum amount of data that the database can store.
  • When running a 32-bit build of MongoDB, the total storage size for the server, including data and indexes, is 2 gigabytes. For this reason, do not deploy MongoDB to production on 32-bit machines.

If you are running a 64-bit build of MongoDB, there is virtually no limit to storage size. For production deployments, 64-bit builds and operating systems are strongly recommended.

Installation Guides

See the Release Notes for information about specific releases of MongoDB.

Install on Linux

Documentations for installing the official MongoDB distribution on Linux-based systems.

Install on Red Hat
Install MongoDB on Red Hat Enterprise and related Linux systems using .rpm packages.
Install on Amazon Linux
Install MongoDB on Amazon Linux systems using .rpm packages.
Install on SUSE
Install MongoDB on SUSE Linux systems using .rpm packages.
Install on Ubuntu
Install MongoDB on Ubuntu Linux systems using .deb packages.
Install on Debian
Install MongoDB on Debian systems using .deb packages.
Install MongoDB From Tarball
Install the official build of MongoDB on other Linux systems from MongoDB archives.
Install on OS X
Install the official build of MongoDB on OS X systems from Homebrew packages or from MongoDB archives.
Install on Windows
Install MongoDB on Windows systems and optionally start MongoDB as a Windows service.
Install MongoDB Enterprise

MongoDB Enterprise is available for MongoDB Enterprise subscribers and includes several additional features including support for SNMP monitoring, LDAP authentication, Kerberos authentication, and System Event Auditing.

Install MongoDB Enterprise on Red Hat
Install the MongoDB Enterprise build and required dependencies on Red Hat Enterprise or CentOS Systems using packages.
Install MongoDB Enterprise on Ubuntu
Install the MongoDB Enterprise build and required dependencies on Ubuntu Linux Systems using packages.
Install MongoDB Enterprise on Amazon AMI
Install the MongoDB Enterprise build and required dependencies on Amazon Linux AMI.
Install MongoDB Enterprise on Windows
Install the MongoDB Enterprise build and required dependencies using the .msi installer.

First Steps with MongoDB

Once you have installed MongoDB, consider the Getting Started Guides to learn about MongoDB. The guides are available in various driver editions.