HPCHOST

Client Login Client Login

Installing VMware Tools Using OSPs on a CentOS 5 and OEL 5 Virtual Machine

 

The implementation is specific to each supported guest operating system, but the steps are similar for each method. 
Generally, to configure a guest operating system with a package manager involves:

  1. Import the VMware Packaging Public GPG Key.
  2. (Optional) Edit the proxy.
  3. Configure the package software.
  4. Install VMware Tools.

 

Download OSPs for the CentOS 5 and OEL 5 Guest Operating Systems

The OSPs must be downloaded locally to the virtual machine where VMware Tools are to be installed.

To download CentOS 5 or OEL 5 for VMware Tools

 

  1. Obtain and import the VMware Packaging Public GPG Key.
    1. If it does not exist, create the directory on your virtual machine to store the key:
      //

    2. Using a Web browser, copy the file from:
      http://packages.vmware.com/tools/VMWARE-PACKAGING-GPG-KEY.pub

    3. Save the file to the directory you created:
      //VMWARE-PACKAGING-GPG-KEY.pub

    4. Import the key. Run the command appropriate for your guest OS, for example:
      # rpm --import //VMWARE-PACKAGING-GPG-KEY.pub

  2. Configure the proxy, as needed.
    # export --proxy=http://squid.example.com:3128

  3. Create and edit the VMware repository directory and file.

    1. If it does not exist, create the directory and repository file on your virtual machine. This file can have any name, but it must end with .repo, for example:
      /etc/yum.repos.d/vmware-tools.repo

    2. Open the repository file to edit.

    3. Add the following contents to the file and save the file.
      [vmware-tools]
      name=VMware Tools for CentOS (or OEL) $releasever - $basearch
      baseurl=http://packages.vmware.com/tools/esx///
      enabled=1
      gpgcheck=1
      gpgkey=file:////VMWARE-PACKAGING-GPG-KEY.pub
      is Linux distribution version. Use rhel5.CentOS 5 and OEL 5 use the RHEL 5 base.
      is the architecture option. For 32‐bit, this is i686. For 64‐bit, this is x86_64.
      is replaced with either 3.5u2, 3.5u3, 3.5u4, 4.0, or 4.0u1 depending upon your ESX/ESXi version.
      is the path and directory you created when you obtained and imported the VMware Packaging Public GPG Key in Step 2.


Install VMware Tools for CentOS 5 or OEL 5 Guest OS

Installing VMware Tools on a CentOS 5 or OEL 5 virtual machine uses the package management tool, yum.Specify the package and yum installs the additional required VMware Tools packages. 

To Install VMware Tools in CentOS 5 or OEL 5

  1. Install the top level VMware Tools package, from the command line of the guest operating system virtual machine, type:
    # yum install vmware-tools
    When this command is run, all the other packages are installed in the correct order.

  2. (Optional) Install VMware provided SVGA or mouse driver replacing the CentOS provided versions. The installation skips these packages if they are older versions than the installed CentOS versions.
    # yum install vmware-open-vm-tools-xorg-drv-display
    # yum install vmware-open-vm-tools-xorg-drv-mouse
    If you later uninstall VMware OSPs and want to use the CentOS or OEL 5 provided drivers, you need to reinstall them.



Was this answer helpful?

Add to Favourites
Print this Article

Also Read



Close Chat
HPC Host Live Chat