You must set an admin and password before using mongDB for security reason. You may receive some error when you login to MongoDB shell.
I’m following the official mongoDB manual to make the installation. I’m using XFS filesystem with RAID10 on my machine, that’s the official document recommended. Paste the code. If you receive these errors You may solve using this solution on transparent_hugepage always or from the official document