0% found this document useful (0 votes)
7 views7 pages

19c Installation Doc

Uploaded by

kapil Jadhav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views7 pages

19c Installation Doc

Uploaded by

kapil Jadhav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Oracle 19c Installation on Linux 6

1. The "/etc/hosts" file must contain a fully qualified name for the server.

Yum install command can be used to copy all required rpm packages.
2. /etc/sysctl.conf file with following parameters
3. Run one of the following commands to change the current kernel parameters
/sbin/sysctl -p
4. Add the following lines to oracle-database-preinstall-19c.conf file
5. Add the following groups

6. Add the oracle user to OS

7. Disable selinux from /etc/selinux/config file.


8. Create directory structure where oracle 19c software can be installed.
9. Create scripts directory

10. Create an environment file called "setEnv.sh". The "$" characters are escaped using "\". If you are not creating
the file with the cat command, you will need to remove the escape characters.

cat > /home/oracle/scripts/setEnv.sh <<EOF


# Oracle Settings
export TMP=/tmp
export TMPDIR=\$TMP

export ORACLE_HOSTNAME=ol7-19.localdomain
export ORACLE_UNQNAME=cdb1
export ORACLE_BASE=/u02/app/oracle
export ORACLE_HOME=\$ORACLE_BASE/product/19.0.0/dbhome_1
export ORA_INVENTORY=/u02/app/oraInventory
export ORACLE_SID=cdb1
export PDB_NAME=pdb1
export DATA_DIR=/u03/oradata

export PATH=/usr/sbin:/usr/local/bin:\$PATH
export PATH=\$ORACLE_HOME/bin:\$PATH

export LD_LIBRARY_PATH=\$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=\$ORACLE_HOME/jlib:\$ORACLE_HOME/rdbms/jlib
EOF

11. Add a reference to the "setEnv.sh" file at the end of the "/home/oracle/.bash_profile" file.
echo ". /home/oracle/scripts/setEnv.sh" >> /home/oracle/.bash_profile

12. Copy software to /opt directory

13. Change permission of /opt directory

14.

You might also like