Skip to content

Commit fa9a82b

Browse files
author
Bob Grabar
committed
DOCS-692 ready for merge
1 parent 2797dc4 commit fa9a82b

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

source/administration/process-management.txt

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Start and Stop MongoDB
66

77
MongoDB runs as a standard program. You can start MongoDB from a command
88
line by issuing the :program:`mongod` command and specifying options.
9-
Fora list of options, see :doc:`/reference/mongod`. MongoDB can also run
9+
For a list of options, see :doc:`/reference/mongod`. MongoDB can also run
1010
as a Windows service. For details, see
1111
:ref:`tutorial-mongod-as-windows-service`. To install MongoDB, see
1212
:doc:`/installation`.
@@ -37,7 +37,9 @@ Specify a Data Directory
3737
~~~~~~~~~~~~~~~~~~~~~~~~
3838

3939
When you specify a data directory, the directory must already exist. If
40-
it does not, create it and set its permissions appropriately.
40+
it does not, create it and set its permissions appropriately for access
41+
by :program:`mongod`. For more information on permissions, see the
42+
:ref:`security operations documentation <security-operations>`.
4143

4244
To specify a data directory when starting MongoDB, use the
4345
:option:`--dbpath <mongod --dbpath>` option. The following command
@@ -51,7 +53,7 @@ directory:
5153
Specify a TCP Port
5254
~~~~~~~~~~~~~~~~~~
5355

54-
If you run several :program:`mongod` processes on a single machine, you
56+
If you run multiple :program:`mongod` processes on a single machine, you
5557
must assign each a different port to listen on for client connections.
5658
Only one can listen on the default port of ``27017``.
5759

@@ -64,10 +66,6 @@ starts :program:`mongod` listening on port ``12345``:
6466

6567
Use the default port number whenever possible, to avoid any confusion.
6668

67-
If you use the :option:`--configsvr <mongod --configsvr>` or
68-
:option:`--shardsvr <mongod --shardsvr>` options, those options select an
69-
appropriate port number automatically.
70-
7169
Run ``mongod`` as a Daemon
7270
~~~~~~~~~~~~~~~~~~~~~~~~~~
7371

@@ -78,14 +76,11 @@ However, you need not create the log file. MongoDB will create the log
7876
file if it does not exist.
7977

8078
The following command runs :program:`mongod` as a daemon and records log
81-
output to ``/var/log/mongodb.log``. The command also uses the
82-
:option:`--logappend <mongod --logappend>` option to ensure that
83-
:program:`mongod` appends new entries to the end of the log file rather
84-
than overwriting the content when the process restarts:
79+
output to ``/var/log/mongodb.log``.
8580

8681
.. code-block:: sh
8782

88-
mongod --fork --logpath /var/log/mongodb.log --logappend
83+
mongod --fork --logpath /var/log/mongodb.log
8984

9085
Additional Configuration Options
9186
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

source/administration/security.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ clients. Furthermore, because VPNs provide a secure tunnel, using a
226226
VPN connection to control access to your MongoDB instance, you can
227227
prevent tampering and "man-in-the-middle" attacks.
228228

229+
.. _security-operations:
230+
229231
Operations
230232
----------
231233

0 commit comments

Comments
 (0)