Yum repo: Difference between revisions

From MDWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 25: Line 25:
  /nfs4exports/repo              152.98.207.62(rw,insecure,no_subtree_check,nohide)
  /nfs4exports/repo              152.98.207.62(rw,insecure,no_subtree_check,nohide)


*Edit /etc/hosts.allow
vi /etc/hosts.allow
append '152.98.207.62' to the line: ALL:


*Restart NFS
*Restart NFS

Revision as of 08:07, 11 August 2007

This page details how to create a yum compliant repo. This is our in house repo for packages that we have had to compile from source.


The repo will be hosted on guava BUT will be exported via NFS to compbio where it will serve the clients.


ON GUAVA

  • Install the required software
yum install createrepo
  • Edit fstab for the exports (assumes /other/repo exists)
    • This maps /other/repo to /nfs4exports/repo
vi /etc/fstab
# ADDED FOR REPO
/other/repo             /nfs4exports/repo       none    bind            0 0
  • Re-load fstab
  • Edit /etc/exports to define the export
vi /etc/exports
# EXPORT THE YUM REPO TO COMPBIO
/nfs4exports/repo               152.98.207.62(rw,insecure,no_subtree_check,nohide)
  • Edit /etc/hosts.allow
vi /etc/hosts.allow
append '152.98.207.62' to the line: ALL:
  • Restart NFS

ON COMPBIO

  • edit /etc/fstab
  • reload the mount points
  • hope this works!!!