|
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:
- Import the VMware Packaging Public GPG Key.
- (Optional) Edit the proxy.
- Configure the package software.
- 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
- Obtain and import the VMware Packaging Public GPG Key.
- If it does not exist, create the directory on your virtual machine to store the key:
//
- Using a Web browser, copy the file from:
http://packages.vmware.com/tools/VMWARE-PACKAGING-GPG-KEY.pub
- Save the file to the directory you created:
//VMWARE-PACKAGING-GPG-KEY.pub
- Import the key. Run the command appropriate for your guest OS, for example:
# rpm --import //VMWARE-PACKAGING-GPG-KEY.pub
- Configure the proxy, as needed.
# export --proxy=http://squid.example.com:3128
- Create and edit the VMware repository directory and file.
- 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
- Open the repository file to edit.
- 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
- 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.
- (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.
|
Add to Favourites
Print this Article
|