Google
 
Web Ben's Questions and Answers

Wednesday, July 13, 2005

Share Linux Data

Someone asked how they would go about sharing a directory in Linux with multiple PCs. Since all the computers would be running Linux the obvious answer is to use NFS. Had any of the computers been running MS Windows then the answer would have been ti use Samba.

In order to share a directory using NFS you must first ensure that you have NFS installed and running. I won't go into the deatils as to how you would go about installing NFS since it's depends on which Linux distribution you're using, if you need help with this please let me know your distribution and I'll answer that as a seperate question.

Once you have NFS installed you need to edit your /etc/exports file to add the name of the directory that you intend to share and the constraints as to who you will allow to access the shared directory and what access rights they will be given. There's a good NFS howto available here:

http://nfs.sourceforge.net/nfs-howto/

If you would prefer a book then amazon has a good assortment available here.

I hope that that answers your NFS questions for now, if you have any comments please let me know and if you have any other questions which you'd like me to answer for free please send them to Ben Dash at ben.dash@gmail.com

0 Comments:

Post a Comment

<< Home