On Sat, 2003-02-15 at 19:46, Robert Cole wrote: > I'm trying to setup my own personal mirror so I can setup multiple > machines without busting my bandwidth.
> The documentation has massive holes in it. For example it appears that > an http server is needed but the rsync mirror docs for gentoo say > nothing about that. A http server is only needed if you want to be a mirror for distfiles as well as the portage tree. The easiest way to share your portage tree and source files across multiple computers on a local network is with nfs. Put something like this in /etc/exports: /path/to/portage 192.168.1.0/24(rw,no_root_squash,sync) Then on each of your client machines add the following to /etc/fstab: server:/path/to/portage /usr/portage nfs rsize=8192,wsize=8192 0 0 On both server and client make sure that you have portmap and nfs added to the boot runlevel (rc-update add portmap boot; rc-update add nfs boot) Now when you rsync from *any* machine the portage tree will be update. When you emerge a package from *any* machine the source files will be saved in distfiles and be available to all machines. -- Troy Dack http://linux.tkdack.com <[EMAIL PROTECTED]> http://webportage.sf.net Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x4D90BE3C Key fingerprint = 1F3D 6C15 16AA 09D5 0C96 92E5 FD89 16F9 4D90 BE3C -- [EMAIL PROTECTED] mailing list
