Sök…


parametrar

Parameter Standard
systemLog.verbosity 0
systemLog.quiet falsk
systemLog.traceAllExceptions falsk
systemLog.syslogFacility användare
systemLog.path -
systemLog.logAppend falsk
systemLog.logRotate Döp om
systemLog.destination stdout
systemLog.timeStampFormat ISO8601-lokal
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 falsk
processManagement.pidFilePath ingen
net.port 27017
net.bindIp 0.0.0.0
net.maxIncomingConnections 65536
net.wireObjectCheck Sann
net.ipv6 falsk
net.unixDomainSocket.enabled Sann
net.unixDomainSocket.pathPrefix / tmp
net.unixDomainSocket.filePermissions 0700
net.http.enabled falsk
net.http.JSONPEnabled falsk
net.http.RESTInterfaceEnabled falsk
net.ssl.sslOnNormalPorts falsk
net.ssl.mode Inaktiverad
net.ssl.PEMKeyFile ingen
net.ssl.PEMKeyPassword ingen
net.ssl.clusterFile ingen
net.ssl.clusterPassword ingen
net.ssl.CAFile ingen
net.ssl.CRLFile ingen
net.ssl.allowConnectionsWithoutCertificates falsk
net.ssl.allowInvalidCertificates falsk
net.ssl.allowInvalidHostnames falsk
net.ssl.disabledProtocols ingen
net.ssl.FIPSMode falsk

Starta mongo med en specifik konfigurationsfil

Använda --config flaggan.

$ /bin/mongod --config /etc/mongod.conf
$ /bin/mongos --config /etc/mongos.conf

Observera att -f är den kortare synonymen för --config .



Modified text is an extract of the original Stack Overflow Documentation
Licensierat under CC BY-SA 3.0
Inte anslutet till Stack Overflow