Wu.Country@侠缘

勤学似春起之苗,不见其增,日有所长; 辍学如磨刀之石,不见其损,日所有亏!

导航

Ubuntu Linux NFS Client Configuration to mount nfs share

Ubuntu Linux NFS Client Configuration to mount nfs share

Posted by Vivek Gite [Last updated: December 18, 2007]

Since I am not networking professional I was nervous about using nfs share. Desperately I wanted to access my files over network using Ubuntu NFS. Our IT folks not working today due to weekend holiday.

Ubuntu NFS

After searching net, I discover that you need two packages to mount nfs share under Ubuntu Linux.

So, I did Install necessary support for nfs client side i.e. portmap and nfs-common package. Type following command to install packages:
sudo apt-get install portmap nfs-common

Now mount server.mydomain.com:/network/officedocs to /home/me/myfiles
cd
mkdir myfiles
sudo mount server.mydomain.com:/network/officesdocs /home/me/myfiles

Note you may need to restart above services:
sudo /etc/init.d/portmap restart
sudo /etc/init.d/nfs-common restart

How do I access my files using NFS?

Just go to mount point i.e. myfiles with cd command:
cd myfiles
ls
gedit file.c

May be next time I will get my hands dirty with NFS server

http://www.cyberciti.biz/tips/ubuntu-linux-nfs-client-configuration-to-mount-nfs-share.html

posted on 2008-12-03 00:49  Wu.Country@侠缘  阅读(813)  评论(2编辑  收藏  举报