Cadet
Cadet
  • 177 Views

Setting up a PROXY server for a repo server

Good Morning!

I am trying to get some information as it pertains to spinning up a proxy server that will connect to an already existing REPO, for clients to access for software packages. 

Client machine --> requests YUM packages from PROXY server --> Proxy server requests package from REPO server. 

Repo server responds and package is donwloaded. 

I just cnt seem to find the right information about how to setup the proxy server. I have seen alot of info on how to configure the client side. 

Any suggestions are welcome! Smiley Happy Im not afraid to read either.  I figure im just not wording my searches apropriately. 

VR

David 

 

 

 

 

 

0 Kudos
3 Replies
Mission Specialist
Mission Specialist
  • 167 Views

Re: Setting up a PROXY server for a repo server

There are some pretty good posts from Red Hat's Enable SysAdmin blog on how to accomplish the proxy/repo setup:

https://www.redhat.com/sysadmin/how-mirror-repository
https://www.redhat.com/sysadmin/apache-yum-dnf-repo
https://www.redhat.com/sysadmin/setting-reverse-proxies-nginx

Reply
Loading...
Cadet
Cadet
  • 163 Views

Re: Setting up a PROXY server for a repo server

Thank you for your post!

I hadnt considered that my request could have been still broad enough to glean so many different solutions. 

The third link you post is more in alignment with what I am attempting to accomplish. I will give it a shot and see what happens Smiley Happy If it works Ill post again here in case someone else is looking to do the same. 

Again thank you !

 

~ David

0 Kudos
Reply
Loading...
Mission Specialist
Mission Specialist
  • 22 Views

Re: Setting up a PROXY server for a repo server

Create a repo server on your "proxy" but set reposync to only download metadata so it will then go out to redhats repo for the full package on request

Configure your client to think your meta repo server is a "real" repo and turn off any official repos and/ or disable subscription-manager.

https://access.redhat.com/solutions/23016

This is my setup to airgap clients that I don't want to open to the Internet for updates.

0 Kudos
Reply
Loading...
Join the discussion
You must log in to join this conversation.