CentOS7
yum -y install perl mkdir -p /mnt/cdrom mount -t iso9660 /dev/cdrom /mnt/cdrom tar -zxvf /mnt/cdrom/VMwareTools-10.3.21-14772444.tar.gz -C /root/ cd ~/vmware-tools-distrib/ ./vmware-install.pl
Rockylinux9
dnf install -y open-vm-tools systemctl enable --now vmtoolsd.service