This is a quick and dirty guide on installing VMware tools (vmtools) on a CentOS 6 or CentOS 7 virtual machine as well as RHEL (Red Hat Enterprise Linux).
First, you will need to install the VMware tools prerequisites:
[root@virtualmachine]$ yum install make gcc kernel-devel kernel-headers glibc-headers perl net-tools
Now you will need to mount the VMware Tools ISO and select “Install/Upgrade VMware Tools” option on ESXi. This can be found a few different ways. I prefer to right click on the virtual machine, then go to guest and click on “Install/Upgrade VMware Tools.”