CentOS access to files in Windows in virtual machine VMware tutorial

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.