How to Install Oracle 12c R2 Database on Linux Mint 19.2 64-bit | User’s Path Setup

July 21, 2019 | By the+gnu+linux+evangelist | Filed in: Tutorial.

<< 2/5 Previous Step – Oracle 12c R2 DB Installation on Linux Mint 19.2 64bit
.

Oracle 12c R2 DB Installation on Linux Mint 19.2
3/5 Setting Up Users & Directories

The article contains the necessary instructions about How to install the Oracle 12c R2 Database on Linux Mint 19.2 Setting Up Users & Directories.




  1. Add Paths to oracle’s .bashrc.

    Login as Oracle

    su oracle

    Then Edit the .bashrc file

    nano ~/.bashrc

Append:

# Oracle Settings
export TMP=/tmp;
export TMPDIR=$TMP; 
export ORACLE_HOSTNAME=[HOSTNAME]; 
export ORACLE_BASE=/u01/app/oracle;
export ORACLE_HOME=$ORACLE_BASE/product/12/dbhome_1; 
export ORACLE_SID=[DBSID]; 
export ORACLE_UNQNAME=$ORACLE_SID;
export PATH=/usr/sbin:$ORACLE_HOME/bin:$PATH; 
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/lib64; 
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;

Replace [HOSTNAME] with IP and [DBSID] with SID Name

In this Example Respectively:

Load New .bashrc Settings

bash




4/5 Next Step – Oracle 12c R2 DB Installation on Linux Mint 19.2 64-bit >>.


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,