Prerequisites
CentOS 7
Root privileges
What we will do in this tutorial :
Add the MongoDB repository.
Installing MongoDB.
Fix some MongoDB errors.
Create an administrator user.
Enable MongoDB authentication and Testing.
Step 1 - Add the MongoDB Repository in CentOS
Connect to your CentOS 7 server with the ssh root account