****[CentOS] Using a local mirror?

Wed Nov 28 02:45:08 UTC 2007
Jason Pyeron <jpyeron at pdinc.us>

We already have our up2date / yum repo.


What we need is to (minimalistically) modify the clients to use it.

Given:

[root at test ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               fiftyone localhost.localdomain localhost
192.168.1.67    mirrorlist.centos.org
[root at test ~]# curl -i
"http://mirrorlist.centos.org/?release=4.5&arch=i386&repo=os"
HTTP/1.1 200 OK
Date: Wed, 28 Nov 2007 02:27:47 GMT
Server: Apache/2.0.52 (CentOS)
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

http://192.168.1.67/centos/4.5/os/i386/



Why does it pull data from outside???


        |-sendmail(2233)
        |-sendmail(2241,smmsp)
        |-sshd(3364)-+-sshd(3367)---bash(3369)---up2date(25055)
        |            `-sshd(25010)---bash(25012)---pstree(25064)
        |-syslogd(2078)
        |-udevd(1395)
        `-xinetd(2213)
[root at test ~]# lsof -p 25055 | grep TCP
up2date 25055 root   10u  IPv4  25167             TCP
test.pdinc.us:33481->66.147.238.146:http (SYN_SENT)



-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- 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. 

 

> -----Original Message-----
> From: centos-bounces at centos.org 
> [mailto:centos-bounces at centos.org] On Behalf Of Craig White
> Sent: Tuesday, November 27, 2007 21:36
> To: CentOS mailing list
> Subject: Re: ****[CentOS] Using a local mirror?
> 
> On Tue, 2007-11-27 at 20:59 -0500, 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?
> > 
> ----
> http://dag.wieers.com/home-made/mrepo/
> 
> does all the lifting for you
> 
> Craig
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>