Re: Another DNF quesiton?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux