Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does VirtualBOX set up a shared folder for CentOS

2025-04-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "VirtualBOX how to set a shared folder for CentOS". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to set a shared folder for CentOS by VirtualBOX".

Set up a shared folder

Click "Devices" and select the "shared folder" menu, as shown in the following figure.

Click to add a shared folder, the option fixed and temporary refers to whether the folder is persistent. You can choose the share name at will, such as [share1]. Try to use the English name without spaces, select the location of the folder, such as [E:\ share1], and click OK, as shown in the following figure.

Open the terminal and create a folder in the CentOS system, such as a share1 folder under / mnt.

The code is as follows:

Linux code

Mkdir / mnt/share1

In the CentOS system, access the shared folder that was set up in the previous system.

The code is as follows:

Linux code

Mount-t vboxsf share1 / mnt/share1

Where "share1" is the name of the shared folder you created earlier. "/ mnt/share1" is the path to the shared folder in CentOS, as shown in the following figure.

Now that the virtual machine and the host can transfer files to each other, copy two files in the original system "E:\ share1", and then view them in CentOS, as shown in the following figure, you can see these two files in this CentOS.

Setting up the shared folder is complete.

Thank you for your reading, the above is the content of "VirtualBOX how to set a shared folder for CentOS". After the study of this article, I believe you have a deeper understanding of how VirtualBOX sets a shared folder for CentOS, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report