步骤如下
1.群晖需要配置开启MFS服务
2.Linux系统安装NFS服务
3.准备配置yum源
##运行以下命令生成缓存
yum clean all
yum makecache
##关闭防火墙
systemctl stop firewalld
setenforce 0
##安装nfs
yum install nfs-utils
##查看挂载卷
[root@localhost ~]#showmount -e IP ###IP为群晖服务器
Export list for IP.177:
/volume1/backu_app IP.99,IP.98 ###允许的白名单IP
##创建本地目录
mkdir /NFSfile
##将远程文件夹挂载到本地目录
mount -t nfs IP.177:/volume1/backu_app /NFSfile
##查看是否挂载成功
df -h