Hi there!
I executed that command but a strange thing happens.
When I re-run the following command:
sudo yum install -y mongodb-org
its output was:
Loaded plugins: fastestmirror, langpacks, universal-hooks
Determining fastest mirrors
…
EA4 | 2.9 kB 00:00:00
cpanel-addons-production-feed | 2.9 kB 00:00:00
cpanel-plugins | 2.9 kB 00:00:00
I don’t understand why in this line appears centos again when I wrote redhat in my mongodb-org-4.4.repo file:
http://mirrors.unifiedlayer.com/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 403 -
Forbidden
In fact, if I click on this link a xml appears. It seems valid.
Trying other mirror.
To address this issue please refer to the below wiki article

1 Like