Saturday, October 27, 2007

Server (IP:

1] sudo aptitude install nfs-user-server
[For Ubuntu 6.06]
sudo aptitude install nfs-kernel-user

2] specify what directory to share by editing /etc/exports; example below


3] sudo /etc/init.d/nfs-user-server restart
[For Ubuntu 6.06]
sudo /etc/init.d/nfs-kernel-server restart

4] sudo exportfs -ua; sudo exportfs -a

Client (IP: 192.168.2.x)

1] sudo mkdir /mnt/nfs
[Ubuntu 6.06]
sudo aptitude install nfs-common
sudo /etc/init.d/nfs-common restart

2] sudo mount -t nfs /mnt/nfs
3] Check if its mounted already

cd /mnt/nfs ; ls -l



4] To umount

cd / ; umount /mnt/nfs

No comments: