Added mongod
This commit is contained in:
15
pages/common/mongod.md
Normal file
15
pages/common/mongod.md
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# mongod
|
||||||
|
|
||||||
|
> The daemon process for MongoDB.
|
||||||
|
|
||||||
|
- Specify runtime configurations:
|
||||||
|
|
||||||
|
`mongod --config <filename>`
|
||||||
|
|
||||||
|
- Specify port for MongoDB to listen to client connections:
|
||||||
|
|
||||||
|
`mongod --port <port>`
|
||||||
|
|
||||||
|
- Change database profiling level. 0 is off, 1 is only slow operations, 2 is all:
|
||||||
|
|
||||||
|
`mongod --profile <level>`
|
Reference in New Issue
Block a user