1. Set the file as a shared folder
2. Determine your Windows IP address, username and password
The 3.CentOS terminal enters the following content:
[root@*** mnt]# mkdir Wind
[root@*** mnt]# mount-t cifs//192.168.61.77/newscrawl/mnt/wind-o username=***
Password:
[root@*** mnt]# Df-h
FileSystem Size Used Avail use% mounted on
/dev/sda2 20G 6.3G 13G 35%/
Tmpfs 504M 96K 504M 1%/DEV/SHM
/DEV/SDA1 194M 28M 157M 16%/boot
/dev/sda3 4.9G 330M 4.3G 8%/home
/dev/sr0 3.6G 3.6G 0 100%/media/centos_6.5_final
192.168.61.77/newscrawl 105G 51G 54G 49%/mnt/wind
Note: A folder in Win that is shared by Newscrawl for you and wants to be accessed in CentOS
4. Verification success or failure
You can create a new document in the/mnt/wind directory, and then see if there is a document in win, and then say the goal is reached.
New Document: Touch Test.txt