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