Oracle Client Software Installation
LeasePak Documentation Suite NETSOL website
Oracle 19c Server

Oracle 19c Server

Oracle Client Software Installation

Terminology

Please familiarize yourself with the following terms before reading this document:

Oracle 19c Client Software Installation Documentation

Installation of the Oracle 19c Client software on Linux is documented in the following Oracle manuals:

Requirements for Oracle 19c Client Software

Operating System

The required operating system is RHEL Linux 7:
Red Hat Enterprise Linux 7 [minimum 7.7] (AMD/Intel x86-64) 64-bit
Kernel 3.10.0-862.11.6.el7.x86_64 or later

Oracle 19c Client Software Bit Size

Critical note:  LeasePak requires the 32-bit Oracle 19c Client software.

Although there are both 32-bit and 64-bit implementations of the Oracle 19c Client software, LeasePak software can only be used with the 32-bit implementation.

Download Oracle 19c Client Software

The Oracle Client software to download is entitled:
Oracle Database 19c Client for Linux x86-64
There are four different download files which share that title. Download only the file that is the 32-bit image-based installation. The name of the file to download is:
LINUX_19minor-version_client_home.zip (32-bit)
Do not download the other three files, which are named:
LINUX.X64_19minor-version_client.zip (64-bit)
LINUX_19minor-version_client.zip (32-bit)
LINUX.X64_19minor-version_client_home.zip (64-bit)

Pre-Installation Task for Oracle Software Owner on a Unified System

Warning note: The task in this section applies only to unified systems. It should not be performed for split systems.

Information note:   Perform this task on the application host of the unified system as the Oracle software owner.

Create Directory for Oracle 19c Client Software

  1. Log on the application host of the unified system as the Oracle software owner.
  2. Create the following directory with the listed ownership and permissions:
    Directory Description Owner Group Permissions
    /opt/oracle/product/19c/client_1 Oracle Client Home oracle orainv 0775

Pre-Installation Tasks for root on a Split System

Warning note: The tasks in this section apply only to split systems. They should not be performed for unified systems.

Information note:   Perform the following tasks on the application host of the split system as the root user.

  1. Create Unix group for the Oracle software owner.
  2. Create Unix user account for the Oracle software owner.
  3. Create Unix directories for the Oracle 19c Client software.
  4. Verify installed operating system packages.

1. Create Unix Group for Oracle Software Owner

orainv is the Oracle Inventory Unix group. Enter the following command at the Unix prompt to create the group:

# groupadd orainv

2. Create Unix User Account for Oracle Software Owner

The Unix user account of the Oracle software owner is typically named oracle, and bash is usually the login shell of the account.

Enter the following command at the Unix prompt to create an account named oracle with a primary group of orainv.

# useradd -c "Oracle software owner" -m -N -g orainv oracle

The default login shell is determined by the value of SHELL in the /etc/default/useradd file. If SHELL is set to /bin/bash in /etc/default/useradd, the login shell of the Oracle software owner will automatically be set to bash. If SHELL is not set to /bin/bash in /etc/default/useradd, add the -s bash_shell_path option to the above useradd command to make bash the login shell of the account.

3. Create Unix Directories for Oracle 19c Client Software

Create the following directories with the listed ownership and permissions:

Directory Description Owner Group Permissions
/opt/oraInventory Oracle Inventory oracle orainv 0770
/opt/oracle Oracle Base oracle orainv 0775
/opt/oracle/product Product oracle orainv 0775
/opt/oracle/product/19c Version oracle orainv 0775
/opt/oracle/product/19c/client_1 Oracle Client Home oracle orainv 0775

4. Verify Installed Operating System Packages

Critical note:  Do NOT install the Oracle Preinstallation RPM.

Verify that the OS packages required by Oracle for Red Hat Enterprise Linux 7 distributions are installed. Refer to chapter 3 of the Oracle Database Client Installation Guide 19c for Linux for more information.

Pre-Installation Tasks for Oracle Software Owner

Warning note: The tasks in this section apply to both unified systems and split systems.

Information note:   Perform the following tasks on the application host as the Oracle software owner.

  1. Log on the application host as the Oracle software owner.
  2. Add these commands to the Oracle software owner's .bash_profile file, unless the commands are already in the file:
    umask 022
    export LANG=C
    export LC_ALL=C
    
  3. Make sure the Oracle software owner's .bash_profile file is not setting any Oracle-related environment variables, including but not limited to:
    ORACLE_BASE
    ORACLE_HOME
    ORACLE_SID
    NLS_LANG
    LD_LIBRARY_PATH (to add $ORACLE_HOME/lib)
    PATH (to add $ORACLE_HOME/bin)
    

    If it is setting Oracle-related environment variables (ORACLE_BASE, ORACLE_HOME, ORACLE_SID, NLS_LANG, etc), comment out or remove those lines from the file. For LD_LIBRARY_PATH and PATH, re-define the environment variable to remove Oracle paths ($ORACLE_HOME/lib, $ORACLE_HOME/bin, etc) from the definition.

  4. Log off the application host, then log on again as the Oracle software owner. That will usually be sufficient to pick up your changes to the .bash_profile file. However, if you are using a VNC (Virtual Network Computing) desktop, you will need to kill your Xvnc server process on the application host, and then restart the Xvnc server.
  5. At the Unix prompt, run the env command and verify there are no Oracle-related environment variables defined.

