| |
Exercise: Setting NFS server on CentOS
On centmaster VM, created a directory for NFS sharing:
Edit directory /etc/exports and add a configuration line
for NFS share with n01 VM:
Stop the firewall on centmaster:
Start the NFS services on centmaster:
At this point, directory /NFS2/home is NFS shared with host n01 and
should be mountable on the host.
Login to n01 and verify that the RPC services on centmaster
are reachable and directory /NFS2/home is exported over NFS:
On n01, create the mounting point, and mount /NFS2/home from
centmaster:
Verify that the file system is mounted, then unmount it:
As an exercise, set an automount for /NFS2/home NFS directory on n01 VM by
following the steps in the previous automount exercise.
|
|