[root@VM_0_5_centos shell]# cat nfs-zhu.sh
#!/bin/bash
yum -y install nfs-utils rpcbind
systemctl enable nfs
systemctl enable rpcbind
cat /etc/exports
echo "/backup/ 10.0.0.0/24(rw,sync,no_root_squash)" >/etc/exports
systemctl start rpcbind
systemctl start nfs
ss -ntlp | grep rpcbind
shell-nfs服务端
最新推荐文章于 2024-04-16 06:16:03 发布