Installing VMware tools on Centos 6.8 via yum


First of all, we need to add the VMware repository. To do so, we create the file/etc/yum.repos.d/vmware.repo and we place this text in it:

[vmware-tools]
name=VMware Tools for Red Hat Enterprise Linux $releasever – $basearch
baseurl=http://packages.vmware.com/tools/esx/latest/rhel6/$basearch
enabled=1
gpgcheck=1
gpgkey=http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub

We can now install VMware tools via yum:

yum install vmware-tools-esx-nox

After the install, it can happen the installer does not configure the daemon for automatic start. If we execute:

chkconfig --list

and we do not see vmware-tools in the list, we need to configure the auto-start. First of all we check if the startup script is present:

ll /etc/init.d/vmware-tools

If the script is there, we add it to the autostart list using these two commands, one after the other:

chkconfig --add vmware-tools
chkconfig vmware-tools on

We can finally start the daemon:

/etc/init.d/vmware-tools start


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章