2 Preparing to Install

This chapter describes the pre-installation tasks. Make sure you read "Before you Begin" in Oracle Fusion Middleware Installation Planning Guide before you install Oracle Web Tier.

The chapter contains the following sections:

2.1 Performing the Pre-Installation Tasks

This section includes the following topics:

2.1.1 Reviewing System Requirements and Certification

Before performing any installation, you should read the system requirements and certification documents to ensure that your environment meets the minimum installation requirements for the products you are installing. Both of these documents are available on Oracle Technology Network (OTN):

For interoperability and compatibility issues that may arise when installing, refer to Oracle Fusion Middleware Interoperability and Compatibility Guide.

2.1.2 Understanding Oracle Fusion Middleware Support of 64-bit JDK

If you are using a 64-bit JVM in your environment, ensure that all your Oracle Fusion Middleware components are using the 64-bit JVM. You cannot mix components using a 32-bit JVM with those using a 64-bit JVM.

For more information, refer to the "System Requirements and Supported Platforms for Oracle Fusion Middleware 11gR1" document, available on the following page:

http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html

If your Oracle Fusion Middleware components are running in a 64-bit JVM environment, ensure that WebLogic Server is installed with the 64-bit JDK. For 32-bit JVM support, refer to the Oracle Fusion Middleware Release Notes for information on how to configure your environment for 32-bit JVM support for your platform.

2.1.3 Installing 32-bit Oracle Web Tier on a 64-bit Operating System

This section contains important information regarding the installation of 32-bit Oracle Web Tier products on a 64-bit operating system. If this does not describe your environment, then you can skip this section.

2.1.3.1 Windows Operating Systems

If you are installing the 32-bit version of the product on a Windows operating system, the system on which you are installing must also be a supported 32-bit system. Installing a 32-bit version of the product on a 64-bit system is not supported.

2.1.3.2 Linux Operating Systems

A 32-bit Linux version of Oracle Web Tier may be installed on most 64-bit Linux platforms. To see which platforms are supported, refer to the "System Requirements and Supported Platforms for Oracle Fusion Middleware 11gR1" document, available on the following page:

http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html

To install your 32-bit Oracle Web Tier software on a certified 64-bit Linux system, do the following:

  1. Run the following command before starting the installer:

    linux32 bash
    
  2. During the installation, you will receive an error during the linking phase. To work around this error:

    1. Login as root user.

    2. Move the existing /usr/bin/gcc file to /usr/bin/gcc.orig with the mv command:

      mv /usr/bin/gcc /usr/bin/gcc.orig
      
    3. Using a text editor such as vi, create a new file called gcc41 that contains the following content:

      #!/bin/sh
      exec /usr/bin/gcc.orig  -m32 -static-libgcc
      -B /usr/lib/gcc/i586-suse-linux/2.95.3/ $*
      

      Note:

      The file i586-suse-linux/2.95.3 may differ slightly depending on the exact version of your Linux operating system. Verify the exact version of your Linux operating system in use; search for the 32bit directory in /usr/lib/gcc and obtain the exact file name.
    4. Change the file permission for the gcc41 file using the following command:

      chmod 755 /usr/bin/gcc41
      
    5. Create a symbolic link to /usr/bin/gcc with the following command:

      ln -s -f /usr/bin/gcc41 /usr/bin/gcc
      

2.2 Preparing for Installing Oracle Web Tier and Associating With an Existing Fusion Middleware (EM) Control

If you are installing Oracle Web Tier, and associating the components with a WebLogic Server domain, you will need to do the following:

2.2.1 Creating a WebLogic Server Domain for Your Oracle Web Tier Components

If you do not already have a WebLogic Server domain to associate with your Oracle Web Tier components, you can create one as follows:

  1. Install Oracle WebLogic Server 11g Release 1 (10.3.6). Refer to Oracle Fusion Middleware Installation Guide for Oracle WebLogic Server for the installation procedure.

  2. Install (do not configure) any Oracle Fusion Middleware product, including Oracle Web Tier.

    Installation of an Oracle Fusion Middleware product creates the Oracle Common home directory (MW_HOME/oracle_common on UNIX operating systems, or MW_HOME\oracle_common on Windows operating systems). This directory contains the domain templates for Enterprise Manager and Java Required Files (JRF).

  3. Run the Configuration Wizard from the Oracle Common home directory (config.sh on UNIX operating systems or config.cmd on Windows operating systems).

    On the Select Domain Source screen, select the Oracle Enterprise Manager and Oracle JRF templates associated with the oracle_common directory. The Oracle JRF template is selected automatically when the Oracle Enterprise Manager template is selected.

  4. After the installation is complete, start the Administration Server in the domain, and then verify that the Oracle Web Tier components are listed by accessing the following URL:

    http://host:port/em
    

