How to Set Up a NFS Server and Client on Ubuntu Karmic Koala


Nfs is the fastest way to share files over a network between *nix systems. This article is a quick and easy way to share files with everyone on your local network. The article is based on Ubuntu ( karmic )

Part 1

 on How to Set Up a NFS Server and Client on Ubuntu Karmic Koala

1

 on How to Set Up a NFS Server and Client on Ubuntu Karmic Koala

2
sudo mkdir /home/share

 on How to Set Up a NFS Server and Client on Ubuntu Karmic Koala

3
sudo chown currentuser /home/share (where currentuser is replaced with the username currently logged in and being used)

 on How to Set Up a NFS Server and Client on Ubuntu Karmic Koala

4
Change all three of the Folder access drop down boxes to "create and delete files" and all three File access drop down boxes to "read and write" then close.

 on How to Set Up a NFS Server and Client on Ubuntu Karmic Koala

5

 on How to Set Up a NFS Server and Client on Ubuntu Karmic Koala

6

 on How to Set Up a NFS Server and Client on Ubuntu Karmic Koala

7
sudo gedit /etc/exports

 on How to Set Up a NFS Server and Client on Ubuntu Karmic Koala

8
/home/share 192.168.0.0/255.255.255.0(ro,sync)

 on How to Set Up a NFS Server and Client on Ubuntu Karmic Koala

9

 on How to Set Up a NFS Server and Client on Ubuntu Karmic Koala

10
( or better just restart NFS with 'sudo /etc/init.d/nfs restart' )

 on How to Set Up a NFS Server and Client on Ubuntu Karmic Koala

11

 on How to Set Up a NFS Server and Client on Ubuntu Karmic Koala

12

 on How to Set Up a NFS Server and Client on Ubuntu Karmic Koala

13
sudo gedit /etc/fstab

 on How to Set Up a NFS Server and Client on Ubuntu Karmic Koala

14
192.168.0.(x):/home/share /home/share nfs ro,soft,user,noauto 0 0 (where x is the ip address of the server be sure to reserve this ip address in your router)

 on How to Set Up a NFS Server and Client on Ubuntu Karmic Koala

15

 on How to Set Up a NFS Server and Client on Ubuntu Karmic Koala

16
mount /home/share

 on How to Set Up a NFS Server and Client on Ubuntu Karmic Koala

17