Table of Contents
If you’re using VMware Player, VMware Workstation Pro, VMware ESXi or vSphere, then VMware Tools is a very important tool for you. VMware Tools helps a VMware virtual machine (VM) integrate nicely with VMware hypervisor.
When VMware Tools is installed on a virtual machine (VM), it will report back to the VMware hypervisor it’s IP address and many more information such as CPU usage, disk usage, memory usage etc.
VMware Tools also provides many advanced features like:
- Drag and drop files between virtual machine and host computer.
- Better graphics support and 3D graphics acceleration.
- Multi monitor support and auto resize virtual machine window.
- Clipboard sharing between host and virtual machine.
- Virtual machine sound support.
- Time synchronization between the virtual machine and host.
- Shared folders in virtual machines and other performance enhancements.
Installing Open VM Tools on CentOS/RHEL 7
Open VM Tools is currently the official VMware recommended way to install VMware Tools on CentOS/RHEL 7. You can easily install it using the following command:
sudo yum -y install open-vm-tools
If you’re using the desktop version or server with graphical user interface version of CentOS/RHEL 7 operating system on the virtual machine, then install Open VM Tools with the following command:
sudo dnf install open-vm-tools open-vm-tools-desktop
Open VM Tools should be installed.
# sudo yum list installed | grep open-vm
open-vm-tools.x86_64 11.0.5-3.el7_9.4 @updates
Installing VMware X11 Display Drivers on CentOS/RHEL 7
For auto screen resizing, full screen display and multiple monitors features of VMware to work on CentOS/RHEL 7 virtual machines, VMware X11 display driver must be installed. VMware X11 display driver is available in the official package repository of CentOS/RHEL 7. You can install it with the following command:
sudo yum -y install xorg-x11-drv-vmware
# sudo yum list installed | grep xorg
xorg-x11-drv-vmware.x86_64 13.2.1-1.el7.1 @base
xorg-x11-server-Xorg.x86_64 1.20.4-18.el7_9 @updates
xorg-x11-server-common.x86_64 1.20.4-18.el7_9 @updates
xorg-x11-xkb-utils.x86_64 7.7-14.el7 @base
Now, restart your virtual machine for the changes to take effect with the following command:
reboot
So, that’s how you install VMware Tools on CentOS/RHEL 7 VMware virtual machines.