In this video, I demonstrated the installation procedures of VMware tools on Debian. The same procedures work on Ubuntu. I used Debian 8 Jessie for the demonstration. It should work the same on CentOS 7 and RHEL 7, the only difference is the the commands you run to install gcc and linux-headers.
# install build tools (linux headers and gcc compiler)
sudo apt-get update
sudo apt-get install build-essential linux-headers-amd64
# Run the vmware installer as root