工具/原料
- HPBookPro14
- Linux7.8
方法/步骤
- 1
利用xshell东西登录linux 体系

- 2
利用号令,查看是否安装了nfs软件包
#rpm -qa|grep nfs-utils

- 3
安装nfs软件包
#yum -y install nfs-utils

- 4
编纂nfs办事的配置文件
#vi/etc/exports
添加共享目次/data
生存,退出
#:wq

- 5
更新配置文件
#exportfs -r

- 6
启动NFS办事,并查看办事状况。
#systemctl start nfs-server
#systemctl status nfs-server

- 7
配置NFS办事开机自启动
#systemctl enable nfs-server

- 8
查看NFS办事共享盘挂载环境
#showmount -e localhost
END










