On the requirement it says:
Write the configuration file. There should be an empty configuration file in your IDE File Editor, where you can specify options in YAML.
so I wrote a config as:
mongod --dbpath /data/db --logpath /data/log/mongod.log --replSet "M103" --port 27000 --bind_ip "127.0.0.1,192.168.103.100" --keyFile /data/keyfile --fork
Then it returns an error message:
about to fork child process, waiting until server is ready for connections. forked process: 341 ERROR: child process failed, exited with error number 1 To see additional information in this output, start without the "--fork" option.
It is my first time to learn Linux, I know my knowledge on Windows might not working well.
I typed “–fork” on the IDE panel but it syas “command not found”.
What I need to do now?