CentOS安装VMware Tools

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

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

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值