L'installation d'Oracle sous Ubuntu est simplifiée grâce à apt-get. Dans le
fichier /etc/apt/sources.list, ajouter le dépôt Oracle :
deb http://oss.oracle.com/debian/ unstable main non-free
Puis lancer l'installation du paquet oracle-xe-universal
(soyez patient il faut télécharger 262MB):
$sudo apt-get update
...
$sudo apt-get install oracle-xe-universal
...
Attention : l'installation demande 1006 MB dans le
swap.
L'installation doit être suivi par la commande suivante (qui prend un peu de
temps) :
$ sudo /etc/init.d/oracle-xe configure
Oracle Database 10g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 10g Express
Edition. The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts. Press <Enter> to accept the defaults.
Ctrl-C will abort.
Specify the HTTP port that will be used for Oracle Application Express [8080]:8079
Specify a port that will be used for the database listener [1521]:
Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:
Confirm the password:
Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:y
Starting Oracle Net Listener...Done
Configuring Database...Done
Starting Oracle Database 10g Express Edition Instance...Done
Installation Completed Successfully.
To access the Database Home Page go to "http://127.0.0.1:8079/apex"
J'ai choisi le 8079 pour éviter des conflits éventuels avec les serveurs
d'applications java.