Chinaunix首页 | 论坛 | 博客
  • 博客访问: 394869
  • 博文数量: 112
  • 博客积分: 4535
  • 博客等级: 上校
  • 技术积分: 1120
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-12 10:57
文章分类

全部博文(112)

文章存档

2014年(1)

2013年(1)

2012年(18)

2011年(10)

2010年(16)

2009年(48)

2008年(9)

2007年(9)

我的朋友

分类: LINUX

2009-09-03 10:06:07

Ubuntu Linux NFS Client Configuration to mount nfs share

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 ;)

Recourses

Following recourses helped me to configure NFS :)

This is a user contributed article.

文章来源:


阅读(719) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~