Re: Caching updates locally

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

 



Today Benjamin Franz did spake thusly:

On Mon, 30 Oct 2006, Joe Tseng wrote:

I want to be able to cache yum updates locally so when I build machines via kickstart I can have them update more quickly from a local server. I can't seem to recall how to do this using wget, and googling hasn't turned anything up yet. Does anyone know of some page that describes how to do this? Thx.


My personal hack is set yum to cache (add 'keepcache=1' in /etc/yum.conf) before updating the first machine I build on a new distro. Then when I build the second or later machines I tarball up /var/cache/yum and drop it into the new machine before starting the first update. It isn't pretty, but as long you are working inside a single architecture it works like a champ.


Could you not set up squid on the gateway and then set yum to use a proxy?

--
Scott van Looy - email:me@xxxxxxxxxxxxxx | web:www.ethosuk.org.uk
site:www.freakcity.net - the in place for outcasts since 2003
PGP Fingerprint: 7180 5543 C6C4 747B 7E74  802C 7CF9 E526 44D9 D4A7
      -------------------------------------------
      |/// /// /// /// WIDE LOAD /// /// /// ///|
      -------------------------------------------

I've noticed several design suggestions in your code.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux