Amazon EC2 RHEL 7 instance yum repo config
June 22, 2016 03:42AM
Hello!

In the default configuration from official site:
https://www.nginx.com/resources/wiki/start/topics/tutorials/install/

corresponding yum config is not valid for EC2 RHEL t2.micro instance
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/rhel/$releasever/$basearch/
gpgcheck=0
enabled=1

Because it's resolved into the broken link:

failure: repodata/repomd.xml from nginx: [Errno 256] No more mirrors to try.
http://nginx.org/packages/rhel/7Server/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

Somebody should add new config for Amazon EC2 RHEL like:
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/rhel/7/$basearch/
gpgcheck=0
enabled=1

or investigate problem depeer, and suggest better config.

Can anyone forward my suggestion to website admins?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 122
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready