Re: Yum auto mirroring?

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

 



Arthur Pemberton wrote:
What is the status of mirroring yum? I have two machines (soon to be) with F9.

I would like to speed things up by hosting some form of mirroring on
my Centos5 box.

I am thinking Squid, but not sure if that's the best solution.

Des anyone have success stories? Squid or otherwise? Ideally I could
just set yum only to use a squid port, but yum doesn't seem to
directly support proxies, just indirectly via ENV variables.

I am open to suggestions.

Do an install, set the yum.conf to keep RPMs after use, and upgrade. Now link all the rpm files in /var/cache/yum to a single directory and run createrepo. You now have a repo of just the stuff you actually found useful.

One the next system, do the install, update from "your" repo, then set the "save RPM" flag and update against the usual official repos. Move any RPMs you use to the local repo. This will result in pulling anything you need only one, and having only things you actually do need. Best of all, you can use scripts to do this either automatically or by typing a single command, as makes sense for you.

There's a command to prune the local repo to only the latest version of things, sorry I don't remember it off the top of my head.

--
Bill Davidsen <davidsen@xxxxxxx>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

--
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