Hi everyone, i have gone through the fundamentals of devops course. I am now try . . .

Deepak Kumar:
yum -y install crypto-policies-scripts

update-crypto-policies --set LEGACY

reboot now

update-crypto-policies --show

cat > /etc/yum.repos.d/mongodb-org-6.0.repo << EOF
[mongodb-org-6.0]
name=MongoDB Repository
baseurl=<https://repo.mongodb.org/yum/redhat/8/mongodb-org/6.0/x86_64/>
gpgcheck=1
enabled=1
gpgkey=<https://www.mongodb.org/static/pgp/server-6.0.asc>
EOF

yum repolist

yum install mongodb-org –y

systemctl start mongod

systemctl status mongod