Posts Tagged ‘How-to tutorials’

How-to: Installing Oracle on Ubuntu

May 25, 2009 2 comments

Installing Oracle XE on Ubuntu is quite easy and straightforward. Following steps show you how to install, configure and run Oracle XE database on Ubuntu Linux system.

1. Add new repository

1.1 Add this entry to your software sources: deb unstable main non-free.

You can do it by simply clicking: System->Software Sources->Third-Party Software (as shown below) or add this entry into theĀ  /etc/apt/sources.list file. Choice is yours, same effect.


1.2 Add public key

Simply write into console wget -O- | sudo apt-key add – . But of course you can do it navigating to System->Software Sources->Authentication

2. Run Oracle installation

Simply type:

sudo apt-get install oracle-xe

and after installation is finished, run configuration program:

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

where you anwer four simple questions:

  1. Oracle Application Express port (default 8080)
  2. Port for database connection (default 1521)
  3. Password for user SYSTEM – the administrator
  4. yes or no question whether you would like to run database with startup of your system

And that’s it! You have running Oracle instance. You can start playing with it by running SQL*Plus or web application at