Steps to follow
sudo vi /etc/yum.repos.d/mongodb-org-4.4.repo
Then paste this content into that file
After that, run this
sudo yum install -y mongodb-org
Start MongoDB server by running this command.
sudo systemctl start mongod
Check status by running this command
sudo systemctl status mongod
Everything that is mentioned above is also displayed in this video as well.