Yum repo
From MDWiki
Jump to navigationJump to search
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
- createrepo: builds the required metadata
- repoview: generates a static html page of available packages
yum install createrepo yum install repoview
- 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
mount -a
- 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!!!