0
点赞
收藏
分享

微信扫一扫

NFS服务概述和工作原理

林塬 2023-04-07 阅读 83

NFS服务概述和工作原理

1、NFS服务器部署:
要部署NFS服务,必须安装下面两个软件包:nfs-utils:NFS主程序,rpcbind:PRC主程序;
NFS服务器端和Client端都需要这安装这两个软件。
查看NFS软件包:
[root@nfs_storage ~]# rpm -qa | grep -E  'nfs|rpcbind'
安装nfs-utils和rpcbind软件包
[root@nfs_storage ~]# yum -y install nfs-utils rpcbind
2、启动NFS服务
注意:先启动rpc服务,再启动nfs服务。
[root@nfs_storage ~]# systemctl start rpcbind    #启动rpc服务
[root@nfs_storage ~]# systemctl enable rpcbind    #设置开机启动
启动nfs服务:
[root@nfs_storage ~]# systemctl start nfs     #启动nfs服务
[root@nfs_storage ~]# systemctl enable nfs    #设置开机启动

  • 关闭selinux和firewalld防火墙
  • 服务端70.103









  • 客户端70.100





服务端103:


  • 客户端70.102


服务端70.103:


举报

相关推荐

0 条评论