虚拟机增强工具安装

无论是VMbox还是VMware都提供增强工具,作用是:全屏,增强屏幕清晰度,鼠标更流畅,宿主与虚拟机之间进行文件拖动,好处多多。

安装步骤

1. 点击设备,安装增强工具,可以看到有磁盘加载进来。

这里写图片描述

2. 右键open,可以看到光碟里面的内容

这里写图片描述

3. 搜索 Terminal 命令行工具,打开

这里写图片描述

4. 进入目录,并查看光碟内容
cd /media/toucan/VBox_GAs_5.2.8
ls
5. 启动安装命令
sudo ./VBoxLinuxAdditions.run
4. 报错显示,没有安装perl软件
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.8 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.8 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted
VirtualBox Guest Additions: Starting.
5. 安装perl模块
sudo apt-get install gcc make perl
sudo sh ./VBoxLinuxAdditions.run

继续已经安装

Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.8 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.8 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted
VirtualBox Guest Additions: Starting.
更新安装
sudo apt-get update 
再次确认,此增强工具已经安装,不能替代当前运行版本。说明增强工具本来已经安装成功了。
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.8 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.8 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted
VirtualBox Guest Additions: Starting.
安装成功后,得到如下结果。重启电脑检查是否,全屏,分辨率是否高清了。
toucan@tsys:/media/toucan/VBox_GAs_5.2.8$ lsmod | grep vbox
vboxsf                 45056  1
vboxvideo              36864  2
ttm                   106496  1 vboxvideo
drm_kms_helper        167936  1 vboxvideo
drm                   401408  5 vboxvideo,ttm,drm_kms_helper
vboxguest             303104  5 vboxsf
syscopyarea            16384  2 vboxvideo,drm_kms_helper
sysfillrect            16384  2 vboxvideo,drm_kms_helper
sysimgblt              16384  2 vboxvideo,drm_kms_helper

VMware虚拟机增强工具安装

1. 选择虚拟机,安装增强工具

这里写图片描述

这里写图片描述

这里写图片描述

4. 打开terminal命令行

这里写图片描述

进入到

/media/toucan/光碟
将光碟内容复制到~/Downloads文件夹
进入~/Downloads文件夹
5. 解压压缩包,执行perl命令,一路yes或回车
tar -zxf VMwareTools-10.1.6-5214329.tar.gz 
cd vmware-tools-distrib/
sudo perl vmware-install.pl

完成安装后,重启电脑,显示全屏
这里写图片描述

这里写图片描述

这里写图片描述

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