Skip to content

Instantly share code, notes, and snippets.

@thieunguyenhung
Last active September 13, 2018 08:33
Show Gist options
  • Save thieunguyenhung/9ef4b358704087c15366e314366a79aa to your computer and use it in GitHub Desktop.
Save thieunguyenhung/9ef4b358704087c15366e314366a79aa to your computer and use it in GitHub Desktop.
Guideline to install VMWare Tools on RHEL 7.4

How to install VMWare Tools on RHEL 7.4

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

Install VMWare Tools

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
Imgur
Run vmware-install.pl to install

./vmware-tools-distrib/vmware-install.pl

Note

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment