备忘用. 一,远程服务器设置: 1,在/etc/exports中添加如下配置: /home/xxx *(insecure,rw,sync,no_root_squash,anonuid=123,anongid=123) 如果insecure选项不添加的话会在后面的mount中报错(mount.nfs: access denied by server while mounting) 参数解析: rw:可读写的权限:ro:只读的权限:no_root_squash:登入到NFS主机的用户如果是ROOT用