Setting Up an NFS Server
Setting up the Configuration Files There are three main configuration files you will need to edit to set up an NFS server: /etc/exports , /etc/hosts.allow , and /etc/hosts.deny . In real we need to edit /etc/exports to get NFS to work, but then we would be left with an extremely insecure setup. You may also need to edit your startup scripts. . /etc/exports This file contains a list of entries; each entry indicates a volume that is shared and how it is shared. An entry in /etc/exports will typically look like this: directory machine1(option11,option12) machine2(option21,option22) directory the directory that you want to share. It may be an entire volume though it need not be. If you share a directory, then all directories under it within the same file system will be shared as well. machine1 and machine2 client machines that will have access to the directory. The machines may be listed by their DNS address or their IP address (e.g., machine....