3.2 Installing the Oracle VM Guest Additions

If the virtual machine is derived from an Oracle VM template that does not have the Oracle VM Guest Additions installed, you can install the Oracle VM Guest Additions by downloading them from the Oracle Unbreakable Linux Network (ULN).

http://linux.oracle.com

Log into ULN, and select the appropriate Add ons channel for the guest operating system, for example:

  • Enterprise Linux 5 Add ons (i386)

  • Enterprise Linux 5 Add ons (x86_64)

  • Oracle Linux 6 Add ons (i386)

  • Oracle Linux 6 Add ons (x86_64)

In addition to the ULN downloads, the required packages are available from Oracle's public YUM repository:

Download and install the Oracle Unbreakable Enterprise Kernel (UEK) and other guest addition utilities to the guest virtual machine. The packages you need are:

  • kmod-ovmapi-uek

  • libovmapi

  • libovmapi-devel

  • ovmd

  • python-simplejson

  • xenstoreprovider

  • ovm-template-config

  • ovm-template-config-authentication

  • ovm-template-config-datetime

  • ovm-template-config-firewall

  • ovm-template-config-network

  • ovm-template-config-selinux

  • ovm-template-config-ssh

  • ovm-template-config-system

  • ovm-template-config-user

To install these packages, make sure that your virtual machine has public Internet access and is connected to the appropriate ULN channel or YUM repository. Then use the following command syntax in your Oracle Linux guest, separating the package names by spaces:

# yum install libovmapi xenstoreprovider ovmd python-simplejson xenstoreprovider
Caution

When manually installing the downloaded packages, make sure that the kmod-ovmapi-uek version matches the UEK version of the virtual machine:

  • UEK 2.36.32-100 requires kmod-ovmapi-uek-1.0.0-27.100

  • UEK 2.36.32-200 requires kmod-ovmapi-uek-1.0.0-27.200

  • UEK 2.36.32-300 requires kmod-ovmapi-uek-1.0.0-27.300