0% found this document useful (0 votes)
21 views2 pages

How To Install Oracle

how to install orachle

Uploaded by

masbin
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)
21 views2 pages

How To Install Oracle

how to install orachle

Uploaded by

masbin
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/ 2

How to install oracle

Oracle Instalation

1- #yum install -y oracle-database-preinstall-19c

2- #vi /etc/hosts < IP-address > < fully-qualified-machine-name > < machine-name >

3- #vi /etc/hostname

4- #passwd oracle

5- #vi /etc/selinux/config < SELINUX=permissive >

6- #setenforce Permissive

7- #systemctl stop firewalld

#systemctl disable firewalld

8- #mkdir -p /u01/app/oracle/product/19.3.0/dbhome_1

#mkdir -p /u02/oradata

#chown -R oracle:oinstall /u01 /u02

#chmod -R 775 /u01 /u02

9- #reboot

10-$ vi .bash_profile

# Oracle Settings

export TMP=/tmp

export TMPDIR=$TMP

export ORACLE_HOSTNAME=[Link]

export ORACLE_UNQNAME=cdb1

export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/19.3.0/dbhome_1

export ORA_INVENTORY=/u01/app/oraInventory

export ORACLE_SID=cdb1

export PDB_NAME=pdb1

export DATA_DIR=/u02/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

11-$ . .bash_profile

12-$ cd $ORACLE_HOME

$ unzip -oq /home/oracle/LINUX.X64_193000_db_home.zip

13-$ cd $ORACLE_HOME

$ ./runInstaller

You might also like