安裝需要的程式並啟用服務
# 安裝需要的套件 yum install nfs-utils rpcbind nfs-utils-lib # 預設啟用必需的服務 systemctl enable rpcbind systemctl enable nfs systemctl enable nfslock # 立即啟用服務 systemctl start rpcbind systemctl start nfs systemctl start nfslock