It’s important to have “VMTools” insalled, up & running on each virtual machine, so for this Oracle Linux machine, we have to do the job !

Create a depot :

[root@oracle ~]# cat /etc/yum.repos.d/vmware-tools.repo
[vmware-tools]
name = VMware Tools
baseurl = http://packages.vmware.com/packages/rhel7/x86_64/
enabled = 1
gpgcheck = 1

Create a temporary directory :

[root@oracle ~]# mkdir -p /tmp/keys

 

[root@oracle ~]# cd /tmp/keys

Use your favorite browser to retrieve the RSA key from VMware :

[root@oracle keys]# cat VMWARE-PACKAGING-GPG-RSA-KEY.pub
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.7 (GNU/Linux)

mI0ESAP+VwEEAMZylR8dOijUPNn3He3GdgM/kOXEhn3uQl+sRMNJUDm1qebi2D5b
Qa7GNBIlXm3DEMAS+ZlkiFQ4WnhUq5awEXU7MGcWCEGfums5FckV2tysSfn7HeWd
9mkEnsY2CUZF54lyKfY0f+vdFd6QdYo6b+YxGnLyiunEYHXSEo1TNj1vABEBAAG0
QlZNd2FyZSwgSW5jLiAtLSBMaW51eCBQYWNrYWdpbmcgS2V5IC0tIDxsaW51eC1w
YWNrYWdlc0B2bXdhcmUuY29tPoi8BBMBAgAmBQJIA/5XAhsDBQkRcu4ZBgsJCAcD
AgQVAggDBBYCAwECHgECF4AACgkQwLXgq2b9SUkw0AP/UlmWQIjMNcYfTKCOOyFx
Csl3bY5OZ6HZs4qCRvzESVTyKs0YN1gX5YDDRmE5EbaqSO7OLriA7p81CYhstYID
GjVTBqH/zJz/DGKQUv0A7qGvnX4MDt/cvvgEXjGpeRx42le/mkPsHdwbG/8jKveY
S/eu0g9IenS49i0hcOnjShGIRgQQEQIABgUCSAQWfAAKCRD1ZoIQEyn810LTAJ9k
IOziCqa/awfBvlLq4eRgN/NnkwCeJLOuL6eAueYjaODTcFEGKUXlgM4=
=bXtp
-----END PGP PUBLIC KEY BLOCK-----

Import this key :

[root@oracle keys]# rpm --import VMWARE-PACKAGING-GPG-RSA-KEY.pub

Here are installed “gpg” keys :

[root@oracle ~]# rpm -q gpg-pubkey
gpg-pubkey-04bbaa7b-4c881cbf
gpg-pubkey-ec551f03-53619141
gpg-pubkey-66fd4949-4803fe57

You don’t need this temporary directory anymore, remove it :

[root@oracle keys]# cd


[root@oracle ~]# rm -rf /tmp/keys

Now, install “VMTools” :

[root@oracle ~]# yum -y install open-vm-tools-deploypkg
...
...
...
Installed:
 open-vm-tools-deploypkg.x86_64 0:9.4.10-3

Dependency Installed:
 libdnet.x86_64 0:1.12-13.1.el7              libicu.x86_64 0:50.1.2-15.el7          libmspack.x86_64 0:0.5-0.4.alpha.el7
 net-tools.x86_64 0:2.0-0.17.20131004git.el7 open-vm-tools.x86_64 0:9.4.0-6.0.1.el7

Complete!

Well done ! Now, start the service :

[root@oracle ~]# systemctl start vmtoolsd

On Vsphere console :

oraclevmtools

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PDF24    Send article as PDF   

Leave a Reply

Your email address will not be published. Required fields are marked *


*