I am facing issue while completing Lab - Configuration file in chapter 1 of M103 course. I have launched mongod instance in the vagrant environment with the required settings ( run on port 27000, * data files are stored in /data/db/ etc…). Please find below screenshot of the question.
I am trying to launch config file using command
mongod --config /etc/mongod.conf and
mongod -f "/etc/mongod.conf"
As mentioned in lecture, default configuration file is located in etc/mongod.conf. I am unable to edit or copy this file to home directory.
Kindly help me how to modify this file or how to create new mongo.conf file in home directory.
Thanks in advance !