Before installing vmware tools on a Centos virtual machine, you need to use the following commands to install support tools
yum install open-vm-tools
If the prompt depends on the installation package, such as perl, etc., install it separately according to the prompt name.