全部博文(112)
分类: LINUX
2009-09-03 10:06:07
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.
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
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 ;)
Following recourses helped me to configure NFS :)
This is a user contributed article.
文章来源: