centos7 - mongodb3.6.5-配置文件

创建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

猜你喜欢

转载自www.cnblogs.com/ralphdc/p/10159342.html