MongoDB
Configuración
Buscar..
Parámetros
| Parámetro | Defecto |
|---|---|
| systemLog.verbosity | 0 |
| systemLog.quiet | falso |
| systemLog.traceAllExceptions | falso |
| systemLog.syslogFacility | usuario |
| systemLog.path | - |
| systemLog.logAppend | falso |
| systemLog.logRotate | rebautizar |
| systemLog.destination | stdout |
| systemLog.timeStampFormat | iso8601-local |
| systemLog.component.accessControl.verbosity | 0 |
| systemLog.component.command.verbosity | 0 |
| systemLog.component.control.verbosity | 0 |
| systemLog.component.ftdc.verbosity | 0 |
| systemLog.component.geo.verbosity | 0 |
| systemLog.component.index.verbosity | 0 |
| systemLog.component.network.verbo | 0 |
| systemLog.component.query.verbosity | 0 |
| systemLog.component.replication.verbosity | 0 |
| systemLog.component.sharding.verbosity | 0 |
| systemLog.component.storage.verbosity | 0 |
| systemLog.component.storage.journal.verbosity | 0 |
| systemLog.component.write.verbosity | 0 |
| processManagement.fork | falso |
| processManagement.pidFilePath | ninguna |
| net.port | 27017 |
| net.bindIp | 0.0.0.0 |
| net.maxIncomingConnections | 65536 |
| net.wireObjectCheck | cierto |
| net.ipv6 | falso |
| net.unixDomainSocket.enabled | cierto |
| net.unixDomainSocket.pathPrefix | / tmp |
| net.unixDomainSocket.filePermissions | 0700 |
| net.http.enabled | falso |
| net.http.JSONPEnabled | falso |
| net.http.RESTInterfaceEnabled | falso |
| net.ssl.sslOnNormalPorts | falso |
| net.ssl.mode | discapacitado |
| net.ssl.PEMKeyFile | ninguna |
| net.ssl.PEMKeyPassword | ninguna |
| net.ssl.clusterFile | ninguna |
| net.ssl.clusterPassword | ninguna |
| net.ssl.CAFile | ninguna |
| net.ssl.CRLFile | ninguna |
| net.ssl.allowConnectionsWithoutCertificates | falso |
| net.ssl.allowInvalidCertificates | falso |
| net.ssl.allowInvalidHostnames | falso |
| net.ssl.disabledProtocols | ninguna |
| net.ssl.FIPSMode | falso |
Iniciar mongo con un archivo de configuración específico
Usando la bandera --config .
$ /bin/mongod --config /etc/mongod.conf
$ /bin/mongos --config /etc/mongos.conf
Tenga en cuenta que -f es el sinónimo más corto de --config .
Modified text is an extract of the original Stack Overflow Documentation
Licenciado bajo CC BY-SA 3.0
No afiliado a Stack Overflow