`
yaojingguo
  • 浏览: 208036 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

A simple tutorial with NFS on Ubuntu 10.04

阅读更多
Server Setup
============
$ sudo apt-get install nfs-kernel-server nfs-common portmap

Client Setup
============
$ sudo apt-get install portmap nfs-common

Editting /etc/exports on Server
==============================
Add the following lines:

/home/rise/share *(sync,no_subtree_check)
/home/rise/Documents 192.168.0.0/16(rw,sync,no_subtree_check)

$ sudo /etc/init.d/nfs-kernel-server restart

Mount on Client
===============
$ sudo mount rise-c:/home/rise/share data
$ sudo mount rise-c:/home/rise/Documents fun

rise-c is the host name of the NFS server.

Comments on exportfs Command
============================
For changes to make export entries accessible, `exportfs -a` is enough to reload
the changes. For changes to make export entries unaccessible, restarting nfs
server is needed. This behaviour is strange.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics