Prepare a server 192.168.1.100
[root@localhost ~]# yum -y install nfs-utils rpcbind
Modify the configuration file to allow client access
[root@localhost ~]# vim /etc/exports
/home/gxb192.168.1.101/24(rw,no_root_squash,no_all_squash,sync)
Create a directory and increase permissions
[root@localhost ~]# mkdir -p /home/gxb
[root@localhost ~]# chmod 777 /home/gxb/
Open the service, the order of opening cannot be changed
[root@localhost ~]# systemctl start rpcbind
[root@localhost ~]# systemctl start nfs
Turn off the firewall and reduce the sandbox level
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# setenforce 0
Windows configuration opens the windows NFS service
Use win+r to open the running interface and enter cmd to open the terminal