简单粗暴!!
服务器端配置命令
1,
yum install -y nfs-utils rpcbind
2,
/etc/init.d/rpcbind start
3,
/etc/init.d/nfs start
4,
echo /data 10.0.0.0/24(insecure,rw,async,no_root_squash)>>/etc/exports
5,
/etc/init.d/nfs reload
6,
showmount -e 10.0.0.200
7,
mount -t nfs 10.0.0.200:/data /mnt
查看:df -h
~~~~~~~~~~~~~~~~~~
客户端配置命令
~~~~~~~~~~~~~~~~~~
1,
yum install -y nfs-utils rpcbind
2,
/etc/init.d/rpcbind start
3,
/etc/init.d/nfs start
4,
showmount -e 10.0.0.200
5,
mount -t nfs 10.0.0.200:/data /mnt
查看dh -h
~~~~~~~~~~~~~~~