-
Notifications
You must be signed in to change notification settings - Fork 1.7k
(DOCS-10468): Revised Windows Install for MongoDB #3346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
Starting in MongoDB 3.6, MongoDB binaries, :binary:`~bin.mongod` and | ||
:binary:`~bin.mongos`, bind to localhost by default. | ||
Previously, starting in MongoDB 2.6, only the binaries from the | ||
Starting with MongoDB 3.6, MongoDB binaries, :binary:`~bin.mongod` and | ||
:binary:`~bin.mongos`, bind to ``localhost`` by default. | ||
From MongoDB versions 2.6 to 3.4, only the binaries from the | ||
official MongoDB RPM (Red Hat, CentOS, Fedora Linux, and derivatives) | ||
and DEB (Debian, Ubuntu, and derivatives) packages bind to localhost by | ||
default. For more details, see :ref:`3.6-bind_ip-compatibility`. | ||
and DEB (Debian, Ubuntu, and derivatives) packages would bind to | ||
``localhost`` by default. To learn more about this change, see | ||
:ref:`3.6-bind_ip-compatibility`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
Hardware Requirements | ||
~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
|mdb-edition| requires an x86 64-bit architecture. | ||
|
||
Software Requirements | ||
~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Install on Windows 7 / Server 2008 R2 or Later | ||
|mdb-edition| requires Microsoft Windows Server | ||
2008 R2 or later or Microsoft Windows 7 or later for the x86 64-bit | ||
architecture. | ||
|
||
To find which version, service pack, and build of Windows is | ||
running on your host, as well as the processor type of that host, | ||
enter the following command in either the :guilabel:`Command Prompt` | ||
or :guilabel:`Powershell`: | ||
|
||
.. code-block:: powershell | ||
|
||
systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"System Type" | ||
|
||
.. code-block:: powershell | ||
:copyable: false | ||
|
||
OS Name: Microsoft Windows 10 Pro | ||
OS Version: 10.0.17134 N/A Build 17134 | ||
System Type: x64-based PC | ||
|
||
Show All File Name Extensions | ||
Make certain that you set Windows Explorer to show file name | ||
extensions for all file types. This can prevent issues where the | ||
file type displayed to the user differs from the actual file type. | ||
|
||
.. example:: | ||
|
||
If Windows Explorer has known file extensions hidden, what may | ||
appear to be ``mongod.cfg`` is actually ``mongod.cfg.txt``. | ||
|
||
Install all Windows Updates | ||
Before installing MongoDB, update your Windows host with the latest | ||
system updates. At minimum, ensure the following Windows updates | ||
are installed on the host: | ||
|
||
- Windows 2012 Server and Windows 10 need | ||
`KB2999226 <https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows>`__ | ||
to provide Universal C Runtime support for Windows. | ||
|
||
- Windows Server 2008 R2 and Windows 7 need | ||
`KB2731284 <http://support.microsoft.com/kb/2731284>`__ to resolve | ||
an issue with memory mapped files on Windows. | ||
|
||
The Windows installer (``.msi``) file includes all other | ||
software dependencies and automatically upgrades any previous version | ||
of MongoDB in the :ref:`same release series <release-version-numbers>` | ||
(3.4.1 to 3.4.2) that was installed using an ``.msi`` file. Upgrading | ||
a full release series (3.4 to 3.6) requires a new installation. | ||
|
||
Security | ||
~~~~~~~~ | ||
|
||
.. include:: /includes/fact-default-bind-ip-change.rst | ||
|
||
.. warning:: | ||
|
||
Do not expose :binary:`~bin.mongod.exe` to a public network without | ||
:docs:`configuring authentication </core/authentication>`. MongoDB | ||
is designed to be run in trusted environments. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
In Windows Explorer, locate the downloaded MongoDB ``.msi`` file, which | ||
typically is located in the default ``Downloads`` folder. Double-click | ||
the ``.msi`` file. The Windows Installer guides you through the | ||
installation process. | ||
1. Open Windows Explorer. | ||
|
||
You may specify an installation directory if you choose the | ||
:guilabel:`Custom` installation option. | ||
2. Change the directory path to where you downloaded the MongoDB | ||
``.msi`` file. By default, this is ``%HOMEPATH%\Downloads``. | ||
|
||
.. note:: | ||
3. Double-click the ``.msi`` file. | ||
|
||
These instructions assume that you have installed MongoDB | ||
to ``C:\Program Files\MongoDB\Server\{+version+}\``. | ||
4. The Windows Installer guides you through the installation process. | ||
|
||
If you choose the :guilabel:`Custom` installation option, you may | ||
specify an installation directory. | ||
|
||
MongoDB does not have any other system dependencies. You can install and run MongoDB from any folder you choose. | ||
|
||
.. note:: | ||
|
||
This tutorial assumes that you installed MongoDB | ||
in ``C:\Program Files\MongoDB\Server\{+version+}\``. | ||
|
||
During the installation process you will be given the option to install | ||
:ref:`MongoDB Compass <compass-index>` in addition to MongoDB Server. | ||
|
||
MongoDB is self-contained and does not have any other system | ||
dependencies. You can run MongoDB from any folder you choose. You may | ||
install MongoDB in any folder (e.g. ``D:\test\mongodb``). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It only upgrades patch level in the same release
Automatic Upgrade: 3.4.1 -> 3.4.2
Not Upgrade, treated as two separate installs: 3.4.1 -> 3.6.0