Sent: Sunday, November 22, 2009 10:32 PMSubject: [gentoo-user] synchronize portage files in a LAN
The options you mentioned is the best...Just settup the rsync server on the machine you want it on and then setup a cront job to update it daily. Set your 6 hosts to use your local rsync server machine and create cron jobs for the 6 machines. Just make sure that their cron jobs are 5-10 minutes ahead of when the local rsync server updates it's files.
I think either way would work. The bad thing about a NFS is that you
have to run emerge --metadata to update the files in /var. I think this
is still correct. I always synced to my main machine. It is easier in
my opinion. I seem to recall having to uncomment one line in the config
file and start rsyncd. It worked.
My thoughts at least.
Dale
:-) :-)
Slow network or WLAN? Use a local rsync server. There is a package for
this (app-admin/gentoo-rsync-mirror) and instructions on the net.
While you are at it, you could also install an http or ftp proxy for
distfiles. net-proxy/http-replicator should do it if you do not want a
complete proxy infrastructure.
>=100MBit connection? Use NFS. You should not only put your portage tree
on this but also distfiles and /var/cache/edb. Do not do this with
/var/db/pkg, however.
Hope this helps
Florian Philipp