How-to Install Oracle 11g R2 Database on Ubuntu 14.04 Trusty LTS 64bit 15/33

March 6th, 2016 by thelinuxevangelist

14/33 Previous Step – Oracle 11g DB Installation on Ubuntu 14.04 64bit
Beginning

Set oracle’s user Path
Login as Oracle:

su oracle

Edit .bashrc file:

nano ~/.bashrc

Append:

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

Replace [HOSTNAME] with IP and [DBSID] with SID Name
To Match this Guide Respectively:

  • HOSTNAME = 127.0.0.1
  • DBSID = SID

Then Load New .bashrc Settings simply with:

bash




16/33 Next Step – Oracle 11g DB Installation on Ubuntu 14.04 64bit

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