Please register your RHEL version with RedHat first
First open Terminal and change permission to root then enter you password.
su -
Then update your system.
yum -y update
You may want to install gcc
and kernel-devel
before continue, in case you already installed it, just skip this step.
Run these 2 commands to install gcc
and kernel-devel
.
yum -y install perl gcc make kernel-headers kernel-devel
yum -y install "kernel-devel-uname-r == $(uname -r)"
Mount VMWare Tools disk to virtual machine. Copy all the file to your local directory then extract the zip file VMwareTools-10.1.6-5214329.tar.gz
Run vmware-install.pl
to install
./vmware-tools-distrib/vmware-install.pl
If you get these error while installing
Searching for GCC...
the path "" is not valid path to the gcc binary.
Would you like to change it? [yes]
Or this one
Searching for a valid kernel header path...
The path "" is not a valid path to the 3.10.0-693.el7.x86_64 kernel headers.
Would you like to change it? [yes]
Make sure you have installed gcc
and kernel-devel
as described above. Stop and run the VMWare Tools install file vmware-install.pl
again.