cancel
Showing results for 
Search instead for 
Did you mean: 
dnvicich
Cadet
Cadet
  • 5,499 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! :) Im not afraid to read either.  I figure im just not wording my searches apropriately. 

VR

David 

 

 

 

 

 

0 Kudos
3 Replies
Sillihkram
Flight Engineer
Flight Engineer
  • 5,489 Views

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

dnvicich
Cadet
Cadet
  • 5,485 Views

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 :) If it works Ill post again here in case someone else is looking to do the same. 

Again thank you !

 

~ David

0 Kudos
marisadean
Mission Specialist
Mission Specialist
  • 5,344 Views

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
Join the discussion
You must log in to join this conversation.