First, prepare a windows one centos7
centos7 configure 下载 nfs和rpcbind服务
yum install -y nfs and rpcbind
edit the configuration file vim / etc / exports
to add a shared host ip I choose here to add the entire network segment
/home/nfstestdir 192.168.124.0/24(rw,sync,all_squash,anonuid=1000,anongid=1000)
After you create a shared directory
mkdir / home / nfstestdir
Then turn on nfs and rpcbind service
systemctl restart nfs
systemctl restart rpcbind
Firewall close
systemctl STOP firewalld
setenforce 0
windows配置
Opening the Control Panel
Opening the program
Click to open or close the windows function
Click OK to turn on NFS service wait for a while just fine
win + R knockout round type cmd
This connection completed
Upload a virus in a shared directory
using the D Shield scans can scan to see if the virus
Here is successful
If you want to unmount using umount -a command