如何从VirtualBox中的Ubuntu虚拟机访问主机上的文件夹

00_lead_image_shared_folder

VirtualBox is a program that allows you to run multiple operating systems (guests) on one computer (the host computer). You may need to transfer files between the host and the guest. It’s easy to set up in Windows guests, but tricky in Ubuntu guests.

VirtualBox是一种程序,可让您在一台计算机(主机)上运行多个操作系统(来宾)。 您可能需要在主机和来宾之间传输文件。 在Windows guest虚拟机中设置起来很容易,而在Ubuntu guest虚拟机中设置起来比较麻烦。

We’ll show you how to set up an Ubuntu guest machine so you can access folders on the host machine from within the guest machine. You must enable shared folders to do this, which are available by installing VirtualBox guest additions software (see our article for instructions on how to do this).

我们将向您展示如何设置Ubuntu来宾计算机,以便您可以从来宾计算机中访问主机上的文件夹。 您必须启用共享文件夹才能执行此操作,这可以通过安装VirtualBox来宾添加软件来使用(有关如何执行此操作的说明,请参阅我们的文章 )。

Once you’ve installed the guest additions, enable shared folders by adding a folder from your host machine in the settings for the guest machine. To do this, first make sure the guest machine is powered off. Then, select the guest machine in the list on the left of the VirtualBox Manager and click Settings on the toolbar.

安装来宾添加后,通过在来宾计算机的设置中添加来自主机的文件夹来启用共享文件夹。 为此,请首先确保客户机已关闭电源。 然后,在VirtualBox Manager左侧的列表中选择客户机,然后单击工具栏上的“设置”。

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值