Re: Sharing yum between several machines

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

 



Timothy Murphy wrote:
Basically, I would like a system where yum looks first
in a /common/yum/ directory NFS-mounted on several machines,
and if it does not find what it is looking for
then it goes to a mirror as before,
and adds what it finds to /common/yum/ as well as installing it
on the machine in question.

Does yum have such a facility?
I googled for "yum several machines" but all the solutions suggested,
eg setting up a local mirror, seemed to me excessive for my purposes.


That's the way I do it here. I have a pair of scripts which handle it. The first mounts the master copy as /mnt/cache and creates symbolic links in /var/cache/yum to the rpm files. Then the upgrade is run, and the "backup" script first lists which files have changed, and then uses rsync to backup the changes. I found this was more reliable than NFS mounting, due to possible conflicts and also laptops being updated over less than perfect connections.

Note that doing this way does not delete old copies of the packages, which may or may not be desirable. I have a script which finds the deleted packages and backs them up by moving them, that way I have older stuff should I need it for some reason.

If you have solid networking and don't need the old packages you can just NFS mount /var/cache/yum (don't run multiple upgrades at the same time).

--
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
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[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