Environment: windows8.1 with Update (ip:192.168.80.135)
centos6.5 minimized installation of the system
Steps:
1. Create a folder in the E-disk of Windows MyHome, add a new file under MyHome, and then set the folder to share. How to share folders under Windows step please Baidu yourself.
2. Installing the CIFS software under Linux
Yum Install Cifs-utils
3. Mount commands
Mount.cifs-o username= "Administrator", password= "111111"//192.168.80.135/myhome/mnt/winf/
4. See if the mount is successful
[Email protected] winf]# df-h
Filesystem Size used Avail use% mounted on
·······
192.168.80.135/myhome 248G 101G 148G 41%/mnt/winf
[[email protected] winf]# ls
Sadas.txt
[Email protected] winf]# pwd
/mnt/winf
Mounted successfully, you can access the files of the Windows shared folder.
This article is from "Operation and Maintenance"!!! "Blog, be sure to keep this provenance http://oldyunwei.blog.51cto.com/6338968/1660836
How to mount Windows shared folders under Linux