CentOS Stream 8
Sponsored Link

Oracle Database 19c : Install2021/06/01

 
Install Oracle Database 19c.
[1] Login and work with [oracle] user which you create in pre-requirements settings.
# create a directory for installation

[oracle@dlp ~]$
mkdir database
[oracle@dlp ~]$
vi ~/.bash_profile
# add to the end

# ORACLE_BASE : base directory for application

# ORACLE_HOME : Oracle home

umask 022
export ORACLE_HOME=/usr/oracle/database
export ORACLE_BASE=/u01/app/oracle
export PATH=$PATH:$ORACLE_HOME/bin
[oracle@dlp ~]$
source ~/.bash_profile

[2] Download Oracle Databse 19c for Linux and upload to the installation directory on your server.
⇒ https://www.oracle.com/database/technologies/oracle-database-software-downloads.html

[3] After uploading Oracle files, move to the installation directory and run an Installer like follows.
That's OK if [Successfully Setup Software ***] is shown.
By the way, if you installed Desktop Environment, it's also possible to install software on GUI to run [./runInstaller] with no args.
[oracle@dlp ~]$
cd database

[oracle@dlp database]$
unzip LINUX.X64_193000_db_home.zip
[oracle@dlp database]$
export CV_ASSUME_DISTID=RHEL8.0

[oracle@dlp database]$
export ORA_INVENTORY=/u01/app/oraInventory
# for example, install Enterprise Edition with software only (not create DB yet)

[oracle@dlp database]$ ./runInstaller -ignorePrereq -waitforcompletion -silent \
oracle.install.option=INSTALL_DB_SWONLY \
ORACLE_HOME=$ORACLE_HOME \
ORACLE_BASE=$ORACLE_BASE \
UNIX_GROUP_NAME=oinstall \
INVENTORY_LOCATION=$ORA_INVENTORY \
oracle.install.db.InstallEdition=EE \
oracle.install.db.OSDBA_GROUP=dba \
oracle.install.db.OSOPER_GROUP=oper \
oracle.install.db.OSBACKUPDBA_GROUP=backupdba \
oracle.install.db.OSDGDBA_GROUP=dgdba \
oracle.install.db.OSKMDBA_GROUP=kmdba \
oracle.install.db.OSRACDBA_GROUP=racdba \
oracle.install.db.rootconfig.executeRootScript=true \
oracle.install.db.rootconfig.configMethod=ROOT \
oracle.install.db.config.starterdb.type=GENERAL_PURPOSE \
oracle.install.db.ConfigureAsContainerDB=false 

Launching Oracle Database Setup Wizard...

# inout root password
 Enter password for 'root' user:
[WARNING] [INS-13014] Target environment does not meet some optional requirements.
   CAUSE: Some of the optional prerequisites are not met. See logs for details. installActions2021-06-01_00-52-24AM.log
   ACTION: Identify the list of failed prerequisite checks from the log: installActions2021-06-01_00-52-24AM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
The response file for this session can be found at:
 /usr/oracle/database/install/response/db_2021-06-01_00-52-24AM.rsp

You can find the log of this install session at:
 /tmp/InstallActions2021-06-01_00-52-24AM/installActions2021-06-01_00-52-24AM.log
Successfully Setup Software with warning(s).
Moved the install session logs to:
 /u01/app/oraInventory/logs/InstallActions2021-06-01_00-52-24AM
Matched Content