On Thursday 06 October 2005 12:38 am, kashani wrote:
> John Jolet wrote:
> > I was asked a similar question today at work.  we have some new  gentoo
> > servers that do not have outbound access to the net.  We'd  like to have
> > a local mirror.  Is there a howto?
>
> I run a proxy server for the servers without access. That might be
> easier than having a local mirror. Once the proxy is set add this to the
> other machines' /etc/make.conf
>
> http_proxy="proxyhost.yourdomain.com:3128"
>
> kashani

Do a google search for http-replicator.  It's what I use and it works very 
well.

Each gentoo box has it's /etc/make.conf pointed at http-replicator running on 
a gentoo box on the gateway.  They each operate independently requesting 
files, but they are only retrieved from external sites once.  First hit 
downloads at regular speeds, other hits (from remote boxes) are as fast as 
the internal network speeds.

Comes with a script to add to /etc/cron.monthly to clean up old files.

I don't remember there being an ebuild in portage, but I've got one in my 
overlay I'd be willing to share.

Dave
-- 
[email protected] mailing list

Reply via email to