[CentOS] 5.6 - SRPM's
Jay Leafey
jay.leafey at mindless.com
Tue Apr 12 02:29:17 UTC 2011
I got frustrated with having to edit my repo files every time an update
came along to the release package, so I looked for "a better way". What
I found was
http://www.gurulabs.com/goodies/YUM_automatic_local_mirror.php, which
gave me the clues I needed to have my local repositories added to the
mirror list dynamically. I hacked the script a bit to make it work with
CentOS and fit my situation a bit better, but it's written in Perl so it
should not be too hard to figure out.
Once set up, all you need to do is point the DNS name
mirrorlist.centos.org to your local server. I've used manual /etc/hosts
entries and DNS, both work just fine. I've been using it for a couple
of years now with good results.
As always, YMMV.
--
Jay Leafey - jay.leafey at mindless.com
Memphis, TN
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5529 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20110411/fdfef3f4/attachment.bin>
More information about the CentOS
mailing list