...
If required the tool will prompt you for database credentials and advise on remote-vs-local operation, as well as authenticated-vs-nonauthenticated modes. The MongoDB setup helper can be run repeatedly with no adverse effects.
See how authentication is enabled in this mongod.conf on the NMIS9 VM that we ship.
See 'security:' >>' authorization: enabled':
Code Block | ||
---|---|---|
| ||
net:
bindIp: 127.0.0.1
port: 27017
processManagement:
fork: true
pidFilePath: /var/run/mongodb/mongod.pid
security:
authorization: enabled
storage:
dbPath: /data/mongo
journal:
enabled: true
wiredTiger:
engineConfig:
cacheSizeGB: 1.7
systemLog:
destination: file
logAppend: true
logRotate: reopen
path: /var/log/mongodb/mongod.log |
Resetting Databases with the setup_mongodb.pl Script
...