2.2.2 Starting Node Manager When Registering Oracle Web Tier With a WebLogic Server Domain

If you are registering your Oracle Web Tier instance with an existing WebLogic Domain, you must start Node Manager as described below:

  1. On UNIX operating systems, run the ORACLE_HOME/common/bin/setNMProps.sh script.

    On Windows operating systems, run the ORACLE_HOME\common\bin\setNMProps.cmd script.

    This script appends the required properties to the nodemanager.properties file. These properties can also be appended manually, or provided as command-line arguments.

    Note:

    The StartScriptEnabled=true property is required for Managed Servers to receive proper classpath and command arguments.
  2. On UNIX operating systems, start Node Manager by running the WebLogic_Server_Home/server/bin/startNodeManager.sh script.

    On Windows operating systems, start Node Manager by running the WebLogic_Server_Home\server\bin\startNodeManager.cmd script.

For more information about Node Manager, refer to Oracle Fusion Middleware Node Manager Administrator's Guide for Oracle WebLogic Server.

2.3 Getting Started

This section includes the following topics:

2.3.1 Obtaining the Software

To obtain Oracle Web Tier 11.1.1.6.0, refer to Oracle Fusion Middleware Download, Installation, and Configuration ReadMe :

https://download.oracle.com/docs/cd/E23104_01/download_readme.htm

Download webtier.zip file to a directory, and unpack the downloaded archive that contains the installer. By default, this directory is named webtier.

2.3.2 Starting the Installer

To start the installer, go to the directory where you unpacked the archive file and switch to the Disk1 directory.

2.3.2.1 Run the rootpre.sh Script on IBM AIX Operating Systems

If you are installing on an IBM AIX operating system, you must run the rootpre.sh script from the Disk1 directory before you start the installer.

2.3.2.2 Start the Installer

Start the installer from the Disk1 directory:

On UNIX operating systems:

./runInstaller

On Windows operating systems:

setup.exe

Note:

Running the installer as root user is not supported.

2.3.2.3 Installation Log Files

The installer writes logs files to the Oracle_Inventory_Location/log (on UNIX operating systems) or Oracle_Inventory_Location\logs (on Windows operating systems) directory. Refer to Section E.2.1, "Installation Log Files" for more information about the log files and their contents.

2.3.3 Inventory Screens (UNIX Only)

If you are installing on a UNIX system, and if this is the first time any Oracle product is being installed on your system with the Oracle Universal Installer, you will be asked to provide the location of an inventory directory. This is where the installer will set up subdirectories and maintain inventory data for each Oracle product that is installed on this system.

Follow the instructions in Table 2-1 to configure the inventory directory information. For more help, click on the screen name in the table below, or click the Help button in the GUI.

Table 2-1 Inventory Directory and Group Screens

No. Screen Description and Action Required

1

Specify Inventory Directory Screen (UNIX Only)

Specify the Oracle inventory directory and group permissions for that directory. The group must have write permissions to the Oracle inventory directory.

Click OK to continue.

2

Inventory Location Confirmation Screen (UNIX Only)

Run the createCentralInventory.sh script as root.

Click OK to continue.


2.4 Choosing the Installation Type

The Select Installation Type screen in the Oracle Web Tier installer provides two installation options:

2.4.1 Install and Configure

This option will install the product binaries in an Oracle home directory, and create and configure a working instance in an Oracle instance directory. If you choose to install Web Tier, and associate it with the Fusion Middleware (EM) Control, then you should be able to begin configuring and managing your products using Enterprise Manager.

If you choose this installation type, then refer to Chapter 3, "Using the Install and Configure Option".

2.4.2 Install Software - Do Not Configure

This option only installs the software binaries in an Oracle home directory. You must then manually run the Configuration Tool from the bin directory in your Web Tier Oracle home to configure your products before you can use them. This option can be used to quickly create multiple instances of the software that share a common disk.

If you choose this installation type, then refer to Chapter 4, "Using the Install Software - Do Not Configure Option".