NFS配置linux

yum clean all
yum repolist
第一步:下载
yum install nfs-utils rpcbind -y
第二步:配置
mkdir /test
vim /etc/exports
/test 192.168.126.0(rw)
第三步:重启
systemctl restart nfs rpcbind
关防火墙
setenforce 0
systemctl stop firewalld
添加权限
chmod 777 /test
客户端连接
第一步:下载
yum install nfs-utils -y
第二步:查看
showmount -e 192.126.126.6
第三步:挂载
mkdir /zxw
mount -t nfs 192.168.126.6:/test /zxw

查看磁盘

df -h

posted on 2019-07-25 19:29  我就是我没毛病  阅读(112)  评论(0编辑  收藏  举报

导航