:修改/etc/exports
写入/home/work 192.168.0.*(rw,sync,no_root_squash)
保存
宿主机执行
ifconfig eth0 192.168.13.61
Service nfs start
目标机执行
mount -t nfs -o nolock 192.168.13.61:/home /mnt
其中 -o
:修改/etc/exports
写入/home/work 192.168.0.*(rw,sync,no_root_squash)
保存
宿主机执行
ifconfig eth0 192.168.13.61
Service nfs start
目标机执行
mount -t nfs -o nolock 192.168.13.61:/home /mnt
其中 -o