Ubuntu Linux virtual machine with Windows Quick Create shared folder

Source: Internet
Author: User

Sometimes we need to transfer files under Windows with a remote Linux server, it is convenient to use PSCP to transfer files, but it is not easy to transfer multiple files, and it is not easy to see. Read the online tutorial summarizing the process of creating a shared folder:

1. First create a folder in your local Windows system for sharing with a Linux virtual machine, as follows:

2. The process of creating a Linux virtual machine using VirtualBox or VMware Workstation is not mentioned.

3. Once created, the shared folder needs to be set up in VirtualBox or VMware workstation as follows:

4. Start the Linux virtual machine and install the enhanced features:

If the installation fails (the virtual disc could not be loaded), you need to eject the disc in the virtual machine first, as follows:

5. Execute the following command sequentially

sudo Install Samba Smbclient sudo mkdir /pcshare                  #在虚拟机中创建共享文件夹 sudochmod777 /Pcshare  sudomount -t vboxsf share/pcshare  #此处的share为windows下的共享文件夹名称, does not require full path under windows!

Now that the shared folder has been created, let's verify that:

As you can see, the file Hello.txt in the directory share under Windows can also be accessed under the virtual machine.

Ubuntu Linux virtual machine with Windows Quick Create shared folder

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.