1. Set the file as a shared folder
2. Determine your Windows IP address, username and password
3.CentOS Terminal Enter the following:
[email protected]*** mnt]# mkdir Wind
[[Email protected]*** mnt]# mount-t cifs//192.168.61.77/newscrawl/mnt/wind-o username=***
Password:
[email protected]*** 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: The folder in Win that Newscrawl is shared with and you want to access in CentOS
4. Verify success or not
You can create a new document in the/mnt/wind directory and see if the document appears in win, and the purpose has been reached.
New Document: Touch Test.txt
650) this.width=650, "src=" http://images.cnitblog.com/blog/437282/201411/041405283617635.gif "width="/>
Vmware/centos Accessing files in Windows