1 |
On Sat, Jun 10, 2006 at 01:09:05AM -0500, Jeremy Olexa wrote |
2 |
|
3 |
> Much simplier: |
4 |
> http://gentoo-wiki.com/HOWTO_Using_a_shared_portage_via_NFS |
5 |
|
6 |
My approach requires 2 emerges (boa and rsyncd) and their config files |
7 |
on the server plus inserting the server as the preferred mirror in 2 |
8 |
lines in /etc/make.conf on the client(s). |
9 |
|
10 |
NFS requires building NFS server support on the server (reboot |
11 |
required) and NFS client support on the client(s) plus setting up lines |
12 |
in the associated config files. It also requires enabling and running |
13 |
portmapper on port 111 (the linux version of Windows' port 139) on the |
14 |
server and punching a few holes in iptables. For details see... |
15 |
http://gentoo-wiki.com/HOWTO_Share_Directories_via_NFS |
16 |
|
17 |
In terms of programs to configure and run, it's a wash. But I'll |
18 |
pick http security (especially boa) over portmap/nfs security any day. |
19 |
|
20 |
rsync and nfs both work for "emerge --sync" because we know that those |
21 |
files are supposed to be *ABSOLUTELY* identical for all machines at any |
22 |
given time. Unless your server has *EVERY PACKAGE THAT EVERY CLIENT |
23 |
NEEDS*, you run into a problem when emerging packages. If a required |
24 |
tarball isn't present, emerge downloads the missing file (tarball, etc) |
25 |
to the distfiles directory. But, but, but... the clients' distfiles |
26 |
directories are nfs mounts on the server. That implies that *THE |
27 |
CLIENTS WILL NEED WRITE PERMISSION ON THE SERVER*!!!! |
28 |
|
29 |
My approach is to make *LOCAL* copies on the client from mirrors. The |
30 |
local server just happens to be the first mirror on the list. If it |
31 |
doesn't have a required file, no problem, check the next mirror in the |
32 |
list. The clients never have to write on the local server. |
33 |
|
34 |
-- |
35 |
Walter Dnes <waltdnes@××××××××.org> In linux /sbin/init is Job #1 |
36 |
My musings on technology and security at http://tech_sec.blog.ca |
37 |
-- |
38 |
gentoo-user@g.o mailing list |