On this page本页内容
MongoDB is available in two server editions: Community and Enterprise.
MongoDB Atlas
This section of the manual contains information on installing MongoDB.
MongoDB Community Edition installation tutorials include:
Linux | |
macOS | Install MongoDB Community Edition on macOS |
Windows | Install MongoDB Community Edition on Windows |
MongoDB Enterprise Edition installation tutorials include:
Linux | |
macOS | Install MongoDB Enterprise on macOS |
Windows | Install MongoDB Enterprise Edition on Windows |
Docker | Install MongoDB Enterprise with Docker |
Important
Do not use these instructions to upgrade to another release version. To upgrade release versions, refer to the appropriate release upgrade instructions, such as Upgrade to MongoDB 4.2.
Changed in version 3.4.在版本3.4中更改。MongoDB no longer supports 32-bit x86 platforms.
Platform Support EOL Notice
Amazon Linux 2013.03 | Support removed in MongoDB 4.4+. |
Windows 8.1 / Server 2012 R2 | Support removed in MongoDB 4.4+. |
Windows 8 / Server 2012 | Support removed in MongoDB 4.4+. |
Windows 7 / Server 2008 R2 | Support removed in MongoDB 4.4+. |
macOS 10.12 | Support removed in MongoDB 4.4+. |
Platform | 4.4 Community & Enterprise | 4.2 Community & Enterprise | 4.0 Community & Enterprise | 3.6 Community & Enterprise |
---|---|---|---|---|
Amazon Linux 2 | ✓ | ✓ | ✓ | |
Amazon Linux 2013.03 and later | ✓ | ✓ | ✓ | |
Debian 10 | ✓ | 4.2.1+ | ||
Debian 9 | ✓ | ✓ | ✓ | 3.6.5+ |
RHEL/CentOS/Oracle Linux [1] 8.0 and later | ✓ | 4.2.1+ | 4.0.14+ | 3.6.17+ |
RHEL/CentOS/Oracle Linux [1] 7.0 and later | ✓ | ✓ | ✓ | ✓ |
RHEL/CentOS/Oracle Linux [1] 6.2 and later | ✓ | ✓ | ✓ | ✓ |
SLES 15 | ✓ | 4.2.1+ | ||
SLES 12 | ✓ | ✓ | ✓ | ✓ |
Ubuntu 20.04 | ✓ | |||
Ubuntu 18.04 | ✓ | ✓ | 4.0.1+ | 3.6.20+ |
Ubuntu 16.04 | ✓ | ✓ | ✓ | ✓ |
Windows Server 2019 | ✓ | ✓ | ||
Windows 10 / Server 2016 | ✓ | ✓ | ✓ | ✓ |
Windows 8.1 / Server 2012 R2 | ✓ | ✓ | ✓ | |
Windows 8 / Server 2012 | ✓ | ✓ | ✓ | |
Windows 7 / Server 2008 R2 | ✓ | ✓ | ✓ | |
macOS 10.13 and later | ✓ | ✓ | ✓ | |
macOS 10.12 | ✓ | ✓ | ✓ |
[1] | (1, 2, 3) MongoDB only supports Oracle Linux running the Red Hat Compatible Kernel (RHCK). MongoDB does not support the Unbreakable Enterprise Kernel (UEK). |
Platform | 4.4 Community & Enterprise | 4.2 Community & Enterprise | 4.0 Community & Enterprise | 3.6 Community & Enterprise |
---|---|---|---|---|
Ubuntu 20.04 | ✓ | |||
Ubuntu 18.04 | ✓ | ✓ | ||
Ubuntu 16.04 | Enterprise only | Enterprise only | ✓ | ✓ |
Platform | 4.4 Enterprise | 4.2 Enterprise | 4.0 Enterprise | 3.6 Enterprise |
---|---|---|---|---|
RHEL/CentOS 8 | ✓ | 4.2.7+ | ||
RHEL/CentOS 7 | ✓ | ✓ | ✓ | ✓ |
Ubuntu 18.04 | ✓ | ✓ |
Platform | 4.4 Community | 4.2 Community | 4.0 Community | 3.6 Community |
---|---|---|---|---|
RHEL/CentOS 7 | ✓ | 4.2.0 - 4.2.9 | 4.0.6 - 4.0.13 | |
RHEL/CentOS 6 | 4.0.0 - 4.0.13 | |||
SLES 12 | ✓ | 4.2.0 - 4.2.9 | 4.0.6 - 4.0.13 | |
Ubuntu 18.04 | ✓ | 4.2.1 - 4.2.9 | 4.0.6 - 4.0.13 |
Platform Support EOL Notice
RHEL 6 s390x | Support removed in MongoDB 4.4+ Enterprise. |
Platform | 4.4 Enterprise | 4.2 Enterprise | 4.0 Enterprise | 3.6 Enterprise |
---|---|---|---|---|
RHEL/CentOS 7 | ✓ | ✓ | 4.0.6+ | 3.6.0 - 3.6.16 |
RHEL/CentOS 6 | 4.2.4+ | ✓ | 3.6.0 - 3.6.13 | |
SLES 12 | ✓ | ✓ | 4.0.6+ | 3.6.0 - 3.6.16 |
Ubuntu 18.04 | ✓ | 4.2.1+ | 4.0.6+ | 3.6.20+ |
Platform | 4.4 Community & Enterprise |
---|---|
RHEL UBI 7 on Docker 19.03 | ✓ |
Ubuntu 16.04 on Docker 19.03 | ✓ |