Installing Oracle 10g on Ubuntu in 7 steps

Step 1: Add the following lines to the /etc/apt/sources.list
deb http://oss.oracle.com/debian unstable main non-free

Step 2: import the key
wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add –

Step 3: Update the package repository database by using the following command:
sudo apt-get update

Step 4: Install the Oracle Express packages:
sudo aptitude install oracle-xe oracle-xe-client

Step 5: Configure the oracle
sudo /etc/init.d/oracle-xe configure

Step 6: Access the Oracle web interface by:
http://127.0.0.1:8080/apex

Step 7: Added these lines to the end of /etc/bashrc
ORACLE_BASE=/usr/lib/oracle/xe/app/oracle/; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/server/; export ORACLE_HOME
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P15; export NLS_LANG
LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH
PATH=~/bin:$ORACLE_HOME/bin:$PATH
PATH=$PATH:.; export PATH

Leave a Reply

Your email address will not be published. Required fields are marked *

*