Linux nfs配置

date: 2017.09.11; modification:2017.09.11

目录:

1 安装

apt-get install nfs-kernel-server nfs-clinet

2 配置

sudo vi /etc/exports
添加
/xxx/xxx/ *(ro,sync,no_subtree_check,no_root_squash)

3 挂载

mount -t nfs -o nolock 192.168.1.2:/home/mike/xxx/nfs /mnt