VM Tools 是 VMware 提供的开源工具包,用于增强虚拟机在 VMware 环境中的性能以及提供复制粘贴等功能。

VM Tools 有两个版本,一个给服务器(Server)版本用的,一个给桌面(Desktop)版用的,根据你虚拟机内装的版本来对应需要安装的版本。

1、服务器版本一键安装命令:

sudo apt update && sudo apt install open-vm-tools -y

2、桌面版本一键安装命令:

sudo apt update && sudo apt install open-vm-tools-desktop -y

最后重启生效:

sudo reboot