Oracle WebLogic Server 12c (12.2.1): Installing WebLogic Server Using the Generic Installer

 

Before You Begin

Purpose

This tutorial shows you how to install Oracle WebLogic Server 12c (12.2.1) using the generic installer.

Time to Complete

Approximately 15 minutes

Background

This tutorial shows you how to install Oracle WebLogic Server 12c (12.2.1) on a Linux system by using the generic installer. The generic installer requires a Java Developers Kit (JDK), so this tutorial first covers installing the JDK.

What You Need

  • Oracle WebLogic Server 12c (12.2.1) software
  • A Linux machine with version 6 or greater of Oracle Linux or Red Hat Linux
 

Downloading JDK 1.8 and the WebLogic Server 12c (12.2.1) Generic 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 Platform page section, click JDK Download.

    Note: this tutorial uses the jdk-8u60-linux-x64.tar.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 Generic Installer.
  7. Click Download File.
  8. Save the download file. This tutorial uses the fmw_12.2.1.0.0_wls_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-8u60-linux-x64.tar.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-8u60-linux-x64.tar.gz

      The tar options are:

      • z: unzip
      • x: extract
      • v: verbose
      • f: filename
      $>cd /scratch/u01/app
      $>cp /u01/jdk-8u60-linux-x64.gz -t .
      $>tar -zxvf jdk-8u60-linux-x64.gz
      jdk1.8.0_60/
      jdk1.8.0_60/COPYRIGHT
      jdk1.8.0_60/README.html
      ...
      jdk1.8.0_60/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_60 jdk
    Note: The name of your JDK directory may be different.
  3. Use the rm command to erase the copied JDK file.
    $>rm jdk-8u60-linux-x64.tar.gz

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

 

Installing WebLogic Server 12c (12.2.1) Using the Generic 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_wls_Disk1_1of1.zip file.
    cd /scratch/u01/
  2. Unzip the installer's zip file.
    unzip fmw_12.2.1.0.0_wls_Disk1_1of1.zip

    The fmw_12.2.1.0.0_wls.jar file is extracted.

  3. Run the generic installation program (the JAR file).
    1. In the Terminal window, navigate to the bin directory under the JDK directory.
      $> cd /scratch/u01/app/jdk/bin
    2. Run the Java virtual machine with the -jar option, calling the generic 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_wls.jar.
      $>./java -jar /scratch/u01/fmw_12.2.1.0.0_wls.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 generic 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. If the Installation Inventory Setup dialog box appears, accept the default location and click OK.
    Description of this image
  5. On the Welcome screen of the installer, click Next.
    Description of this image
  6. On the Auto Updates screen, leave Skip Auto Updates selected and click Next.
    Description of this image
  7. 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/fmw.

    Description of this image
  8. On the Installation Type screen, select Complete with Examples, and then click Next.

    In this tutorial, the selection is Complete with Examples.

    Description of this image
  9. On the Prerequisite Checks screen, wait for all checks to complete successfully, and then click Next.
    Description of this image
  10. 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.

  11. On the Installation Summary screen, review the installation information. If everything is acceptable, click Install.
    Description of this image
  12. On the Installation Progress screen, wait for the progress bar to reach 100%, and then click Next.
    Description of this image
  13. On the Installation Complete screen, select Automatically Launch the Quickstart Configuration Wizard, and then click Finish.

    Description of this image

    The Fusion Middleware Configuration Wizard starts.

  14. In the Configuration screen, enter welcome1 for Password, and enter welcome1 for Confirm Password. Click Create.
    Description of this image
  15. On the Configuration Progress screen click Next.
    Description of this image
  16. On the Configuration Success screen click Finish.
    Description of this image
  17. Close the Terminal window that you used to launch the installer.
 

Want to Learn More?

 

Credits

  • Lead Curriculum Developer: Tom Eliason
  • Original Oracle by Example tutorial for version 12c created by: Bill Bell
  • Original Oracle by Example tutorial for version 11g created by: TJ Palazzolo
  • Other contributors: Veerabhadra Rao Putrevu, Kathryn Abelson, Susan Moxley