shell-nfs服务端


[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

原创文章 96 获赞 4 访问量 2179

猜你喜欢

转载自blog.csdn.net/weixin_46380571/article/details/105704229