NFS安装
ubuntu安装NFS
# config NFS Server apt install -y nfs-common apt install -y nfs-kernel-server apt install -y rpcbind cat>/etc/exports<<EOF /data *(rw,no_root_squash,no_subtree_check,sync) EOF systemctl enable rpcbind systemctl start rpcbind /etc/init.d/nfs-kernel-server restart systemctl enable nfs-kernel-server showmount -e localhost