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-tools" does not exist currentl

本文详细介绍了如何在CentOS虚拟机中安装VMware Tools。首先将安装文件复制到/tmp目录,然后进行解包,接着进入解压后的目录并运行安装脚本。在交互式安装过程中,选择默认目录进行安装,并在完成后配置启动服务。安装结束后,重启系统以使VMware Tools生效。若要卸载,可执行提供的卸载命令。
最低0.47元/天 解锁文章
955





