MongoDB
конфигурация
Поиск…
параметры
| параметр | По умолчанию |
|---|---|
| systemLog.verbosity | 0 |
| systemLog.quiet | ложный |
| systemLog.traceAllExceptions | ложный |
| systemLog.syslogFacility | пользователь |
| systemLog.path | - |
| systemLog.logAppend | ложный |
| systemLog.logRotate | переименовать |
| systemLog.destination | стандартный вывод |
| systemLog.timeStampFormat | ISO8601-местный |
| 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 | ложный |
| processManagement.pidFilePath | никто |
| net.port | 27017 |
| net.bindIp | 0.0.0.0 |
| net.maxIncomingConnections | 65536 |
| net.wireObjectCheck | правда |
| net.ipv6 | ложный |
| net.unixDomainSocket.enabled | правда |
| net.unixDomainSocket.pathPrefix | / TMP |
| net.unixDomainSocket.filePermissions | 0700 |
| net.http.enabled | ложный |
| net.http.JSONPEnabled | ложный |
| net.http.RESTInterfaceEnabled | ложный |
| net.ssl.sslOnNormalPorts | ложный |
| net.ssl.mode | отключен |
| net.ssl.PEMKeyFile | никто |
| net.ssl.PEMKeyPassword | никто |
| net.ssl.clusterFile | никто |
| net.ssl.clusterPassword | никто |
| net.ssl.CAFile | никто |
| net.ssl.CRLFile | никто |
| net.ssl.allowConnectionsWithoutCertificates | ложный |
| net.ssl.allowInvalidCertificates | ложный |
| net.ssl.allowInvalidHostnames | ложный |
| net.ssl.disabledProtocols | никто |
| net.ssl.FIPSMode | ложный |
Запуск mongo с определенным конфигурационным файлом
Использование флага --config .
$ /bin/mongod --config /etc/mongod.conf
$ /bin/mongos --config /etc/mongos.conf
Заметим, что -f - более короткий синоним для --config .
Modified text is an extract of the original Stack Overflow Documentation
Лицензировано согласно CC BY-SA 3.0
Не связан с Stack Overflow