1、安装NFS
Ping@ubuntu:~$ sudo apt-get install nfs-kernel-server
同时会有两个软件包nfs-common和portmap被安装上
2.修改NFS配置文件
Ping@ubuntu:~$ vi /etc/exports
内容为:
/home/lingd/arm 192.168.0.*(rw,sync,no_root_squash,no_subtree_check)
/home/lingd/arm---要共享的目录
192.168.0.*---允许访问的网段,也可以是ip地址、主机名(能够被服务[......]