Install VMware Tools on RHEL7
Red Hat Enterprise Linux (RHEL 7) installs open-vm-tools (the open source implementation of VMware tools) automatically when the OS is deployed as guest in a virtualized environment. If for whatever reason you want to replace it with the licensed VMware tools here’s what you need to do.
1. Trigger the installation of VMware tools in the VMware app (I am using VMware Workstation Player)
2. Mount the CD image of VMware tools in the guest OS
mkdir -p /mnt/cd /tmp/vmware mount -o loop /dev/sr0 /mnt/cd
3. Copy the VMware tools archive from the mounted CD to local partition
cp /mnt/cd/VMwareTools-10.3.2-9925305.tar.gz /tmp/vmware
4. Extract the content
cd /tmp/vmware/ tar zxvf VMwareTools-10.3.2-9925305.tar.gz
5. Ensure open-vm-tools is uninstalled and dependency packages exist on the guest OS
yum remove open-vm-tools yum install policycoreutils-python yum groupinstall "Development Tools"
6. Install VMware tools
cd vmware-tools-distrib/ perl vmware-install.pl -d -f
7. Confirm the service is up and running
systemctl status vmware-tools
To revert the changes (remove VMware tools and use the open source implementation):
cd /tmp/vmware/vmware-tools-distrib/bin perl vmware-uninstall-tools.pl yum install open-vm-tools
Hope this helps!
Tidak ada komentar:
Posting Komentar