VirtualBox from Sun is a great free virtual machine that lets you run multiple operating systems on your PC. Today we take a look at installing the Guest Additions feature which provides enhanced performance of the guest operating system.
Sun的VirtualBox是一款出色的免费虚拟机,可让您在PC上运行多个操作系统。 今天,我们来看一下安装来宾附加功能,该功能可增强来宾操作系统的性能。
Note: For this article we are using version 3.0.2 on a Windows 7 (32-bit) guest OS.
注意:对于本文,我们在Windows 7(32位)来宾OS上使用3.0.2版。
Install Guest Additions for Windows
为Windows安装来宾添加
Guest Additions installs on the guest system and includes device drivers and system applications that optimize performance of the machine. Launch the guest OS in VirtualBox and click on Devices and Install Guest Additions.
来宾添加程序安装在来宾系统上,并包括可优化计算机性能的设备驱动程序和系统应用程序。 在VirtualBox中启动来宾操作系统,然后单击“设备并安装来宾添加项”。
The AutoPlay window opens on the guest OS and click on the Run VBox Windows Additions executable.
在客户机OS上将打开“自动播放”窗口,然后单击“运行VBox Windows添加”可执行文件。
Click yes when the UAC screen comes up.
出现UAC屏幕时,单击“是”。
Now simply follow through the installation wizard.
现在,只需遵循安装向导。
During the installation wizard you can choose the Direct3D acceleration if you would like it. Remember this is going to take up more of your Host OS’s resources and is still experimental possibly making the guest unstable.
在安装向导中,您可以根据需要选择Direct3D加速。 请记住,这将占用主机OS的更多资源,并且仍处于试验阶段,可能会使来宾不稳定。
When the installation starts you will need to allow the Sun display adapters to be installed.
安装开始时,您将需要允许安装Sun显示适配器。
After everything has completed a reboot is required.
一切完成后,需要重新启动。
Install Guest Additions for Ubuntu
为Ubuntu安装Guest Additions
Note: For this section we are using version 3.0.2 on Ubuntu 8.10 (32-bit) version.
注意:在本节中,我们将在Ubuntu 8.10 (32位)版本 上使用3.0.2 版本。
If you have Ubuntu running in a virtual machine installing the Guest Additions is easy as well. With the Ubuntu virtual machine running click on Devices and Install Guest Additions.
如果您在虚拟机中运行Ubuntu,那么安装Guest Additions也很容易。 在Ubuntu虚拟机运行的情况下,单击设备并安装Guest Additions。
This will mount the ISO and show an icon on the desktop and give you the following message box where you just click Run.
这将挂载ISO并在桌面上显示一个图标,并为您提供以下消息框,您只需单击运行即可。
Enter in your admin password and click OK.
输入您的管理员密码,然后单击“确定”。
Next you will see the installation taking place and when done you’ll prompted to click on Enter.
接下来,您将看到安装正在进行中,完成后将提示您单击Enter。
A Reboot of the guest OS is required to complete the installation.
需要重新启动来宾操作系统才能完成安装。
Command Line Installation
命令行安装
If the above process doesn’t work or you want to use the command line to install Guest Additions then first open up a Terminal session.
如果上述过程不起作用,或者您想使用命令行来安装Guest Additions,则首先打开一个终端会话。
Now type in the following commands.
现在输入以下命令。
cd /media/cdrom
cd /媒体/ cdrom
ls
ls
sudo ./VBoxLinuxAdditions-x86.run
须藤./VBoxLinuxAdditions-x86.run
Again a restart of Ubuntu is required from the GUI or type in “sudo reboot” (without quotes) in the command line.
再次需要从GUI重新启动Ubuntu,或在命令行中键入“ sudo reboot” (不带引号) 。
There are a lot of cool features included with the Guest Additions such as clipboard and folder sharing, better video support, and mouse pointer integration which lets you navigate in the guest OS without having it capture the pointer.
来宾添加项中包含很多很酷的功能,例如剪贴板和文件夹共享,更好的视频支持以及鼠标指针集成,使您可以在来宾操作系统中导航而无需捕获指针。
Related VirtualBox articles:
相关的VirtualBox文章:
Try Out a New Operating System the Easy Way with VirtualBox
Use VirtualBox to Test Linux on Your Windows PC
使用VirtualBox在Windows PC上测试Linux
翻译自: https://www.howtogeek.com/howto/2845/install-guest-additions-to-windows-and-linux-vms-in-virtualbox/
本文介绍如何在Windows和Ubuntu虚拟机中安装VirtualBox来宾添加项,以优化虚拟机性能,提供更好的视频支持、鼠标指针集成等功能。


被折叠的 条评论
为什么被折叠?



