On 08/14/2015 08:09 AM, Michael D. Setzer II wrote:
As a test, I just modified the baseurl lines in the fedora.repo and fedora-updates.repo to these lines. baseurl=http://mirrors.kernel.org/fedora/releases/$releasever/Everything/$ba search/os/ baseurl=http://mirrors.kernel.org/fedora/updates/$releasever/$basearch/ Since I already, have the 20 systems using the proxy server, and this makes them use the same repo it seems to only download a single copy. Have a script that makes an ssh connect to other 19 machines, and runs dnf update. Had to do a couple tests, since the url was not exactly as the original line. I've got these machines running fedora 22, and all of these are x64 i7. Thanks.
What you're looking for is an Intelligent mirror[0]. It doesn't necessarily have to be your squid server, it can be any machine on the network with enough space to hold the data. Intelligent mirrors are referred to as such because they only mirror the packages you actually use, thereby saving space by not mirroring the entire repository - I'm assuming since this is a school environment, all of the systems are configured with the same package sets.
Once you get the local mirror set up, you can register with the Fedora Mirror Manager[1] to redirect all mirrorlist requests from your network to your local mirror.
[0]https://fedorahosted.org/intelligentmirror/ [1]https://fedoraproject.org/wiki/Infrastructure/Mirroring#MirrorManager:_the_Fedora_Mirror_Management_system -- Dan Mossor, RHCSA Systems Engineer Fedora Server WG | Fedora KDE WG | Fedora QA Team Fedora Infrastructure Apprentice FAS: dmossor IRC: danofsatx San Antonio, Texas, USA -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org