diff --git a/source/includes/steps-configure-windows-service-for-mongodb.yaml b/source/includes/steps-configure-windows-service-for-mongodb.yaml index 46fc26b8148..557d46d575f 100644 --- a/source/includes/steps-configure-windows-service-for-mongodb.yaml +++ b/source/includes/steps-configure-windows-service-for-mongodb.yaml @@ -28,7 +28,7 @@ action: option to specify the previously created configuration file. language: powershell code: | - "C:\Program Files\MongoDB\Server\3.2\bin\mongod.exe" --config "C:\Program Files\MongoDB\Server\3.2\mongod.cfg" --install + "C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe" --config "C:\Program Files\MongoDB\Server\3.4\mongod.cfg" --install post: | To use an alternate :setting:`dbpath`, specify the path in the configuration file (e.g. ``C:\mongodb\mongod.cfg``) or @@ -59,5 +59,5 @@ action: To remove the MongoDB service use the following command: language: powershell code: | - "C:\Program Files\MongoDB\Server\3.2\bin\mongod.exe" --remove + "C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe" --remove ... diff --git a/source/includes/steps-create-manually-windows-service-for-mongodb.yaml b/source/includes/steps-create-manually-windows-service-for-mongodb.yaml index 436e448b3ea..3c9928347f9 100644 --- a/source/includes/steps-create-manually-windows-service-for-mongodb.yaml +++ b/source/includes/steps-create-manually-windows-service-for-mongodb.yaml @@ -30,7 +30,7 @@ pre: | # don't wrap the text above to avoid breaking something in primer action: pre: | - For example, create a file at ``C:\Program Files\MongoDB\Server\3.2\mongod.cfg`` that specifies both + For example, create a file at ``C:\Program Files\MongoDB\Server\3.4\mongod.cfg`` that specifies both :setting:`systemLog.path` and :setting:`storage.dbPath`: language: yaml code: | @@ -47,7 +47,7 @@ action: - pre: "Create the MongoDB service." language: powershell code: | - sc.exe create MongoDB binPath= "\"C:\Program Files\MongoDB\Server\3.2\bin\mongod.exe\" --service --config=\"C:\Program Files\MongoDB\Server\3.2\mongod.cfg\"" DisplayName= "MongoDB" start= "auto" + sc.exe create MongoDB binPath= "\"C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe\" --service --config=\"C:\Program Files\MongoDB\Server\3.4\mongod.cfg\"" DisplayName= "MongoDB" start= "auto" post: | ``sc.exe`` requires a space between "=" and the configuration values (eg "binPath= "), and a "\\" to escape double quotes. diff --git a/source/includes/steps-run-mongodb-on-windows.yaml b/source/includes/steps-run-mongodb-on-windows.yaml index b95929fa84e..ff295f4a0fd 100644 --- a/source/includes/steps-run-mongodb-on-windows.yaml +++ b/source/includes/steps-run-mongodb-on-windows.yaml @@ -17,13 +17,13 @@ action: :program:`mongod.exe`, for example: language: powershell code: | - "C:\Program Files\MongoDB\Server\3.2\bin\mongod.exe" --dbpath d:\test\mongodb\data + "C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe" --dbpath d:\test\mongodb\data - pre: | If your path includes spaces, enclose the entire path in double quotes, for example: language: powershell code: | - "C:\Program Files\MongoDB\Server\3.2\bin\mongod.exe" --dbpath "d:\test\mongo db data" + "C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe" --dbpath "d:\test\mongo db data" post: | You may also specify the ``dbpath`` in a :doc:`configuration file `. @@ -37,7 +37,7 @@ action: :guilabel:`Command Prompt`: language: powershell code: | - "C:\Program Files\MongoDB\Server\3.2\bin\mongod.exe" + "C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe" post: | This starts the main MongoDB database process. The ``waiting for connections`` message in the console output indicates that the @@ -45,7 +45,7 @@ post: | Depending on the security level of your system, Windows may pop up a :guilabel:`Security Alert` dialog box about blocking "some features" of - ``C:\Program Files\MongoDB\Server\3.2\bin\mongod.exe`` from communicating + ``C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe`` from communicating on networks. All users should select ``Private Networks, such as my home or work network`` and click ``Allow access``. For additional information on security and MongoDB, please see the :doc:`Security Documentation `. @@ -59,7 +59,7 @@ pre: | action: language: powershell code: | - "C:\Program Files\MongoDB\Server\3.2\bin\mongo.exe + "C:\Program Files\MongoDB\Server\3.4\bin\mongo.exe post: | If you want to develop applications using .NET, see the documentation of :ecosystem:`C# and MongoDB ` for more information. diff --git a/source/tutorial/configure-windows-netsh-firewall.txt b/source/tutorial/configure-windows-netsh-firewall.txt index 731e8de0241..52da80a50a9 100644 --- a/source/tutorial/configure-windows-netsh-firewall.txt +++ b/source/tutorial/configure-windows-netsh-firewall.txt @@ -92,14 +92,14 @@ following example: .. code-block:: bat - netsh advfirewall firewall add rule name="Allowing mongod" dir=in action=allow program=" C:\Program Files\MongoDB\Server\3.2\bin\mongod.exe" + netsh advfirewall firewall add rule name="Allowing mongod" dir=in action=allow program=" C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe" You can allow all access for a :program:`mongos.exe` server, with the following invocation: .. code-block:: bat - netsh advfirewall firewall add rule name="Allowing mongos" dir=in action=allow program=" C:\Program Files\MongoDB\Server\3.2\bin\mongos.exe" + netsh advfirewall firewall add rule name="Allowing mongos" dir=in action=allow program=" C:\Program Files\MongoDB\Server\3.4\bin\mongos.exe" Traffic to and from ``mongos.exe`` Instances ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~