NFS service construction (Linux-Windows)

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

Insert picture description here
Insert picture description here
Insert picture description here

Insert picture description here
Insert picture description here
Use win+r to open the running interface and enter cmd to open the terminal
Insert picture description here
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_45835451/article/details/103729717