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 1E0TRZ-0006uX-7Z for garchives@archives.gentoo.org; Thu, 04 Aug 2005 00:18:51 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j740HqpH020216; Thu, 4 Aug 2005 00:17:52 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 j740Hpil021487 for <gentoo-doc-cvs@lists.gentoo.org>; Thu, 4 Aug 2005 00:17:51 GMT Message-Id: <200508040017.j740Hpil021487@robin.gentoo.org> Received: from lark.gentoo.osuosl.org ([140.211.166.177] helo=lark.gentoo.org) by smtp.gentoo.org with smtp (Exim 4.43) id 1E0TRH-0005tc-Kd for gentoo-doc-cvs@lists.gentoo.org; Thu, 04 Aug 2005 00:18:23 +0000 Received: by lark.gentoo.org (sSMTP sendmail emulation); Thu, 4 Aug 2005 00:18:21 +0000 From: "Mike Frysinger" <vapier@lark.gentoo.org> Date: Thu, 4 Aug 2005 00:18:21 +0000 To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] cvs commit: home-router-howto.xml Precedence: bulk List-Post: <mailto:gentoo-doc-cvs@lists.gentoo.org> List-Help: <mailto:gentoo-doc-cvs+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-doc-cvs+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-doc-cvs+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-doc-cvs.gentoo.org> X-BeenThere: gentoo-doc-cvs@gentoo.org Reply-to: docs-team@lists.gentoo.org X-Archives-Salt: 4d0d80d2-5f2d-467a-be64-e46f1713c435 X-Archives-Hash: 14f0dfc9c91f53ea91108b24565aab84 vapier 05/08/04 00:18:21 Modified: xml/htdocs/doc/en home-router-howto.xml Log: add a quick & dirty howto for setting up a local rsync server Revision Changes Path 1.29 +57 -3 xml/htdocs/doc/en/home-router-howto.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/home-router-howto.xml?rev=1.29&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/home-router-howto.xml?rev=1.29&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/home-router-howto.xml.diff?r1=1.28&r2=1.29&cvsroot=gentoo Index: home-router-howto.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- home-router-howto.xml 2 Jul 2005 09:59:11 -0000 1.28 +++ home-router-howto.xml 4 Aug 2005 00:18:20 -0000 1.29 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='UTF-8'?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.28 2005/07/02 09:59:11 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.29 2005/08/04 00:18:20 vapier Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/home-router-howto.xml"> @@ -15,8 +15,8 @@ for connecting your home network to the internet. </abstract> -<version>1.8</version> -<date>2005-07-02</date> +<version>1.9</version> +<date>2005-08-03</date> <chapter> <title>Introduction</title> @@ -689,6 +689,60 @@ </section> <section> +<title>Rsync Server</title> +<body> + +<p> +For those who run multiple Gentoo boxes on the same lan, you often want to +keep from having every machine running <c>emerge sync</c> with remote +servers. By setting up a local rsync, you save on both your bandwidth and +the Gentoo rsync servers' bandwidth. It's pretty simple to do. +</p> +<note> +For a much more in-depth rsync guide, please see the official <uri +link="/doc/en/rsync.xml#doc_chap4">rsync guide</uri> +</note> + +<p> +Since every Gentoo machine requires rsync, theres no need to emerge it. Edit +the default <path>/etc/rsyncd.conf</path> config file, uncomment the +<c>[gentoo-portage]</c> section, and make sure you add an <c>address</c> +option. All the other defaults should be fine. +</p> + +<pre caption="Rsync server config"> +pid file = /var/run/rsyncd.pid +use chroot = yes +read only = yes +address = 192.168.0.1 + +[gentoo-portage] + path = /mnt/space/portage + comment = Gentoo Linux Portage tree + exclude = /distfiles /packages +</pre> + +<p> +Then you need to start the service (again, the defaults are OK). +</p> + +<pre caption="Starting the rsync server"> +# <i>/etc/init.d/rsyncd start</i> +# <i>rc-update add rsyncd default</i> +</pre> + +<p> +Only thing left is to set tell your clients to sync against the router. +</p> + +<pre caption="Client SYNC settings in make.conf"> +SYNC="rsync://192.168.0.1/gentoo-portage" +</pre> + +</body> +</section> + +<section> <title>Mail Server</title> <body> -- gentoo-doc-cvs@gentoo.org mailing list