nfs service building (linux and windows)

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
nfs service building (linux and windows)

Opening the program
nfs service building (linux and windows)

Click to open or close the windows function
nfs service building (linux and windows)

Click OK to turn on NFS service wait for a while just fine
nfs service building (linux and windows)

win + R knockout round type cmd

nfs service building (linux and windows)
This connection completed
nfs service building (linux and windows)

Upload a virus in a shared directory
using the D Shield scans can scan to see if the virus
nfs service building (linux and windows)

Here is successful

If you want to unmount using umount -a command

nfs service building (linux and windows)

Guess you like

Origin blog.51cto.com/14354119/2427494
Recommended