Oracle by Example brandingInstalling and Configuring Oracle HTTP Server

section 0Before You Begin

This tutorial shows you how to install and configure Oracle HTTP Server. This tutorial takes approximately 15 minutes to complete.

This tutorial is part of the series Getting Started with Oracle Identity Governance 12c. Read them sequentially.

Background

Most organizations use Oracle HTTP Server as a front end to access web applications. As part of this series of tutorials, you installed and configured Oracle Identity and Access Management software on two nodes - Node 1 and Node 2. Now you will install an Oracle HTTP Server and configure it to act as a front end to access Oracle Identity Governance.

What Do You Need?

  • An environment with:
    • At least 16 GB of physical memory
    • Oracle Enterprise Linux 6.6 or later with access to the Internet
    • oracle credentials
  • A basic understanding of Linux

section 1Download the Oracle HTTP Server 12c Software

In this section, you download all the relevant software required for Oracle HTTP Server (OHS) 12c on Node 1 (host01.example.com).

In a browser, go to the Oracle Technology Network download page for Web Tier 12cR2 (12.2.1.3.0): Accept the license agreement and download the Oracle Web Tier 12cR3 (12.2.1.3.0) software, highlighted in the illustration (fmw_12.2.1.3.0_ohs_linux64_Disk1_1of1.zip):

otn downloads page
Description

section 2Install Oracle HTTP Server 12c

  1. Launch a terminal window as oracle and enter the following command to install OHS:
    $ cd Downloads
    $ unzip fmw_12.2.1.3.0_ohs_linux64_Disk1_1of1.zip
    $ chmod +x fmw_12.2.1.3.0_ohs_linux64.bin
    $ ./fmw_12.2.1.3.0_ohs_linux64.bin
    
  2. Follow the table below to guide you through the installation screens:
    Steps Window Description Choices or Values
    1 Welcome Click Next
    2 Auto Updates Click Next
    3 Installation Location
    /u01/app/oracle/product/middleware/ohs
    4 Installation Type Standalone HTTP Server (Managed independently of WebLogic server)
    5 JDK Selection /u01/app/oracle/product/middleware/jdk
    6 Prerequisite Checks Click Next
    7 Installation Summary Click Install
    8 Installation Progress Click Next
    9 Installation Complete Click Finish

section 3Configure HTTP Server

  1. Launch a terminal window as oracle and enter the following command to launch the Configuration Wizard:
    $ cd /u01/app/oracle/product/middleware/ohs/oracle_common/common/bin
    $ ./config.sh
  2. Follow the table below to guide you through the configuration screens:
    Steps Window Description Choices or Values
    1 Create Domain Select Create a new existing domain
    Domain Location: /u01/app/oracle/product/middleware/ohs/user_projects/domains/base_domain
    2 Templates Oracle HTTP Server (Standalone) - 12.2.1.3.0 [ohs]
    3 JDK Selection Click Next
    4 System Components Click Next
    5 OHS Server Click Next
    6 Node Manager Select Per Domain Default Location
    Username: weblogic
    Password: Welcome1
    Confirm Password: Welcome1
    7 Configuration Summary Click Create
    8 Configuration Progress Click Next
    9 End of  Configuration Click Finish

  3. Download the mod_wl_ohs.conf and run the following commands to replace the default OHS server configuration file:
    $ cd /u01/app/oracle/product/middleware/ohs/user_projects/domains/base_domain/config/fmwconfig/components/OHS/instances/ohs1
    $ cp mod_wl_ohs.conf mod_wl_ohs.conf.bak
    $ cp /home/oracle/Downloads/mod_wl_ohs.conf .

section 4Start the Servers

  1. Launch a terminal window as oracle and run the following command to start the Node Manager:
    $ cd /u01/app/oracle/product/middleware/ohs/user_projects/domains/base_domain/bin
    $ ./startNodeManager.sh
  2. Launch another terminal window and enter the following commands to start Oracle HTTP Server. Enter Welcome1 as the password when prompted:
    $ cd /u01/app/oracle/product/middleware/ohs/user_projects/domains/base_domain/bin
    $ ./startComponent.sh ohs1
  3. You should see the following to show OHS successfully started: 
    Successfully Connected to Node Manager.
    Starting server ohs1 ...
    Successfully started server ohs1 ...
    Successfully disconnected from Node Manager.
    Exiting WebLogic Scripting Tool.
    Done
  4. Launch a browser and check the OHS is accessible by accessing the URL http://host01.example.com:7777

section 5Access Identity Self Service Console using Oracle HTTP Sever Front End URL

  1. Open the browser and enter the url http://host01.example.com:7777/identity. You are accessing the Oracle HTTP Server url with the resource identifier for the Identity Self Service Console. The Oracle HTTP Server will pick one of the Oracle Identity Governance servers - oim_server1 on host01.example.com or oim_server2 on host02.example.com in a round-robin fashion.
  2. The Identity Self Service Console login page is displayed. Enter xelsysadm as the username and Welcome1 as the password. Click Sign In.

next stepNext Tutorial

Getting Started with Oracle Identity Governance 12c Entities