The role of mounting Windows shared files:
In real life, many files placed on Windows, and then run on Linux, mount Windows shared Folders, is the simplest way to quickly read files on Windows. For example, Windows download Linux Software installation package, installed on Linux, for this purpose we can use the Mount command on Linux mount, Windows shared folder, just like the windows in the shared directory as a USB flash drive, Unzip the installed package on the Linux local installation
The steps are as follows: The mounted end of Windows:
- Unblock guest
Right-click the Windows "this PC"------go to "manage"------Select "User"------right click on "Guest"-------Select "Properties
- Windows creates shared folders and shares them.
Open e-drive-------Create a folder named lamp------Right-click the folder Select "Share"-------Add shared User "Everyone"-------Click "Share"
- Enter Windows Local Policy secpol.msc
Local search for "secpol.msc"
- User Rights Assignment---Deny access to the computer from the network------remove the Guest user
It is also best to remove the guest who refused to log on locally
- Security Options---------Network access----------sharing and security model for local accounts------Guest only
Change the sharing and security model of the local account to guest mode only
On-Mount Linux:
Mounting prerequisites windows and Linux can interconnect
Scan shared folder: Smbclient-l//Mount IP address/
We use the Guest ID login password without filling in the direct return
Create mount point mkdir/mount point
Mount command: mount.cifs//Mounted IP address/shared folder name/mount point
Password do not fill in the direct return
- View mount Status: Df-h
.
Linux mount Windows shared files