> -----Original Message----- > From: centos-bounces at centos.org > [mailto:centos-bounces at centos.org] On Behalf Of Max Hetrick > Sent: Tuesday, November 27, 2007 21:18 > To: CentOS mailing list > Subject: Re: [CentOS] Using a local mirror? > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Jason Pyeron wrote: > > We have a rsync'ed copy of the centos distro. > > We want to point our local machines at that, what is our next step? > > Hi, Jason. > > cd /etc/yum.repos.d > > I'd make a backup of the original CentOS-Base.repo: > > cp CentOS-Base.repo CentOS.Base.repo.org > > Open CentOS-Base.repo in a text editor, vim, emacs, whatever. > > Comment out all the mirrorlist's. > > # mirrorlist=http://mirrorlist.centos.org/blah-blah-blah > > Make sure all the baseurl's reflects your internal repo and are not > commented out. > > baseurl=http//your_internal_repo/centos/$releasever/os/$basearch/ This will be my second try after trying to find a less invasive method like proxying. Right now when a machine pulls up mirrorlist.centos.org it will point to an internal system, whose cgi behaves as such (expecting a scale issue here, vlan based load...). > > You should be ok to use yum then, so long as your paths are all good. > This is how I do it, anyways. Other comments or procedures > are more than > welcome. > > Regards, > Max > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > > iD8DBQFHTM/hHoeeepPau2ERAijzAKCCVjFEcFaCs4c2/UlE3HTELPIAggCgt4dK > upBBCizZY6BRLMU4wBGSa1k= > =Jr+J > -----END PGP SIGNATURE----- > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Sr. Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited.