NFS - Creating a Network drive Quick NFS how-to

NFS or Network File System is a great way to share documents, or expand your disk space, using the disk on another server, I am using it to share documents between my office and home, I have my office disk mounted in my home's PC using NFS.

Well the PC at my office has CentOS, so the first thing I need is to install the necessary software.

        yum install nfs-utils portmap

If you are using Debian write:

        sudo aptitude install nfs-user-server pormap

Ok, now we need to configure it, there are basically two configuration files one in the server side, and one the client side.