Easily Viewed Text Based Web Browsers
Lima Linux Users Group
Home

Minutes

Sponsors

Links

To make sure NFS is installed:

Go to /etc/rc.d/init.d
Do an ls and look for nfs
If you see it, it's installed...if not you need to install the RPMS for it from the RedHat CD.

To start NFS:

Manually:

Go to /etc/rc.d/init.d
Type ./nfs start

Automatically:

Go to /etc/rc.d/init.d
Type chkconfig nfs on
This makes nfs automatically start at boot.

Exporting and Mounting:

To export a directory so that users can mount is using nfs do the following.
Create a file in /etc called exports containing the following information:
/directory/to/share hostname/IP_that_can_access_it(options)
You must have () even if no options are desired/specified.

To mount a nfs directory do the following.
Create a directory to use as a mount point:
mkdir /mnt/nfs_dir
Mount the directory:
mount host.domain.com:/directory/to/share /mnt/nfs_dir
To shorten this you can add nfs shares to your /etc/fstab
hostname.domain.com:/directory/to/share /mnt/nfs_dir nfs noauto 0 0
After doing this you can mount by just typing mount /directory/to/share