Crístian Viana schrieb: > hi, > > I have 7 computers in local network and I want them to have always the > same portage files (the ones synchronized with rsync). of course I can > use crontab to make them sync at a specific time but I'm wondering if > there's a better alternative. I saw a wiki page which says to create one > local rsync server and have the other 6 computers synchronize with it > (by pointing the SYNC variable to the local rsync server). but I also > thought NFS could be nice: I just have to sync one machine and everyone > will always be "synchronized". > > what's the best approach for this case? > > thanks! > > -- > Crístian Deives dos Santos Viana [aka CD1]
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
signature.asc
Description: OpenPGP digital signature