2 Installing Prerequisites

This chapter describes procedures for downloading and installing software prerequisites for Oracle Virtual Assembly Builder. This chapter includes the following sections:

2.1 Downloading the Java Development Kit (JDK)

Oracle Virtual Assembly Builder Studio requires a minimum Java version 1.7.0_15.

To download the JDK:

  1. Access the Java SE download page on Oracle Technology Network at http://www.oracle.com/technetwork/java/javase/downloads/index.html.

  2. Select the latest version of the JDK, and select Download.

  3. Read and accept the license agreement.

  4. Click the download link for your operating system.

  5. Launch the installer and follow the wizard instruction to install the JDK.

2.2 Downloading Application Development Framework (ADF)

Oracle Virtual Assembly Builder requires Application Development Framework (ADF). ADF contains Oracle WebLogic Server.

  1. Access the ADF download page on Oracle Technology Network at http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html.

  2. Select the Application Development Runtime 12.1.2.0.

    This selection downloads a file named ofm_wls_jrf_generic_12.1.2.0.0_disk1_1of1.zip.

  3. Click Download File.

2.3 Downloading Oracle Virtual Assembly Builder

To download Oracle Virtual Assembly Builder and sample base images:

  1. Access the Oracle Virtual Assembly Builder download page on Oracle Technology Network at http://www.oracle.com/technetwork/middleware/ovab/downloads/index.html.

  2. Read and accept the license agreement.

  3. Download Oracle Virtual Assembly Builder 12c (12.1.2.0.0) for Linux x86 (Generic).

    This selection downloads a file named ofm_ovab_generic_12.1.2.0.0_disk1_1of1.zip.

  4. Download an appropriate sample base image. Match the OEL version of the VM to the base image.

2.4 Completing the Installation of Prerequisites

To complete the installation of prequisites, install the software you have downloaded in the following order.

  1. Install Open-OVF.

    Set up yum to point to Oracle's public yum repository to download the ova dependencies.

    1. Download the file http://public-yum.oracle.com/repo/OracleVM/OVM3/latest/x86_64/open-ovf-1.1-1.0.47.el5.noarch.rpm, and place it under /etc/yum.repos.d/.

    2. Edit /etc/yum.repos.d/public-yum-el5.repo. Find the entry for [el5_u5_base] and change the attribute "enabled" from 0 to 1.

      This change enables downloads from this particular repository, which is appropriate for OEL 5.

    3. Install the required python module and all its dependencies.

      For 32-bit operating systems:

      sudo yum install libvirt-python.i386
      

      For 64-bit operating systems:

      yum install libvirt-python.x86_64 
      
  2. Install the ova command itself.

    1. Download open-ovf-<some_version>.el5.noarch.rpm.

    2. Install it using the command:

      sudo rpm -ivh </path/to/downloaded.rpm> 
      
    3. Verify the installation by running the command run /usr/bin/ova and verifying that it prints a usage message.

  3. Install the JDK.

  4. Install Application Development Framework.

Once complete, you are ready to install Oracle Virtual Assembly builder into an Oracle Home where you installed ADF. See Chapter 3, "Installing Oracle Virtual Assembly Builder".