Dave Nebinger <dnebinger <at> joat.com> writes:
 
> The first thing you can do to significantly optimize internal gentoo
> downloads is to set up your own mirror system.  I use that for my systems
> and it's pretty easy to set up.  The gentoo wiki has all of the details.
> Basically I've got a server system that:

> a) at 1am runs emerge --sync to sync portage against the public mirrors.
OK I edited /etc/crontab to this:

30 1 * * * root emerge sync

b) runs rsyncd to make the server's portage tree available to the internal
gentoo systems.

OK following these pages:
http://gentoo-wiki.com/HOWTO_Local_Rsync_Mirror.
ON the internal server I 'emerge rsync'

Then edited the /etc/rsync.conf file as specified
and ran rc-update.

http://gentoo-wiki.com/Http_proxy

On each system I added these entries to the /etc/make.conf file:
GENTOO_MIRRORS="192.168.2.9"
SYNC="rsync://192.168.2.9"
So that they both sync and download files from the internal server




> c) runs http-replicator as a download proxy.  All internal gentoo systems
> use the server as the proxy - actual internet downloads occur only once,
> after that the cached copy is returned.  There is only a delay for the
> initial download, the rest are almost instantaneous.

Well this is a problem. 

Following 
http://gentoo-wiki.com/HOWTO_Download_Cache_for_LAN-Http-Replicator

I get:
emerge http-replicator
Calculating dependencies
!!! All ebuilds that could satisfy "http-replicator" have been masked.


-- 
gentoo-user@gentoo.org mailing list

Reply via email to