Centos 7 – Install / Uninstall OpenVM tools

Last updated on March 29th, 2018 at 02:44 pm

system-config-network-tui
cat /etc/*release*

—–Uninstall vmtools——–

/usr/bin/vmware-uninstall-tools.pl
yum remove vmware-tools-esx-nox
rm -f /etc/yum.repos.d/vmware.repo

——-Install Open vmtools Centos 7 Minimal——–

yum --enablerepo=extras install epel-release
yum install -y open-vm-tools
systemctl start vmtoolsd.service
systemctl enable vmtoolsd.service

——–Install vmtools———–

yum -y install perl 
mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
cp /mnt/cdrom/VMwareTools-*.tar.gz /tmp
umount /mnt/cdrom
cd /tmp
tar -zxf /tmp/VMwareTools-*.tar.gz -C /tmp
cd /
./tmp/vmware-tools-distrib/vmware-install.pl --default
rm -f /tmp/VMwareTools-*.tar.gz
rm -rf /tmp/vmware-tools-distrib