Linux mounts the shared directory in windows (clear steps)
- Scenes
- purpose
- 1. Unban Guest
- Two, set shared directory permissions
- Three, set the local strategy
- Fourth, open the windows smb server
- Five, Linux mount end
-
- 1. Scan shared directories
- 2. Mount the shared directory
- 3. There may be a situation
- 4. Possible situation two
- 5. Possible situation three
-
- solution
-
- 1. Check whether the network is smooth, use ping, and solve the link problem if it is not smooth
- 2. If it can be pinged, check the network card and whether ONBOOT is yes
- 3. Check whether the firewall has a blocking strategy and turn off the firewall
- 4. If it fails, refresh the network card or close the ipv6 and refresh the network card again
Scenes
- Native windous 10 workstation version
- CentOS-7 version of the virtual machine Linux
purpose
- The virtual machine mounts a file of the windows native machine
1. Unban Guest
Two, set shared directory permissions
Three, set the local strategy
Fourth, open the windows smb server
Five, Linux mount end
1. Scan shared directories
2. Mount the shared directory
yum install -y cifs-utils #yum 安装 cifs-utils
mkdir /data #新建/data 目录用于挂载
3. There may be a situation
Solution
4. Possible situation two
Error 112: System failure
solution:
Refer to step 4 to check whether smb is turned on