Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] synchronize portage files in a LAN
Date: Mon, 23 Nov 2009 06:09:18
Message-Id: 4B0A17DE.5070304@gmail.com
In Reply to: [gentoo-user] synchronize portage files in a LAN by "Crístian Viana"
1 Crístian Viana wrote:
2 > hi,
3 >
4 > I have 7 computers in local network and I want them to have always the
5 > same portage files (the ones synchronized with rsync). of course I can
6 > use crontab to make them sync at a specific time but I'm wondering if
7 > there's a better alternative. I saw a wiki page which says to create
8 > one local rsync server and have the other 6 computers synchronize with
9 > it (by pointing the SYNC variable to the local rsync server). but I
10 > also thought NFS could be nice: I just have to sync one machine and
11 > everyone will always be "synchronized".
12 >
13 > what's the best approach for this case?
14 >
15 > thanks!
16 >
17 > --
18 > Crístian Deives dos Santos Viana [aka CD1]
19
20 I think either way would work. The bad thing about a NFS is that you
21 have to run emerge --metadata to update the files in /var. I think this
22 is still correct. I always synced to my main machine. It is easier in
23 my opinion. I seem to recall having to uncomment one line in the config
24 file and start rsyncd. It worked.
25
26 My thoughts at least.
27
28 Dale
29
30 :-) :-)