One, in Windows to build a shared folder, confirm that the normal access.
Second, installation samba-client
1. Rpm-qa with Command | grep samba-client or Yum list samba-client
or Yum Info samba-client query Whether the Samba-client package is installed.
650) this.width=650; "Src=" Https://s1.51cto.com/oss/201711/17/92c0947d183b25dc36b5af9ae9fc666f.jpg-wh_500x0-wm_3 -wmp_4-s_3018834843.jpg "title=" 1.jpg "alt=" 92c0947d183b25dc36b5af9ae9fc666f.jpg-wh_ "/>
2, if not installed can be installed with the Yum install-y samba-client command.
650) this.width=650; "Src=" Https://s2.51cto.com/oss/201711/17/8dc4ad861d109c47c2a2f7b83484f0b6.jpg-wh_500x0-wm_3 -wmp_4-s_1129897948.jpg "title=" 2.jpg "alt=" 8dc4ad861d109c47c2a2f7b83484f0b6.jpg-wh_ "/>
Third, access the shared folder of Windows.
1. Build a mount point on Linux first. (-p parameter indicates that an error is not returned if the directory exists, or a new one if it does not exist)
Mkdir-p/mnt/windowsshare
2. Mount the shared folder of Windows to the/mnt/windowsshare directory
Mount-t cifs-o user= username, password= password//IP address/shared directory/mnt/windowsshare
650) this.width=650; "Src=" Https://s1.51cto.com/oss/201711/17/079b67f485c3f75114e350228c7e8d37.jpg-wh_500x0-wm_3 -wmp_4-s_4015459113.jpg "title=" 3.jpg "alt=" 079b67f485c3f75114e350228c7e8d37.jpg-wh_ "/>
Iv. Uninstall the directory.
Umount/mnt/windowsshare
This article is from the "Deep Blue Technology" blog, please be sure to keep this source http://babymylove.blog.51cto.com/770678/1982844
Linux access to Windows shared folders