window file directory mount (Mount) to Linux system directory
How Linux accesses the file directory under Windows.
To mount the file share of the window system to the Linux CentOS directory, method steps:
1. Share the directories that need to be mounted under Windows first.
2, to ensure that Linux and Windows are in the same LAN.
3. Create a directory below Linux that needs to be mounted.
4, using mount command to mount.
Mount-t Cifs-o username=cht,password=123456//172.216.176.36/test/var/www/html/mount
Use the Mount command to map the Windows directory to the Linux directory parameter description:
Username: is the window System login user name
Password:window System Login Password
172.216.176.36/test: Set the path of window shared directory, IP plus share filename
/var/www/html/mount: The directory that was mounted under Linux
Mount Common error:
Mount error = Permission denied
Refer to the Mount.cifs (manual page (E.g.man mount.cifs)
Make sure the command entered is the same as the above mount.
Then check that the window's username and password are correct.
If you have the appropriate permissions, add permissions to the following figure.