9
9
10
10
This tutorial provides a method for installing and running the
11
11
MongoDB server (i.e. ":program:`mongod.exe`") on the Microsoft Windows
12
- platform through the :guilabel:`Command Shell ` and outlines the process
12
+ platform through the :guilabel:`Command Prompt ` and outlines the process
13
13
for setting up MongoDB as a :guilabel:`Windows Service`.
14
14
15
15
Operating MongoDB with Windows is similar to MongoDB on other
@@ -50,7 +50,7 @@ There are three builds of MongoDB for Windows:
50
50
51
51
You can find the architecture of your version of Windows
52
52
platform using the following command in the :guilabel:`Command
53
- Shell `
53
+ Prompt `
54
54
55
55
.. code-block:: powershell
56
56
@@ -81,11 +81,11 @@ browsing to ``C:\``.
81
81
Set up the Environment
82
82
~~~~~~~~~~~~~~~~~~~~~~
83
83
84
- Start the :guilabel:`Command Shell ` by selecting the :guilabel:`Start
84
+ Start the :guilabel:`Command Prompt ` by selecting the :guilabel:`Start
85
85
Menu`, then :guilabel:`All Programs`, then :guilabel:`Accessories`,
86
- then right click :guilabel:`Command Shell `, and select :guilabel:`Run
86
+ then right click :guilabel:`Command Prompt `, and select :guilabel:`Run
87
87
as Administrator` from the popup menu. In the :guilabel:`Command
88
- Shell `, issue the following commands:
88
+ Prompt `, issue the following commands:
89
89
90
90
.. code-block:: powershell
91
91
@@ -100,7 +100,7 @@ Shell`, issue the following commands:
100
100
101
101
MongoDB requires a :term:`data folder <dbpath>` to store its files. The default
102
102
location for the MongoDB data directory is ``C:\data\db``. Create this
103
- folder using the :guilabel:`Command Shell `. Issue the following
103
+ folder using the :guilabel:`Command Prompt `. Issue the following
104
104
command sequence:
105
105
106
106
.. code-block:: powershell
@@ -129,7 +129,7 @@ command sequence:
129
129
Start MongoDB
130
130
~~~~~~~~~~~~~
131
131
132
- To start MongoDB, execute from the :guilabel:`Command Shell `:
132
+ To start MongoDB, execute from the :guilabel:`Command Prompt `:
133
133
134
134
.. code-block:: powershell
135
135
@@ -157,7 +157,7 @@ This will start the main MongoDB database process.
157
157
default.
158
158
159
159
Connect to MongoDB using the :program:`mongo.exe` shell. Open another
160
- :guilabel:`Command Shell ` and issue the following command:
160
+ :guilabel:`Command Prompt ` and issue the following command:
161
161
162
162
.. code-block:: powershell
163
163
@@ -167,7 +167,7 @@ Connect to MongoDB using the :program:`mongo.exe` shell. Open another
167
167
168
168
Executing the command ``start C:\mongodb\bin\mongo.exe`` will
169
169
automatically start the :program:`mongo.exe` shell in a separate
170
- :guilabel:`Command Shell ` window.
170
+ :guilabel:`Command Prompt ` window.
171
171
172
172
The :program:`mongo.exe` shell will connect to :program:`mongod.exe` running on
173
173
the localhost interface and port ``27017`` by default. At the
@@ -215,7 +215,7 @@ Service: a path for the log output (i.e. :setting:`logpath`) and a
215
215
md C:\mongodb\log
216
216
217
217
#. Create a configuration file for the :setting:`logpath` option for
218
- MongoDB in the :guilabel:`Command Shell ` by issuing this command:
218
+ MongoDB in the :guilabel:`Command Prompt ` by issuing this command:
219
219
220
220
.. code-block:: powershell
221
221
@@ -236,10 +236,10 @@ for log files and using the configuration file are good practice.
236
236
Install and Run the MongoDB Service
237
237
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
238
238
239
- Run all of the following commands in :guilabel:`Command Shell ` with
239
+ Run all of the following commands in :guilabel:`Command Prompt ` with
240
240
"Administrative Privileges:"
241
241
242
- #. To install the MongoDB service :
242
+ #. To install the MongoDB Service :
243
243
244
244
.. code-block:: powershell
245
245
0 commit comments