Lab: Configuration File, etc folder

Sorry im a bit confused

@PCI
I don’t see any mention of an ‘etc’ folder in that lab. Where do you see it?

Yes there is a master config file under /etc
cat /etc/mongod.conf

mongod.conf

http://docs.mongodb.org/manual/reference/configuration-options/

Where and how to store data.

storage:
dbPath: /var/lib/mongodb


security:
authorization: enabled

Usually we prepare our own config files
If you are using this make sure the dirs exist and you have permissions to read/write
Also take backup of this file if you intend to edit it