January 19, 2009

Installing Oracle Database XE on Ubuntu 8.10 - Quick Steps

So there are the steps that i did to get Oracle XE running... Note: i have a large swap partion so this may have helped...

This is the summary of steps... check out this link fo more info.

  1. sudo vi /etc/apt/sources.list

  2. add the following to the top of the file then save and exit

    deb unstable main non-free

  3. wget -O- | sudo apt-key add -

  4. apt-get update

  5. apt-get install oracle-xe

    This step will take a while to download

  6. sudo /etc/init.d/oracle-xe configure

    You will be asked a few question, I recommend chaning the port of the DB admin to 9999 or anything other than 8080 since that is the default port of lots of web app servers...
SQL Plus working do the following

  1. vi ~/.bashrc 
  2. add the following at the end

    export ORACLE_HOME
    export ORACLE_SID=XE
    export PATH

That is it... enjoy