Creating a NFS Share
Create a directory to share
mkdir /var/share vi /etc/exports /var/share 192.168.100.100(ro,no_root_squash,sync)
Now to apply changes you can :
exportfs -a
To verify :
exportfs
For the first time , you want to restart the services :
service nfs start service portmap start
Mounting Share on the Client Side
mkdir /mnt/serverdata mount -t nfs serverip:/var/share /mnt/serverdata