CentOS虚拟机中安装VMware Tools
1、拷贝文件到/tmp目录下
# cp /media/VMware\ Tools/VMwareTools-9.6.0-1294478.tar.gz /tmp/
2、文件解包
# cd /tmp/
# tar -zxvf VMwareTools-9.6.0-1294478.tar.gz
# ls
..
3、开始安装
# cd vmware-tools-distrib/
# ./vmware-install.pl
Creating a new VMware Tools installer database using the tar4 format.
Installing VMware Tools.
In which directory do you want to install the binary files?
[/usr/bin]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]
What is the directory that contains the init scripts?
[/etc/rc.d/init.d]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] yes
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
The path "/usr/share/doc/vmware-tool