Wednesday, April 11, 2012

Sharing a directory using NFS

This tutorial will walk you through exporting a directory so that we
can read from or write to it. I will make it really simple so that in
emergency situations, you are good to go within a few minutes
First install nfs server (I am on Debian 5.0, other distributions
would have a the nfs package name similar to that)
aptitude install aptitude install nfs-kernel-server
After we have the nfs server installed, you need to export the
directory by using the /etc/exports file. The format ofthe file is:
dir_to_be_exported allowed_hosts(options)