1.設置權限爲755
2.設置exports爲
/root/test *(rw,sync,no_root_squash)
3.exports生效
exports -r
4.掛載格式爲
mount -o 192.168.30.67:/test /root/test
5.在fstab中寫入格式爲
192.168.30.67:/root/test test nfs defaults 0 0
1.設置權限爲755
2.設置exports爲
/root/test *(rw,sync,no_root_squash)
3.exports生效
exports -r
4.掛載格式爲
mount -o 192.168.30.67:/test /root/test
5.在fstab中寫入格式爲
192.168.30.67:/root/test test nfs defaults 0 0