Install Nfs

【Install Nfs】观书散遗帙,探古穷至妙。这篇文章主要讲述Install Nfs相关的知识,希望能为你提供帮助。

yum install nfs-utils -y
mkdir -p /nfs
cat > /etc/exports < < EOF
/nfs 192.168.0.0/24(rw,sync,no_root_squash,no_all_squash)
EOF
systemctl start nfs
systemctl start rpcbind
systemctl enable nfs
systemctl enable rpcbind
showmount -e localhost
firewall-cmd --permanent --zone=public --add-service=nfs
firewall-cmd --reload


    推荐阅读