Ricerca…


Parametri

Parametro Predefinito
systemLog.verbosity 0
systemLog.quiet falso
systemLog.traceAllExceptions falso
systemLog.syslogFacility utente
systemLog.path -
systemLog.logAppend falso
systemLog.logRotate rinominare
systemLog.destination stdout
systemLog.timeStampFormat ISO8601-locali
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 nessuna
net.port 27017
net.bindIp 0.0.0.0
net.maxIncomingConnections 65536
net.wireObjectCheck vero
net.ipv6 falso
net.unixDomainSocket.enabled vero
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 Disabilitato
net.ssl.PEMKeyFile nessuna
net.ssl.PEMKeyPassword nessuna
net.ssl.clusterFile nessuna
net.ssl.clusterPassword nessuna
net.ssl.CAFile nessuna
net.ssl.CRLFile nessuna
net.ssl.allowConnectionsWithoutCertificates falso
net.ssl.allowInvalidCertificates falso
net.ssl.allowInvalidHostnames falso
net.ssl.disabledProtocols nessuna
net.ssl.FIPSMode falso

Avvio di mongo con un file di configurazione specifico

Usando il flag --config .

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

Nota che -f è il sinonimo più breve per --config .



Modified text is an extract of the original Stack Overflow Documentation
Autorizzato sotto CC BY-SA 3.0
Non affiliato con Stack Overflow