Instalar Oracle en Debian, (X,K)Ubuntu y demas derivadas

Esta es una forma de hacerlo:

  • Agregamos el repositorio necesario en /etc/apt/sources.list con su editor favorito (Vim) la siguiente linea:

[cci lang=”bash” theme=”blackboard”]
deb http://oss.oracle.com/debian unstable main non-free
[/cci]

  • Lo siguiente es agregar la llave para evitar tener esos mensajes (molestos), actualizar  el árbol de paquetes e instalar:

[cc lang=”bash” theme=”blackboard” line_numbers=”true”]
wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add –
apt-get update
apt-get install oracle-xe
[/cc]

Las dependencias necesarias se obtendrán automáticamente.

  • Ya instalado el paquete de Oracle, es necesario configurarlo y lo hacemos de este modo:

[cci lang=”bash” theme=”blackboard”]
/etc/init.d/oracle-xe configure
[/cci]

De lo anterior, se contestan unas cuantas preguntas, por lo general se pueden usar los valores por defecto:

[cc theme=”blackboard” line_numbers=”true” width=”575″]
Oracle Database 10g Express Edition Configuration
————————————————-
This will configure on-boot properties of Oracle Database XE. 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 to accept the defaults. Ctrl-C will abort.
Specify the HTTP port that will be used for Oracle Application Express [8080]:8085

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: (~~ recuerden esta clave ~~)

Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]: n

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:8080/apex”
[/cc]

  • Por ultimo, visitamos el enlace indicado anteriormente  http://127.0.0.1:8080/apex (en mi caso elegí el puerto 8085) y accedemos con el usuario ‘system’ y la ‘clave’ que dimos al momento de configurar.

Pagina de acceso a Oracle

Pagina de acceso a Oracle

Y eso es todo, Oracle ya esta ejecutándose (en mi caso elegí no arrancarlo a la hora de iniciar la máquina y además utilizar el puerto 8085 para http)

Cualquier duda o comentario, por favor, dejen su mensaje.

Leave a Reply

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