VMware Tools用于虚拟客户系统与宿主系统之间的数据交换,如从宿主系统的粘贴板中,读取数据鼠标的无缝移出移入,剪贴板共享,共享文件夹等功能。
选择虚拟机 -- 》VMware Tools安装
找到VMwareTools-10.2.0-7259539.tar.gz所在位置。
[root@localhost kwinz]# cd /opt 进入VMwareTools-10.2.0-7259539.tar.gz的路径下
[root@localhost opt]# ls
查看当前路径下文件
rh VMwareTools-10.2.0-7259539.tar.gz
[root@localhost opt]# tar -zxvf VMwareTools-10.2.0-7259539.tar.gz
解压
vmware-tools-distrib/
vmware-tools-distrib/bin/
vmware-tools-distrib/bin/vm-support
vmware-tools-distrib/bin/vmware-config-tools.pl
vmware-tools-distrib/bin/vmware-uninstall-tools.pl
vmware-tools-distrib/vgauth/
vmware-tools-distrib/vgauth/schemas/
vmware-tools-distrib/vgauth/schemas/
...............
[root@localhost opt]# ls
rh VMwareTools-10.2.0-7259539.tar.gz vmware-tools-distrib
[root@localhost opt]# cd vmware-tools-distrib/
进入vmware-tools-distrib下
[root@localhost vmware-tools-distrib]# ls
bin caf doc etc FILES INSTALL installer lib vgauth vmware-install.pl
[root@localhost vmware-tools-distrib]# ./vmware-install.pl
执行vmware-install.pl ,安装
The installer has detected an existing installation of open-vm-tools packages
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 packages and use VMware Tools, you must uninstall the
open-vm-tools packages and re-run this installer.
The packages that need to be removed are:
open-vm-tools
The installer will next check if there are any missing kernel drivers. Type yes
if you want to do this, otherwise type no [yes]
....
(一路回车)
Creating a new initrd boot image for the kernel.
The configuration of VMware Tools 10.2.0 build-7259539 for Linux for this
running kernel
completed successfully.
Enjoy,
--the VMware team
[root@localhost vmware-tools-distrib]#
重新启动CentOS。
下面是重启的命令:reboot