This is just a short note, so it won’t take long. The full description, step by step can be found on the Official documentation.

To enable authentication follow this article

Handle CLI

sudo service mongod {start|stop|restart|status}