To
configure a Red Hat Enterprise Linux system as an NFS server via the command
line, make sure the nfs-utils RPM package is installed.
The
server configuration file, /etc/exports, uses the following format:
shared_directory
allowed_hosts(options)
where
shared_directory is the name of the directory to be shared, allowed_hosts is
the IP address range of the allowed clients, and options is a list of NFS
options for the exported directory. Obviously, the exported directory must
exist. You must be root to modify this file.