Installation of the Oracle 19c 32-bit Client Software

Warning note: The tasks in this section apply to both unified systems and split systems.

Information note:   Perform the following tasks on the application host as the Oracle software owner.

  1. Log on the application host as the Oracle software owner.
  2. Change the current working directory to the Oracle Client Home by entering at the Unix prompt:
    % cd /opt/oracle/product/19c/client_1
  3. Extract the downloaded Oracle 19c Client image file into the Client Home directory by entering at the Unix prompt:
    % unzip -q path_to_downloaded_image_file
  4. Run the Oracle installer by entering at the Unix prompt:
    % /opt/oracle/product/19c/client_1/runInstaller
    The installer performs an Administrator type installation of the Oracle Client. The installation screens are displayed as a series of steps, described below.

Installation Screen Steps

  1. Installation Location
    Oracle base: /opt/oracle
    Software location: /opt/oracle/product/19c/client_1
  2. Create Inventory
    Inventory Directory: /opt/oraInventory
    oraInventory Group Name: orainv
  3. Perform Prerequisite Checks
    The installer checks to ensure your computer is configured properly for an Oracle Client installation. Review the results of the prerequisite checks. If there were any error messages, fix the issues causing the error messages.
  4. Summary
    Review the summary of the pending software installation. Click Install to start the installation.
  5. Install Product
    The progress of the installation is displayed on the screen. If the Execute Configuration Scripts window opens, follow the on-screen instructions to execute the listed configuration scripts as the root Unix user.
  6. Finish
    A message is displayed indicating the installation was successful.

Post-Installation Tasks for Oracle Software Owner

Warning note: The tasks in this section are divided into those for unified systems and those for split systems. Perform only the tasks that apply to your system type.

Unified System Tasks

Information note:   These tasks apply only to unified systems. They should not be performed for split systems.

  1. Log on the application host as the Oracle software owner.
  2. Add these commands to the Oracle software owner's .bash_profile file, or uncomment the commands if they are already there but commented out:
    export ORACLE_BASE=/opt/oracle
    export ORACLE_HOME=/opt/oracle/product/19c/dbhome_1
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
    export PATH=$PATH:$ORACLE_HOME/bin
    export NLS_LANG=American_America.WE8ISO8859P1
    
  3. Log off the application host, then log on again as the Oracle software owner. That will usually be sufficient to pick up your changes to the .bash_profile file. However, if you are using a VNC (Virtual Network Computing) desktop, you will need to kill your Xvnc server process on the application host, and then restart the Xvnc server.
  4. Optionally make a backup copy (for future reference) of any root scripts that were manually run during the installation.
  5. Download and install Release Updates (RU) patches for the Oracle 19c Client software from the My Oracle Support website. Oracle provides Release Updates on a quarterly basis.

    Information note:  You may need to temporarily change the value of the ORACLE_HOME environment variable to point at the Client Home while downloading and installing Release Updates for the Oracle 19c Client software. If so, make sure to reset ORACLE_HOME back to the Database Home after you are done installing the Release Updates for the Oracle 19c Client software.

Split System Tasks

Information note:   These tasks apply only to split systems. They should not be performed for unified systems.

  1. Log on the application host as the Oracle software owner.
  2. Add these commands to the Oracle software owner's .bash_profile file:
    export ORACLE_BASE=/opt/oracle
    export ORACLE_HOME=/opt/oracle/product/19c/client_1
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
    export PATH=$PATH:$ORACLE_HOME/bin
    export NLS_LANG=American_America.WE8ISO8859P1
    
  3. Log off the application host, then log on again as the Oracle software owner. That will usually be sufficient to pick up your changes to the .bash_profile file. However, if you are using a VNC (Virtual Network Computing) desktop, you will need to kill your Xvnc server process on the application host, and then restart the Xvnc server.
  4. Optionally make a backup copy (for future reference) of any root scripts that were manually run during the installation.
  5. Download and install Release Updates (RU) patches for the Oracle 19c Client software from the My Oracle Support website. Oracle provides Release Updates on a quarterly basis.