VMware Tools are set of drivers and utilities that improves the performance of both virtual machine’s and guest operating system and enhances the interactions between the guest and the host operating system. VMware Tools are optional to install.
VMware Tools has three main components –
- VMware Device Drivers – ensures smooth mouse and keyboard operations, folder sharing and improve the performance of sound, graphics and network.
- VMware User Process – provides the users the functionality of shared clipboard for copy and paste between guest and host operating system. The program file for VMware User Process is called vmtoolsd.exe on Windows guest operating systems.
- VMware Services – improves the communications of resources between the guest and host operating systems. It also helps in synchronized time between the guest and host. vmtoolsd.exe in windows runs in the background for synchronizing.
Install VMware Tools in CentOS 7
- Make sure the Linux VM is powered on.
yum updateto make sure the Linux kernel and other packages are out-to-date.
- Right-click on the VM, and select “Install VMware Tools”
- To create a mount point, run:
- To mount the CDROM, run:
mount /dev/cdrom /mnt/cdrom
- Copy the gzip tar file to /tmp folder. run:
cp /mnt/cdrom/VMwareTools-version.tar.gz /tmp/
- Change /tmp folder
- Untar the VMwareTools-version.tar.gz, using
tar -zxvf VMwareTools-version.tar.gz
- Once extracted, change to vmware-tools-distrib directory and run:
While executing vmware-install.pl, there is a possibility of encountering an error like below –
./vmware-install.pl: ./vmware-install.real.pl: /usr/bin/perl: bad interpreter: No such file or directory
The above error is a due to CentOS 7 was installed in “minimal” installation mode, and perl package is not installed.
Install perl package by running
yum install perl.
Once perl packages are installed, try to execute tools script by running
./vmware-install.pl command from the directory vmware-tools-distirb.
Accept the default options during the setup. The default options are already set to best performance. If needed, it can be modified according to the users preferences.
There is no need to reboot the VM CentOS image, because it automatically detects the guest operating system. But, it is always advisable to restart the kernel for best performance and optimization.
324 total views, 2 views today