@@ -3,16 +3,14 @@ stepnum: 1
3
3
level : 4
4
4
ref : download-mongodb
5
5
content : |
6
- a. Open a web browser and visit the |mdb-download-link|.
6
+ Download the installer (``.msi``) from the |mdb-download-link|:
7
7
8
- # . The Download Center should display {{mongodb}} tab . If not,
8
+ a . The Download Center should display {{mongodb}} download information . If not,
9
9
select :guilabel:`Server`, then click the {{mongodb}} tab.
10
10
11
11
#. In the :guilabel:`Version` dropdown, select the version that
12
12
corresponds to MongoDB Server |version|. The download center always
13
- displays the latest available point version. For older
14
- point releases, click {{archive}} in the right hand navigation
15
- box.
13
+ displays the latest available point version.
16
14
17
15
#. In the :guilabel:`OS` dropdown, verify that ``Windows 64-bit X64``
18
16
is selected.
@@ -23,83 +21,124 @@ content: |
23
21
#. Click :guilabel:`Download`.
24
22
replacement :
25
23
mongodb : " :guilabel:`MongoDB Community Server`"
26
- archive : " :guilabel:`All version binaries`"
27
24
---
28
- title : " Open Windows Explorer/File Explorer. "
25
+ title : " Run the MongoDB installer "
29
26
stepnum : 2
30
27
level : 4
31
- ref : open-windows-explorer
32
- ---
33
- title : " Navigate to the directory in which you downloaded the MongoDB installer."
34
- stepnum : 3
35
- level : 4
36
- ref : change-to-download-directory
37
28
content : |
38
- Change the directory path to where you downloaded the MongoDB
39
- ``.msi`` file. By default, this is ``%HOMEPATH%\Downloads``.
29
+ From the Windows Explorer/File Explorer:
30
+
31
+ a. Navigate to the directory in which you downloaded the MongoDB installer (``.msi`` file).
32
+ By default, this is ``%HOMEPATH%\Downloads``.
33
+
34
+ #. Double-click the ``.msi`` file.
40
35
41
- ---
42
- title : " Double-click the ``.msi`` file."
43
- stepnum : 4
44
- level : 4
45
36
ref : run-windows-installer
46
37
---
47
38
title : " Follow the |mdb-edition| installation wizard."
48
- stepnum : 5
39
+ stepnum : 3
49
40
level : 4
50
41
ref : follow-install-wizard
51
42
content : |
52
43
53
44
The wizard steps you through the installation of MongoDB and MongoDB
54
45
Compass.
55
46
56
- You can choose either the :guilabel:`Complete` or :guilabel:`Custom`
57
- setup type. If you choose the :guilabel:`Custom` installation
58
- option, you may specify an installation directory. MongoDB has no
59
- other system dependencies. You can install and run MongoDB from any
60
- directory.
61
-
62
- Starting in MongoDB 4.0, you can, by default, configure and start
63
- MongoDB as a service during the install, and the MongoDB service is
64
- started upon successful installation.
65
-
66
- .. figure:: /images/windows-installer.png
67
- :alt: Image of the MongoDB Installer wizard. Optional Windows Service Configuration.
68
- :figwidth: 496px
69
-
70
- - If you choose not to configure MongoDB as a service, uncheck the
71
- :guilabel:`Install MongoD as a Service`.
47
+ a. :guilabel:`Choose Setup Type`
48
+ You can choose either the :guilabel:`Complete` (recommended for
49
+ most users) or :guilabel:`Custom` setup type. If you choose the
50
+ :guilabel:`Custom` installation option, you may specify which
51
+ executables are installed and where.
72
52
73
- - If you choose to configure MongoDB as a service, you can:
74
-
75
- - Specify to run the service as one of the following users:
76
-
77
- - Network Service user; i.e. a Windows user account that is
78
- built-in to Windows
53
+ #. :guilabel:`Service Configuration`
54
+ Starting in MongoDB 4.0, you can set up MongoDB as a service
55
+ during the install or just install. Click on the appropriate
56
+ tab for instructions.
57
+
58
+ .. tabs::
59
+
60
+ tabs:
61
+
62
+ - id: service
63
+ name: MongoDB Service
64
+ content: |
65
+
66
+ The following installs and configures MongoDB as a
67
+ service. To install only, click on the appropriate tab.
68
+
69
+ Starting in MongoDB 4.0, you can configure
70
+ and start MongoDB as a service during the install, and
71
+ the MongoDB service is started upon successful
72
+ installation.
73
+
74
+ .. figure:: /images/windows-installer.png
75
+ :alt: Image of the MongoDB Installer wizard - Service Configuration.
76
+ :figwidth: 496px
77
+
78
+
79
+ - Select :guilabel:`Install MongoD as a Service` MongoDB as a service.
80
+
81
+ - Select to :guilabel:`Run the service as` one of the following users:
82
+
83
+ - Network Service user (Default); i.e. a Windows user
84
+ account that is built-in to Windows
85
+
86
+ - Local or domain user:
87
+
88
+ - For an existing local user account, specify a
89
+ period (i.e. ``.``) for the :guilabel:`Account
90
+ Domain` and specify the :guilabel:`Account Name` and
91
+ the :guilabel:`Account Password` for the user.
92
+
93
+ - For an existing domain user, specify the
94
+ :guilabel:`Account Domain`, the
95
+ :guilabel:`Account Name` and the
96
+ :guilabel:`Account Password` for that user.
97
+
98
+ - :guilabel:`Service Name`. Specify the service
99
+ name. Default name is ``MongoDB``. If you already
100
+ have a service with the specified name, you must
101
+ choose another name.
102
+
103
+ - :guilabel:`Data Directory`. Specify the data
104
+ directory, which corresponds to the
105
+ :option:`--dbpath <mongod --dbpath>`. If the
106
+ directory does not exist, the installer will
107
+ create the directory and sets the directory access
108
+ to the service user.
109
+
110
+ - :guilabel:`Log Directory`. Specify the Log
111
+ directory, which corresponds to the
112
+ :option:`--logpath <mongod --logpath>`. If the
113
+ directory does not exist, the installer will
114
+ create the directory and sets the directory access
115
+ to the service user.
116
+
117
+ - id: mongodb
118
+ name: MongoDB
119
+ content: |
120
+
121
+ The following installs MongoDB only and does not
122
+ configure MongoDB as a service. To install and configure
123
+ MongoDB as a service, click on the appropriate tab.
124
+
125
+ If you choose not to configure MongoDB as a service,
126
+ uncheck the :guilabel:`Install MongoD as a Service`.
127
+
128
+ .. figure:: /images/windows-installer-install-only.png
129
+ :alt: Image of the MongoDB Installer wizard. Not as a service.
130
+ :figwidth: 498px
131
+
132
+ #. :guilabel:`Install MongoDB Compass`
133
+ To also install `MongoDB Compass
134
+ <https:///www.mongodb.com/products/compass>`__, ensure that
135
+ :guilabel:`Install MongoDB Compass` is selected (Default).
136
+
137
+ #. When ready, click :guilabel:`Install`.
79
138
80
- - Local or domain user:
81
-
82
- - For an existing local user account, specify a period (i.e.
83
- ``.``) for the :guilabel:`Account Domain` and the
84
- :guilabel:`Account Name` and the :guilabel:`Account
85
- Password` for the user.
86
-
87
- - For an existing domain user, specify the :guilabel:`Account
88
- Domain`, the :guilabel:`Account Name` and the
89
- :guilabel:`Account Password` for that user.
90
-
91
- - Specify the Service Name. If you already have a service with the
92
- specified name, you must choose another name.
93
-
94
- - Specify the Data directory, which corresponds to the
95
- :option:`--dbpath <mongod --dbpath>`. If the directory does not
96
- exist, the installer will create the directory and sets the
97
- directory access to the service user.
98
-
99
- - Specify the Log directory, which corresponds to the
100
- :option:`--logpath <mongod --logpath>`. If the directory does not
101
- exist, the installer will create the directory and sets the
102
- directory access to the service user.
103
-
104
-
139
+ If you installed and configured MongoDB as a service, the MongoDB
140
+ service is started upon successful installation. MongoDB is
141
+ configured using the configuration file :file:`<install
142
+ directory>\bin\mongod.cfg`.
143
+
105
144
...
0 commit comments