mongo启动文件
systemLog:
destination: file
path: "/home/mdb/log/mongodb.log"
quiet: false
logAppend: false
storage:
dbPath: "/home/mongodb-linux-x86_64-3.0.7/data/db"
smallFiles: true
journal:
enabled: true
engine: wiredTiger
wiredTiger:
engineConfig:
cacheSizeGB: 36
directoryForIndexes: true
processManagement:
pidFilePath: "/home/mongodb-linux-x86_64-3.0.7/data/db.pid"
fork: true
net:
bindIp: 10.XXX.XXX.XXX
port: 27017
http:
enabled: true
RESTInterfaceEnabled: true
security:
authorization: disabled
#replication:
# oplogSizeMB: 5000
# replSetName: "itrmdb"
浙公网安备 33010602011771号