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 http://oss.oracle.com/debian 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 http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add - . But of course you can do it navigating to System->Software Sources->Authentication
2. Run Oracle installation
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:
- Oracle Application Express port (default 8080)
- Port for database connection (default 1521)
- Password for user SYSTEM – the administrator
- 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 http://127.0.0.1:8080/apex.