千家信息网

vSphere安装vmtools

发表于:2026-10-31 作者:千家信息网编辑
千家信息网最后更新 2026年10月31日,1.下载vmtools打开官方站点:https://my.vmware.com/group/vmware/downloads在搜索栏中输入vmtools找到一个合适的版本下载解压2.上传到ESXi或共
千家信息网最后更新 2026年10月31日vSphere安装vmtools

1.下载vmtools

打开官方站点:https://my.vmware.com/group/vmware/downloads

在搜索栏中输入vmtools

找到一个合适的版本下载

解压


2.上传到ESXi或共享存储

依次选中ESXI主机-配置存储器,这里选择本地存储datastore1


在datastore1上右键选择"浏览数据存储"

选中tools文件夹,上传

上传成功后,可以看到多了一个vmtools文件夹,打开可以看到里面有各种vmtools的iso镜像



3.安装vmtools

windows下安装vmtools

在虚拟机列表中,找到需要安装vmtools的windows 2003

单击右键"打开控制台",登陆系统

由于之前安装的时候使用了windows 2003的光盘,现在需要先弹出光盘镜像,然后挂上vmtools中windows的镜像

然后编辑虚拟机设置,将光盘镜像替换为vmtools的ISO文件

再回到控制台

windows将开始自动安装vmtools,直接下一步,下一步,完成安装。

注意:由于是第一次安装vmtools,安装完成后系统会要求重启以应用更新。(以后升级vmtools的时候不需要重启)

重启完成后,即完成安装。



Linux下的vmtools安装

同样,卸载之前的系统安装光盘,挂载上vmtools,注意,这里是挂载linux下的vmtools

注意:如果之前挂载系统盘安装了,一定要进系统把系统镜像ISO卸载了,才能替换成vmtools的镜像

回到控制台,打开命令行,使用mount命令挂载刚才替换的vmtools镜像

mount /dev/cdrom /media

这里会提示挂载的镜像是只读方式:mount:block device /dev/cdrom is write-protected,mounting read-only

进入到/media下,可以看到一个VMwareTools-10.0.8-3746311.tar.gz

由于光盘镜像内的文件是只读的,所有我们将其拷贝出来再解压安装

cp VMwareTools-10.0.8-3746311.tar.gz /root

然后切换到/root目录下,解压安装

tar -xvf VMwareTools-10.0.8-3746311.tar.gz

可以看到/root下多了一个vmware-tools-distrib文件夹

进去查看,可以找到一个vmware-install.pl文件

执行

./vmware-install.pl

开始安装

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]

In which directory do you want to install the common agent library files?

[/usr/lib]

In which directory do you want to install the common agent transient files?

[/var/lib]

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 currently. This program

is going to create it, including needed parent directories. Is this what you

want? [yes]

The installation of VMware Tools 10.0.8 build-3746311 for Linux completed

successfully. You can decide to remove this software from your system at any

time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".


Before running VMware Tools for the first time, you need to configure it by

invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want

this program to invoke the command for you now? [yes]

Initializing...

Making sure services for VMware Tools are stopped.


Stopping VMware Tools services in the virtual machine:

Guest operating system daemon:[ OK ]

Common Agent:[ OK ]

VGAuthService:[ OK ]

VMware User Agent (vmware-user):[ OK ]

Unmounting HGFS shares:[ OK ]

Guest filesystem driver:[ OK ]

Guest memory manager:[ OK ]

VM communication interface socket family:[ OK ]

VM communication interface:[ OK ]



The VMware FileSystem Sync Driver (vmsync) allows external third-party backup

software that is integrated with vSphere to create backups of the virtual

machine. Do you wish to enable this feature? [no]

Found a compatible pre-built module for vmci. Installing it...



Found a compatible pre-built module for vsock. Installing it...



Found a compatible pre-built module for vmxnet3. Installing it...



Found a compatible pre-built module for pvscsi. Installing it...



Found a compatible pre-built module for vmmemctl. Installing it...



The VMware Host-Guest Filesystem allows for shared folders between the host OS

and the guest OS in a Fusion or Workstation virtual environment. Do you wish

to enable this feature? [no]


Found a compatible pre-built module for vmxnet. Installing it...



The vmblock enables dragging or copying files between host and guest in a

Fusion or Workstation virtual environment. Do you wish to enable this feature?

[no]

Would you like to enable VMware automatic kernel modules?

[no]


Do you want to enable Guest Authentication (vgauth)? Enabling vgauth is needed

if you want to enable Common Agent (caf). [yes]

Do you want to enable Common Agent (caf)? [yes]

Detected X version 7.1




Do you want to change the starting screen display size? (yes/no) [no]


X is running fine with the new config file.


Creating a new initrd boot p_w_picpath for the kernel.


NOTE: both /etc/vmware-tools/GuestProxyData/server/key.pem and

/etc/vmware-tools/GuestProxyData/server/cert.pem already exist.

They are not generated again. To regenerate them by force,

use the "vmware-guestproxycerttool -g -f" command.


Checking acpi hot plug[ OK ]

Starting VMware Tools services in the virtual machine:

Switching to guest configuration:[ OK ]

Paravirtual SCSI module:[ OK ]

Guest memory manager:[ OK ]

VM communication interface:[ OK ]

VM communication interface socket family:[ OK ]

VMware User Agent:[ OK ]

Guest operating system daemon:[ OK ]

VGAuthService:[ OK ]

Common Agent:[ OK ]

The configuration of VMware Tools 10.0.8 build-3746311 for Linux for this

running kernel completed successfully.


You must restart your X session before any mouse or graphics changes take

effect.


You can now run VMware Tools by invoking "/usr/bin/vmware-toolbox-cmd" from the

command line.


To enable advanced X features (e.g., guest resolution fit, drag and drop, and

file and text copy/paste), you will need to do one (or more) of the following:

1. Manually start /usr/bin/vmware-user

2. Log out and log back into your desktop session; and,

3. Restart your X session.


Enjoy,


--the VMware team

全部默认选择,至此,linux下的vmtools安装成功,重启系统结束安装



系统 镜像 文件 光盘 选择 存储 控制台 文件夹 目录 控制 成功 命令 时候 合适 主机 二进制 存储器 官方 官方站点 拷贝 数据库的安全要保护哪些东西 数据库安全各自的含义是什么 生产安全数据库录入 数据库的安全性及管理 数据库安全策略包含哪些 海淀数据库安全审计系统 建立农村房屋安全信息数据库 易用的数据库客户端支持安全管理 连接数据库失败ssl安全错误 数据库的锁怎样保障安全 科技互联网企业 凡科互联网科技 鑫亿盛互联网科技 腾讯科技 互联网女皇 上海致骋互联网科技 睿民互联网科技 天下捷融互联网科技 四川狮子座互联网科技 中正互联网科技招聘 中国的互联网科技企业的崛起 昭通云南众福互联网科技有限公司 上海宁丞科技互联网 华夏恒生科技与互联网科技 互联网行业科技股 徐州市互联网科技有限公司 群盈汇互联网科技有限公司 皮皮虾互联网科技有限公司 广西科技产业互联网是什么 银川新华互联网科技学校原画 利用互联网等科技手段 互联网为科技 互联网与科技金融数据 上海电发互联网科技有限公司 深圳国际航运科技和互联网 互联网金融运营模式中的金融科技 北京天晋互联网科技有限公司 盐城市攀科互联网科技有限公司 现代科技的标志之一的互联网 六子台科技互联网展会 株洲百竞科技的互联网营销顾问
0