Oracle WebLogic Server 12c (12.2.1): Installing WebLogic Server using the Infrastructure Installer


Options



Overview

Purpose

Installing the WebLogic Server 12c (12.2.1) Infrastructure distribution includes the WebLogic Server binaries as well as Java Required Files (JRF), code samples and Fusion Middleware Control.

Time to Complete

Approximately 15 minutes.

Introduction

The WebLogic Server Infrastructure distribution supports a Restricted JRF configuration that does not require a database and a standard JRF configuration that requires a database and requires the Repository Creation Utility to create the database schemas. This tutorial uses the Restricted JRF configuration so a database is not required.

What Do You Need?

The following is a list of hardware and software requirements:

  • A Linux development machine with sufficient CPU, memory, and hard disk space
  • Sufficient hardware to run WebLogic Server (For details, see the list of certified platforms.)
  • Installing the following products in these locations has been tested with this tutorial:
    • JDK 1.8 version 74 - jdk-8u74-linux-x64.gz  - in location /scratch/u01/jdk
    • WebLogic Server 12.2.1 Infrastructure - fmw_12.2.1.0.0_infrastructure.jar - in location /scratch/u01/fmw1221_infra

    While other versions of these products may function for this tutorial, they have not been tested.

Downloading JDK 1.8 and the WebLogic Server 12c (12.2.1) Infrastructure Installer

  1. Open a web browser and navigate to the Java SE Downloads: http://www.oracle.com/technetwork/java/javase/downloads/index.html.
  2. In the Java Edition, Standard Edition page section, click JDK Download.

    Note: this tutorial uses the jdk-8u74-linux-x64.gz file. Later versions of the JDK 1.8 will work but have not been tested with this tutorial.

  3. Save the download file - this tutorial uses the /scratch/u01/ location.
  4. In the web browser, navigate to Oracle Fusion Middleware Software Downloads: http://www.oracle.com/technetwork/middleware/weblogic/downloads/index.html.
  5. Click in the Accept License Agreement.
  6. Select the Fusion Middleware Infrastructure Installer.
  7. Click Download File.
  8. Save the download file. This tutorial uses the fmw_12.2.1.0.0_infrastructure_Disk1_1of1.zip file and the /scratch/u01/ location.

Installing the JDK

To install the JDK, perform the following steps:

  1. Extract the JDK to a directory of your choice.

    1. Open a Terminal window and navigate to the directory where you want to install the JDK. For example, to navigate to the /scratch/u01/app directory, enter the following command:
      $> cd /scratch/u01/app
    2. Copy (or move) the JDK file from the directory where you downloaded it to the current directory. In this tutorial, the JDK zip file is in the /scratch/u01/ directory. To copy the JDK file from there into the current directory, enter the following command:
      $>cp /scratch/u01/jdk-8u74-linux-x64.gz -t .

      Note: The name and location of your JDK file may be different.

    3. Unpack the file by using the tar command:
      $> tar -zxvf jdk-8u74-linux-x64.gz

      The tar options are:

      • z: unzip
      • x: extract
      • v: verbose
      • f: filename
      $>cd /scratch/u01/app
      $>cp /u01/jdk-8u74-linux-x64.gz -t .
      $>tar -zxvf jdk-8u74-linux-x64.gz
      jdk1.8.0_74/
      jdk1.8.0_74/COPYRIGHT
      jdk1.8.0_74/README.html
      ...
      jdk1.8.0_74/release
      $>
  2. (Optional) Rename the JDK directory. To make the directory name more generic, use the mv command to rename it jdk.
    $>mv jdk1.8.0_74 jdk
    Note: The name of your JDK directory may be different.
  3. Use the rm command to erase the copied JDK file.
    $>rm jdk-8u74-linux-x64.gz

    Note: The name of your JDK file may be different.

Installing WebLogic Server 12c (12.2.1) Using the Infrastructure Installer

To install WebLogic Server, perform the following steps:

  1. In the terminal window, change to the directory where you downloaded fmw_12.2.1.0.0_infrastructure_Disk1_1of1.zip file.
    cd /scratch/u01/
  2. Unzip the installer's zip file.
    unzip fmw_12.2.1.0.0_infrastructure_Disk1_1of1.zip

    The fmw_12.2.1.0.0_infrastructure.jar file is extracted.

  3. Run the infrastructure installation program (the JAR file).
    1. In the Terminal window, navigate to the app directory.
      $> cd /scratch/u01/app/
    2. Run the Java virtual machine with the -jar option, calling the infrastructure installer JAR file that you already downloaded. In this tutorial, the JAR file is in the /scratch/u01 directory. The file name is fmw_12.2.1.0.0_infrastructure.jar.
      $>jdk/bin/java -jar /scratch/u01/fmw_12.2.1.0.0_infrastructure.jar
      Launcher log file is /tmp/OraInstall2014-07-03_01-45-18PM/launcher2014-07-03_01-45-18PM.log
      Extracting files........
      Starting Oracle Universal Installer

      Note: The name and location of your infrastructure installer JAR file may be different.

    After the installer extracts files, it analyzes your system to see if it meets the minimum requirements (CPU speed, for example). If everything checks out, the graphical Oracle Universal Installer starts.

  4. On the Welcome screen of the installer, click Next.
    Description of this image
  5. On the Auto Updates screen, leave Skip Auto Updates selected.
    Description of this image
  6. On the Installation Location screen, enter the location for Oracle Home (or click Browse to browse to the location), and then click Next.

    In this demonstration, Oracle Home is /scratch/u01/app/fmw1221_infra.

    Description of this image
  7. On the Installation Type screen, select Fusion Middleware Infrastructure With Examples, and then click Next.

    In this tutorial, the selection is Fusion Middleware Infrastructure With Examples.

    Description of this image
  8. On the Prerequisite Checks screen, wait for all checks to complete successfully, and then click Next.
    Description of this image
  9. On the Security Updates screen, perform the following steps:
    1. Enter your email address.
    2. Select I wish to receive security updates via My Oracle Support.
    3. Enter your My Oracle Support password.
    4. Click Next.
    Description of this image

    Note: If the machine on which you are installing WebLogic Server is part of a training environment, deselect I wish to receive security updates via My Oracle Support, and click Next. In the dialog box that opens, click Yes.

  10. On the Installation Summary screen, review the installation information. If everything is acceptable, click Install.
    Description of this image
  11. On the Installation Progress screen, wait for the progress bar to reach 100%, and then click Next.
    Description of this image
  12. On the Installation Complete screen click Finish.
    Description of this image
  13. Close the Terminal window that you used to launch the installer.

Want to Learn More?

Summary

In this tutorial, you learned to: 

  • Install the WebLogic Server 12c (12.2.1) Infrastructure distribution

Resources

Credits

Version

  • 02-01-004-InstallWLSInfrastructure