mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 20:46:00 +02:00
Added mongod
This commit is contained in:
parent
5291f5371c
commit
06c39979f0
1 changed files with 15 additions and 0 deletions
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>`
|
Loading…
Add table
Reference in a new issue