Tutorial by Examples

Using the --config flag. $ /bin/mongod --config /etc/mongod.conf $ /bin/mongos --config /etc/mongos.conf Note that -f is the shorter synonym for --config.

Page 1 of 1