Is it possible to configure/use Amazon Linux 2 yum proxy repo Nexus?

Is it possible to update/install yum packages using nexus package manager(yum Proxy) for Amazon Linux 2? Similar to topics 1) “Does Amazon Linux 2 support to package get installed through Nexus Yum Proxy repo” 2) “Support for Amazon Linux 2 Yum repository”

Yes. I have done it. You need a file in /etc/yum.repos.d that points to your Nexus repo. For example, local-Nexus.repo:

[local-Nexus]
name=local Nexus yum repo
baseurl=https://NXRM-IP-address/repository/yum-hosted/rpm/packages
enabled=1
gpgcheck=0
1 Like