Install Oracle Database Software for Oracle Access Management 12c Sandbox Environment

Introduction

This tutorial shows you how to install Oracle Database 19c software for use with an Oracle Access Management 12c sandbox environment.

This is the second tutorial in the series Creating an Oracle Access Management 12c Sandbox Environment for Oracle Advanced Authentication and they should be read sequentially.

Objective

To install Oracle 19c database software. Oracle Access Management 12c stores its metadata in an Oracle Database.

Prerequisites

To have reviewed Creating an Oracle Access Management 12c Sandbox Environment for Oracle Advanced Authentication - Overview.

All the tasks in this tutorial should be performed on the database linux server (db.example.com).

Prepare the Linux Server

In this section, you install the oracle-database-preinstall-19c utility. This utility prepares your Linux server for installation of the Oracle Database. For more details on the oracle-database-preinstall-19c utility, see About the Oracle Database Preinstallation RPM.

  1. Launch a Linux terminal as root.

  2. Run the following command to install the oracle-database-preinstall-19c utility:

    yum install oracle-database-preinstall-19c
    

    When the terminal prompts for confirmation, enter y.

    The output will look similar to the following:

    ..
    Running transaction
    Installing : oracle-database-preinstall-19c-1.0-3.el7.x86_64                                             1/1 
    Verifying  : oracle-database-preinstall-19c-1.0-3.el7.x86_64                                             1/1 
    
    Installed:
      oracle-database-preinstall-19c.x86_64 0:1.0-3.el7                                                                                                                                                                
    
    Complete!
    

Download the Oracle Database Software

  1. Launch your browser and navigate to Database Downloads.
  2. Under Oracle Database Enterprise Edition, download the zip file for Oracle Database 19c for Linux x86-64.
  3. After the download is complete, move the zip file to a staging directory, for example /stage/DB19c.

Install the Database

  1. On the database server (db.example.com), launch a Linux terminal and run the following command to switch to the oracle user created by the preinstall utility:

    sudo -su oracle
    
  2. Before starting the Oracle Database installer, create the directories where the database software will be installed:

    mkdir -p /u01/app/oracle
    mkdir -p /u01/app/oraInventory
    chown -R oracle:oinstall /u01/app/oracle
    chown -R oracle:oinstall /u01/app/oraInventory
    chmod -R 775 /u01
    
  3. Create a directory for the database software and unzip LINUX.X64_193000_db_home.zip:

    mkdir -p /u01/app/oracle/product/19.0.0/dbhome_1
    cd /u01/app/oracle/product/19.0.0/dbhome_1
    cp /stage/DB19c/LINUX.X64_193000_db_home.zip .
    unzip LINUX.X64_193000_db_home.zip
    
  4. Run the following commands to launch the Oracle Database Setup Wizard:

    cd /u01/app/oracle/product/19.0.0/dbhome_1
    export CV_ASSUME_DISTID='OL7'
    ./runInstaller
    
  5. Follow the table below to guide you through the installation screens:

    Step Window Description Choice or Values
    1 Select Configuration Option Setup Software Only
    2 Select Database Installation Option Single instance database installation
    3 Select Database Edition Enterprise Edition
    4 Specify Installation Location Oracle base: /u01/app/oracle
    5 Create Inventory Inventory Directory: /u01/app/oraInventory, oraInventory Group Name: oinstall
    6 Privileged Operating System groups Set all groups to dba, except Database Operator (OSOPER) Group (Optional): oinstall
    7 Root script execution configuration Leave Automatically run configuration scripts unchecked
    8 Prerequisite checks Fix any issues if required and click Next
    9 Summary Click Install
    10 Execute Configuration Scripts Launch a terminal window as root and execute /u01/app/oracle/product/19.0.0/dbhome_1/root.sh and /u01/app/oraInventory/orainstRoot.sh. Click OK
    11 Finish Click Close

Next Tutorial

Create an Oracle Database for Oracle Access Management 12c.

Feedback

To provide feedback on this tutorial, please contact idm_user_assistance_ww_grp@oracle.com

Acknowledgements

More Learning Resources

Explore other labs on docs.oracle.com/learn or access more free learning content on the Oracle Learning YouTube channel. Additionally, visit education.oracle.com/learning-explorer to become an Oracle Learning Explorer.

For product documentation, visit Oracle Help Center.