MongoDB
Configuration
Recherche…
Paramètres
| Paramètre | Défaut |
|---|---|
| systemLog.verbosité | 0 |
| systemLog.quiet | faux |
| systemLog.traceAllExceptions | faux |
| systemLog.syslogFacility | utilisateur |
| systemLog.path | - |
| systemLog.logAppend | faux |
| systemLog.logRotate | Renommer |
| 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 | faux |
| processManagement.pidFilePath | aucun |
| net.port | 27017 |
| net.bindIp | 0.0.0.0 |
| net.maxIncomingConnections | 65536 |
| net.wireObjectCheck | vrai |
| net.ipv6 | faux |
| net.unixDomainSocket.enabled | vrai |
| net.unixDomainSocket.pathPrefix | / tmp |
| net.unixDomainSocket.filePermissions | 0700 |
| net.http.enabled | faux |
| net.http.JSONPEnabled | faux |
| net.http.RESTInterfaceEnabled | faux |
| net.ssl.sslOnNormalPorts | faux |
| net.ssl.mode | désactivée |
| net.ssl.PEMKeyFile | aucun |
| net.ssl.PEMKeyPassword | aucun |
| net.ssl.clusterFile | aucun |
| net.ssl.clusterPassword | aucun |
| net.ssl.CAFile | aucun |
| net.ssl.CRLFile | aucun |
| net.ssl.allowConnectionsWithoutCertificates | faux |
| net.ssl.allowInvalidCertificates | faux |
| net.ssl.allowInvalidHostnames | faux |
| net.ssl.disabledProtocols | aucun |
| net.ssl.FIPSMode | faux |
Démarrer mongo avec un fichier de configuration spécifique
Utiliser l'indicateur --config .
$ /bin/mongod --config /etc/mongod.conf
$ /bin/mongos --config /etc/mongos.conf
Notez que -f est le synonyme le plus court pour --config .
Modified text is an extract of the original Stack Overflow Documentation
Sous licence CC BY-SA 3.0
Non affilié à Stack Overflow