Download Software
Unpack Files
Unzip the files.
unzip V38500-01_1of2.zip
unzip V38500-01_2of2.zip
Oracle Installation Prerequisites
Perform either the Automatic Setup or the Manual Setup to
complete the basic prerequisites. The Additional Setup is required for all
installations.
Automatic Setup
yum install -y oracle-database-preinstall-19cManual Setup
If you have not used the "oracle-database-preinstall-19c"
package to perform all prerequisites, you will need to manually perform the
following setup tasks.
Add the following lines to the "/etc/sysctl.conf"
file, or in a file called "/etc/sysctl.d/98-oracle.conf".
fs.file-max
= 6815744
kernel.sem
= 250 32000 100 128
kernel.shmmni
= 4096
kernel.shmall
= 1073741824
kernel.shmmax
= 4398046511104
kernel.panic_on_oops
= 1
net.core.rmem_default
= 262144
net.core.rmem_max
= 4194304
net.core.wmem_default
= 262144
net.core.wmem_max
= 1048576
net.ipv4.conf.all.rp_filter
= 2
net.ipv4.conf.default.rp_filter
= 2
fs.aio-max-nr
= 1048576
net.ipv4.ip_local_port_range
= 9000 65500
Run one of the following commands to change the current kernel
parameters, depending on which file you edited.
/sbin/sysctl -pAdd the following lines to a file called
"/etc/security/limits.d/oracle-rdbms-server-12cR1-preinstall.conf"
file.
oracle soft nofile 1024oracle hard nofile 65536oracle soft nproc 16384oracle hard nproc 16384oracle soft stack 10240oracle hard stack 32768oracle hard memlock 134217728oracle soft memlock 134217728Create the new groups and users.
groupadd -g 54321 oinstallgroupadd -g 54322 dbagroupadd -g 54323 operuseradd -u 54321 -g oinstall -G dba,oper oracleSet secure Linux to permissive by editing the
"/etc/selinux/config" file, making sure the SELINUX flag is set as
follows.
SELINUX=permissiveOnce the change is complete, restart the server or run the following
command.
# setenforce PermissiveIf you have the Linux firewall enabled, you will need to disable
or configure it, as shown here. To disable it, do the
following.
# systemctl stop firewalld# systemctl disable firewalldCreate the directories in which the Oracle software will be
installed.
mkdir -p /u01/app/oracle/product/12.1.0.2/dbhome_1chown -R oracle:oinstall /u01chmod -R 775 /u01 Oracle profile
vi
.bash_profile
TMP=/tmp;
export TMP
TMPDIR=$TMP;
export TMPDIR
ORACLE_BASE=/u01/app/oracle;
export
ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/ product/12.1.0.2/dbhome_1;
export
ORACLE_HOME
PATH=/usr/sbin:$PATH;
export PATH
PATH=$ORACLE_HOME/bin:$PATH;
export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
export
LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
export
CLASSPATH
Installation
Log into the oracle user. If you are using X emulation then
set the DISPLAY environmental variable.
DISPLAY=test.itsinc.com:0.0;
export DISPLAY
./runInstaller
Run the root scripts when prompted.
As a root user, execute the following script(s): 1. /u01/app/oraInventory/orainstRoot.sh 2. /u01/app/oracle/product/19.0.0/dbhome_1/root.shPost Installation
Edit the "/etc/oratab" file setting the restart flag for each instance to
'Y'.
DEMO/u01/app/oracle/product/12.1.0.2/dbhome_1:Y