1. 程式人生 > >centos7 - mongodb3.6.5-配置文件

centos7 - mongodb3.6.5-配置文件

pro admin enable port run nbsp rip storage ble

創建Linux管理員賬號admin, 並加入wheel組,對mongodb, php等進行統一管理~

systemLog:
destination: file
logAppend: true
path: /var/log/mongodb/mongod.log

storage:
dbPath: /data/mongo
journal:
enabled: true

processManagement:
fork: true
pidFilePath: /var/run/mongodb/mongod.pid

net:
#bindIp: 0.0.0.0
#bindIpAll: true
bindIp: 127.0.0.1
port: 27017

security:

#authorization: enabled
authorization: disabled
javascriptEnabled: false

centos7 - mongodb3.6.5-配置文件