Install the shared folder and maccentos shared folder for Virtualbox mac version centos7.2

Source: Internet
Author: User
Tags virtualbox mac

Install the shared folder and maccentos shared folder for Virtualbox mac version centos7.2

Because the mac is used, the centos7.2 virtual machine is installed on virtualbox on your computer. In order to exchange files with the local machine, you need to use the tribute folder function.

Most of the Web searches are for windows, so you can write a mac.

1. Create a folder on the local machine. It is best to use English letters. Do not leave spaces between letters for good looks. Here I create a folder named CM.

2. In the virtualbox navigation bar-> devices-> shared folders, click shared folders, and the page in Figure 2 appears (I am wearing a folder ),

Click the figure in the Red Circle in figure 2 and a page appears. Fill in the absolute path of the folder created in step 1, select automatic mounting and fixed allocation, and click OK, the result is shown in figure 2.

Figure 1 Figure 2

 

3. Create a folder> share in your VM to mount the shared folder.

4. Enter mount-t vboxsf CM (shared folder name)/root/share/(shared folder mount location) in the terminal ),

Run df to check the mounting. For example, if CM has been mounted, you can view it at the Mount point.

In this way, you can easily contribute files to the local machine.

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.