安裝需要的程式並啟用服務
1 2 3 4 5 6 7 8 9 10 11 12 | # 安裝需要的套件 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 |