部署 NFS 服务

安装

1
yum install nfs-utils

配置

  • /etc/exports
1
/data/nfs/iso *(rw,sync,no_subtree_check,no_root_squash)
  • man: https://linux.die.net/man/5/exports

启动

1
2
3
systemctl start nfs-server.service
systemctl enable nfs-server.service
systemctl status nfs-server.service