安装虚拟机增加包

教程发布:风哥 教程分类:ITPUX技术网 更新日期:2022-02-12 浏览学习:358

本帖最后由 kele520 于 2016-5-10 16:06 编辑

VMware Tools是VMware虚拟机中自带的增强工具包,用于增强虚拟机显卡与硬盘性能、同步虚拟机与主机的时钟时间、最主要的是可以支持虚拟机与主机之间的文件拖拽传输。
第1步:在虚拟软件中选择“安装/重新安装VMware Tools(T)”:

第2步:安装VMwareTools功能增加包(请用root用户登陆系统):
创建/media/cdrom目录:
[root@ocp ~]# mkdir -p /media/cdrom
将光驱设备挂载到该目录上:
[root@ocp ~]# mount /dev/cdrom /media/cdrom
进入到该挂载目录:
[root@ocp ~]# cd /media/cdrom
将功能增强包复制到/home目录中:
[root@ocp cdrom]# cp VMwareTools-9.9.0-2304977.tar.gz /home
进入到/home目录中:
[root@linuxprobe cdrom]# cd /home
解压功能增强包:
root@locp home]# tar xzvf VMwareTools-9.9.0-2304977.tar.gz
vmware-tools-distrib/
vmware-tools-distrib/FILES
vmware-tools-distrib/doc/
vmware-tools-distrib/doc/open_source_licenses.txt
vmware-tools-distrib/doc/INSTALL
vmware-tools-distrib/doc/README
vmware-tools-distrib/installer/
vmware-tools-distrib/installer/services.sh
vmware-tools-distrib/installer/guestproxy-ssl.conf
vmware-tools-distrib/installer/thinprint.sh
vmware-tools-distrib/installer/upstart-job.conf
………………此处省略解压过程细节………………
进入解压文件夹中:
[root@ocphome]# cd vmware-tools-distrib/
运行安装脚本并加上参数-d,代表默认安装:
[root@ocp vmware-tools-distrib]# ./vmware-install.pl -d
The installer has detected an existing installation of open-vm-tools on this
system and will not attempt to remove and replace these user-space
applications. It is recommended to use the open-vm-tools packages provided by
the operating system. If you do not want to use the existing installation of
open-vm-tools and attempt to install VMware Tools, you must uninstall the
open-vm-tools packages and re-run this installer.
The installer will next check if there are any missing kernel drivers. Type yes
if you want to do this, otherwise type no [yes]
………………省略部分安装过程………………
当您看到这个字样后,重启后即可正常使用VmwareTool
Creating a new initrd boot image for the kernel.
Starting Virtual Printing daemon: done
Starting vmware-tools (via systemctl): [ OK ]
The configuration of VMware Tools 9.9.0 build-2304977 for Linux for this
running kernel completed successfully.
Enjoy,the VMware team
第3步:重新启动系统后生效:
[root@ocp ~]# reboot

本文标签:
本文标题:安装虚拟机增加包
网站声明:本文由风哥整理发布,转载请保留此段声明,本站所有内容将不对其使用后果做任何承诺,请读者谨慎使用!
【上一篇】
【下一篇】