Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page 512 #538
i
i
i
i
i
i
i
i
Figure 21.38: Configuring an NFS Server with YaST
21.10.4 Exporting File Systems Manually
If you do not want to use YaST, make sure the following systems run on the
NFS server:
RPC portmapper (portmap)
RPC mount daemon (rpc.mountd)
RPC NFS daemon (rpc.nfsd)
For these services to be started by the scripts /etc/init.d/portmap
and /etc/init.d/nfsserver when the system is booted, en-
ter the commands insserv /etc/init.d/nfsserver and
insserv /etc/init.d/portmap. Also define which file systems should
be exported to which host in the configuration file /etc/exports.
For each directory to export, one line is needed to set which machines may
access that directory with what permissions. All subdirectories of this di-
rectory are automatically exported as well. Authorized machines are usu-
ally specified with their full names (including domain name), but it is pos-
sible to use wild cards like * or ? (which expand the same way as in the
512 21.10. NFS — Shared File Systems