Re: NFS Server share /var/cache/yum?

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

 



Frank Murphy wrote:
Trying to replace an NAS with a PC.

Figured I'd check before creating
Having looked at:
https://fedoraproject.org/wiki/Administration_Guide_Draft/NFS?rd=Docs/Drafts/AGBeta/NFS

How can I share on the NFS server /var/cache/yum.
so it will be available as a local(nfs) cache
to all fedora boxes\vm's
as root shares are discouraged.

Server will  have the following hd for shares /sdc 1tb raid1
(Hope I explained it clear enough, a problem of mine)

I have been doing similar for years (fc9) but what I do is create a local repo on the NFS server, set yum.conf to keep packages, and then upload everything I install or upgrade to the repo. On a regular basis I run a script that checks for new rpm files and runs createrepo as needed. The master repo has all the updates ever, for Fedora, with subdirectories for CentOS, RHEL, and ScientificLinux.

The advantage is that I can pull a package in a VM as needed, and it will get upload and added to the repository. I share the repository via both NFS and http, but fedup doesn't seem to have an obvious way to get to use local repositories. Looking into that is on my to-do list, haven't had time to do it.

This may give you some ideas about local repo, I found it easier to keep a repo of my own rather than find a clever way to export /var/cache/yum

--
Bill Davidsen <davidsen@xxxxxxx>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
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