首页 > 其他 > 详细

Centos 搭建 NFS

时间:2017-10-10 21:22:32      阅读:244      评论:0      收藏:0      [点我收藏+]
  • 服务端

yum -y install nfs-utils rpcbind

chkconfig nfs on

chkconfig rpcbind on

mkdir -p /tmp/share

chmod 600 /tmp/share

vim /etc/exports

/tmp/share 192.168.2.0/24(rw,no_root_squash,no_all_squash,sync)

/tmp/share *(rw,no_root_squash,no_all_squash,sync)

service rpcbind start

service nfs start

showmount -e localhost

  • 客户端

yum -y install nfs-utils

mkdir -p /tmp/nfs

showmount -e 192.168.2.203

mount -t nfs 192.168.2.203:/data/share /tmp/nfs

df -h

 

参考文献:http://www.cnblogs.com/liuyisai/p/5992511.html

参考文献:http://blog.csdn.net/loyachen/article/details/51010688

Centos 搭建 NFS

原文:http://www.cnblogs.com/jhc888007/p/7647751.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!