服务端配置:

首先mkdir /nfstest

[[email protected] /root]
#cd /etc/exports.d/

[[email protected] /etc/exports.d]
#ls
nfstest.exports

[[email protected] /etc/exports.d]
#cat nfstest.exports
/nfstest 10.10.150.*(sync,rw) 同步。读写

[[email protected] /etc/exports.d]
简易配置 NFS
服务端查看创建的挂载目录
[[email protected] /etc/exports.d]
#showmount -e 10.10.1.249
Export list for 10.10.1.249:
/nfstest 10.10.150.*
/opt/iso 10.10.150.*
简易配置 NFS

注意:有防火墙要把防火墙打开(我的防火墙是关闭的)
全部配置好 要把服务start起来
简易配置 NFS

客户端挂载信息
在/etc/fstab 写入
简易配置 NFS

简易配置 NFS

相关文章:

  • 2022-03-04
  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2021-08-08
猜你喜欢
  • 2022-12-23
  • 2021-12-09
  • 2021-06-16
  • 2021-06-05
  • 2021-08-29
  • 2021-05-22
相关资源
相似解决方案