Oracle by Example brandingInstalling Oracle Unified Directory 12c for Active Directory and EUS Integration

section 0Before You Begin

This tutorial provides a step-by-step example of how to install Oracle Unified Directory (OUD) 12c PS3 in preparation for configuring OUD as a Proxy Server with Microsoft Active Directory and Enterprise User Security (EUS). This tutorial takes approximately 15 minutes to complete.

This is the first tutorial in the series Integrating Oracle Unified Directory Proxy Server 12c with Microsoft Active Directory and Oracle Enterprise User Security. Read them sequentially.

Background

Oracle EUS enables Oracle Database users to authenticate against identities stored in an LDAP-compliant directory service such as OUD or Active Directory. In this tutorial you install OUD ready for configuring OUD as a Proxy Server to Active Directory.

What Do You Need?

An environment with:

This tutorial assumes that you have already installed and configured the following:

  • A running Oracle 12.1.0.2 standalone database with Patch 19285025 applied for use with EUS. In these tutorials this database is called orcl.example.com running on hostname db.example.com.
  • An install of Enterprise Manager Cloud Control 12.1.0.5. The 12.1.0.2 database (orcl.example.com) must have been configured as a target in Cloud Control. Note: Cloud Control is only required if you want to manage Enterprise Users, Schemas and Role Mappings via the Cloud Control GUI. If you prefer to manage them using the EUSM command line tool, then Cloud Control is not required.
  • A running Microsoft Active Directory Windows 2012 R2 installation. In these tutorials Active Directory is running on hostname ad.example.com with schema dc=example,dc=com. The Active Directory LDAP port is 389 and the LDAPS port is 636. All passwords are Welcome1. Active Directory users are stored under cn=users,dc=example,dc=com and groups under ou=groups,dc=example,dc=com


section 1Download the Oracle Unified Directory 12c PS3 Software

  1. In a browser, go to the Oracle Technology Network download page for Identity Management 12c PS3 (12.2.1.3.0).
  2. Accept the license agreement and download the Oracle Unified Directory (12.2.1.3.0) software (fmw_12.2.1.3.0_oud_Disk1_1of1.zip), File 1, highlighted in the illustration:

    Identity and Access Management Downloads page
    Description

  3. Download the Identity and Access Management 12cPS3 12.2.1.3.0) Infrastructure software, File 1, highlighted in the illustration (fmw_12.2.1.3.0_infrastructure_Disk1_1of1.zip):

    Identity and Access Management Downloads page
    Description
  4. Navigate to the JDK downloads page. Accept the license agreement and download the latest JDK 1.8 for Linux x64 (jdk-8uXXX-linux-x64.tar.gz):
    JDK Downloads page
    Description
  5. After the download is complete, move all the downloaded software to /stage and unzip it.

 


section 2Install Oracle JDK

  1. Launch a terminal window as oracle and enter the following command to install the JDK:
    cp /stage/jdk-8u144-linux-x64.tar.gz /u01/app/oracle/product/
    cd /u01/app/oracle/product tar -zxvpf jdk-8u144-linux-x64.tar.gz mv jdk1.8.0_144 jdk
    rm jdk-8u144-linux-x64.tar.gz
  2. To test the JDK installation, enter the commands below:
    /u01/app/oracle/product/jdk/bin/java -version
    export JAVA_HOME=/u01/app/oracle/product/jdk
    $JAVA_HOME/bin/java -version
  3. Enter the command vi $HOME/.bash_profile and enter the following variables and save the file:
    export JAVA_HOME=/u01/app/oracle/product/jdk
    export PATH=$JAVA_HOME/bin:$PATH
  4. Repeat step 3 to include the JDK variables in the $HOME/.bashrc file. Exit the terminal window.

section 3Install Oracle WebLogic Server

  1. Launch a terminal window as oracle and enter the following command to check that your PATH is pointing at the correct version of the JDK:
    which java
    java -version
  2. Run the following command to install WebLogic Server:
    cd /stage
    unzip fmw_12.2.1.3.0_infrastructure_Disk1_1of1.zip
    java -jar fmw_12.2.1.3.0_infrastructure.jar
  3. Follow the table below to guide you through the installation screens:
    Step Window Description Choices or Values
    1. Welcome Click Next
    2. Installation Inventory (only appears if installing on different machine to database) Inventory Directory: /u01/app/oraInventory
    Before doing the next step, run as root: /u01/app/oraInventory/createCentralInventory.sh
    3. Auto Updates Skip Auto Updates
    4. Installation Location Oracle Home: /u01/app/oracle/product/oud
    5. Installation Type Fusion Middleware Infrastructure
    6. Prerequisite Checks Click Next
    7. Installation Summary Click Install
    8. Installation Progress Click Next
    9. Installation Complete Click Finish


section 4Install Oracle Unified Directory

  1. Launch a terminal window as oracle and enter the following command:
    cd /stage
    java -jar fmw_12.2.1.3.0_oud.jar
  2. Follow the table below to guide you through the installation screens:
    Step Window Description Choices or Values
    1. Welcome Click Next
    2. Auto Updates Skip Auto Updates
    3. Installation Location Oracle Home: /u01/app/oracle/product/oud/
    4. Installation Type Colocated Oracle Unified Directory Server (Managed through WebLogic Server)
    5. Prerequisite Checks Click Next
    6. Installation Summary Click Install
    7. Installation Progress Click Next
    8. Installation Complete Click Finish




next stepNext Tutorial

Configuring OUDSM 12c for EUS