Red Hat Enterprise Linux 8 [minimum 8.10] (AMD/Intel x86-64) 64-bit
Kernel 4.18.0-553.22.1.el8_10.x86_64 or later
LeasePak requires the 64-bit Oracle 19c Database software.
Oracle Database 19c for Linux x86-64The file to download is typically named something like
LINUX.X64_19minor-version_db_home.zip
.
This is the non-RPM-based installation.
Do not download the RPM-based Oracle Database software,
which is entitled "Oracle Database 19c for Linux x86-64 (RPM)".
Perform the following tasks on the DBMS host as the
root
user.
orainv
is the Oracle Inventory Unix group, and oradba
is the Oracle Administrative
Unix group. Enter the following commands at the Unix prompt to create the two groups:
# groupadd orainv # groupadd oradba
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
and a secondary group of oradba
.
# useradd -c "Oracle software owner" -m -N -g orainv -G oradba 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.
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/dbhome_1
Oracle Database Home oracle
orainv
0775
Installing the Oracle Preinstallation RPM will automatically configure the Linux operating system according to the requirements of Oracle. The Preinstallation RPM performs various tasks such as setting kernel parameters, installing packages, and setting resource limits.
# curl -o oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm \
https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/getPackage/oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm
Enter the above curl command as three separate lines. The \
at the end of the first
two lines is the bash line-continuation character.
# yum -y localinstall oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm
/var/log/oracle-database-preinstall-19c/backup/timestamp/orakernel.log
dba
and oinstall
Unix groups by entering at the Unix prompt:
# groupdel dba # groupdel oinstallThe above groups were created by the Preinstallation RPM, but are not needed because we use the
oradba
and orainv
groups instead.
# groupdel backupdba # groupdel dgdba # groupdel kmdba # groupdel oper # groupdel racdbaThe above groups were created by the Preinstallation RPM. Skip the delete of any groups that you are planning to use as privileged operating system groups recognized by Oracle.
Perform the following tasks on the DBMS host as the Oracle software owner.
.bash_profile
file:
umask 022 export LANG=C export LC_ALL=C
.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 addIf 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.$ORACLE_HOME/lib
) PATH (to add$ORACLE_HOME/bin
)
.bash_profile
file and the Preinstallation RPM's changes to resource
limits. However, if you are using a VNC (Virtual Network Computing) desktop, you will need to kill your Xvnc
server process on the DBMS host, and then restart the Xvnc server.
env
command and verify there are no Oracle-related
environment variables defined.
Perform the following tasks on the DBMS host as the Oracle software owner.
% cd /opt/oracle/product/19c/dbhome_1
% unzip -q path_to_downloaded_image_file
Edit this file /opt/oracle/product/19c/dbhome_1/cv/admin/cvu_config
# Fallback to this distribution id
CV_ASSUME_DISTID=OEL8
uncomment this line and change the distribution ID to OEL8
% /opt/oracle/product/19c/dbhome_1/runInstaller
The installer displays the installation screens as a series of steps, described below.Select Set Up Software Only.
Select Single instance database installation.
Select either Enterprise Edition or Standard Edition 2.
Oracle base:/opt/oracle
Software location:/opt/oracle/product/19c/dbhome_1
Inventory Directory:/opt/oraInventory
oraInventory Group Name:orainv
Database Administrator (OSDBA) group:oradba
In general, also enteroradba
for each of the other groups on this screen, unless you prefer to assign specialized groups for some or all of them.
Do not select (do not check): Automatically run configuration scripts
The installer checks to ensure your computer is configured properly for an Oracle Database installation. Review the results of the prerequisite checks. If there were any error messages, fix the issues causing the error messages.
Review the summary of the pending software installation. Click Install to start the installation.
The progress of the installation is displayed on the screen. When the Execute Configuration Scripts
window opens, follow the on-screen instructions to execute the listed configuration scripts as the
root
Unix user.
A message is displayed indicating the installation was successful.
Perform the following tasks on the DBMS host as the Oracle software owner.
.bash_profile
file:
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
.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 DBMS host, and then
restart the Xvnc server.
/opt/oraInventory/orainstRoot.sh
and
/opt/oracle/product/19c/dbhome_1/root.sh
.