NFS网络文件系统是通过文件系统实现资源共享的一种最重要的方式。
c/s 客户机 服务器
B/S 浏览器 服务器
NFS服务端配置:
编辑/etc/exports文件以配置开放路径。/home/share 192.168.0.123(ro)/(rw).
/etc/init.d/portmap restart
/etc/init.d/nfs restart
服务端使用nfs,需要检查:
1.portmap服务是否已打开。
2.防火墙是否已关闭。
3.开放的共享目录,本身是否允许其他用户使用(chmod o+rwx 目录)
对方所作:
showmount -e 192.168.0.23
mount -t nfs 192.168.0.23:/home/share /home/NFS
卸载目录方法:
umount /home/NFS
阅读(118) | 评论(0) | 转发(0) |