From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1Ds5Dl-0005Pa-9q for garchives@archives.gentoo.org; Mon, 11 Jul 2005 20:49:45 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6BKm8vl011204; Mon, 11 Jul 2005 20:48:08 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6BKeasQ020941 for ; Mon, 11 Jul 2005 20:40:37 GMT Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by smtp.gentoo.org with esmtp (Exim 4.43) id 1Ds55a-0003LC-W6 for gentoo-user@lists.gentoo.org; Mon, 11 Jul 2005 20:41:19 +0000 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Ds552-0008Ql-GZ for gentoo-user@gentoo.org; Mon, 11 Jul 2005 22:40:44 +0200 Received: from buffer.net ([24.73.161.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jul 2005 22:40:44 +0200 Received: from wireless by buffer.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jul 2005 22:40:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: James Subject: [gentoo-user] Re: =?utf-8?b?R0VOVE9PX01JUlJPUlM=?= Date: Mon, 11 Jul 2005 20:38:29 +0000 (UTC) Message-ID: References: <000201c58637$8fdee540$5f01010a@jnetlab.lcl> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 24.73.161.102 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517) Sender: news X-Archives-Salt: 84c9da44-6090-4f14-97cf-a54d4037adad X-Archives-Hash: 8733d0bb0b3ab2b1d5719b559ca66cbd Message-ID: <20050711203829.vpipFJ76K4_XPdFzbHzW7ysNJd6Q01qLyFzH2AaSecg@z> Dave Nebinger 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. Running an 'emerge sync' from one of the test clients gives this error: crystal james # emerge sync >>> starting rsync with rsync://192.168.2.9... >>> checking server timestamp ... Welcome to My Local Rsync Mirror!! @ERROR: Unknown module 'metadata' rsync: connection unexpectedly closed (83 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(189) >>> retry ... Not sure how to proceed from here James -- gentoo-user@gentoo.org mailing list