Welcome! Log In Create A New Profile

Advanced

Not able to install nginx on AWS AMI

October 14, 2020 05:22AM
Hi, I spun up an AWS AMI and followed this guide to install nginx: http://nginx.org/en/linux_packages.html#RHEL-CentOS

However, when I try to install I get the following error:

Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
amzn2-core | 3.7 kB 00:00:00
amzn2extra-docker | 3.0 kB 00:00:00
http://nginx.org/packages/centos/2/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.


One of the configured repositories failed (nginx stable repo),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail.


Not sure why its trying to access centos/2 folder. I see the version 8 being the most recent one.
Subject Author Posted

Not able to install nginx on AWS AMI

electrotwelve October 14, 2020 05:22AM

Re: Not able to install nginx on AWS AMI

Konstantin Pavlov October 14, 2020 05:40AM

Re: Not able to install nginx on AWS AMI

electrotwelve October 14, 2020 07:15AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 75
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready