Configuring nfs-utils
Server Configutation
/etc/exports contains the exported directories on NFS servers.
Refer to the exports manual page for the syntax of this file. Also refer to the
NFS HowTo available at on how to
configure the servers and clients in a secure manner. For example, for sharing the
/home directory over the local network, the following line may
be added:
/home 192.168.0.0/255.255.0.0(rw)
Install the /etc/rc.d/init.d/nfs-server
init script included in the
package to start
the server at boot.
make install-nfs-server
Client Configutation
/etc/fstab contains the directories that are to be mounted
on the client. Alternately the partitions can be mounted by using the
mount command with the proper options. To mount the /home
partition, add the following to the /etc/fstab:
<server-name>:/home /home nfs rw 0 0
Install the /etc/rc.d/init.d/nfs-client
init script included in the
package to mount
the partitions at boot.
make install-nfs-client