1.- Bajar la base de datos de www.oracle.com
http://www.oracle.com/technetwork/products/express-edition/downloads/index.html
2.- Instalar los paquetes necesarios
apt-get update (recomendable)
apt-get install libaio1 alien
3.- descompactar con unzip
unzip oracle-xe-11.2.0.1....zip
4.-
cd /Disk1
alien --scripts oracle-xe-11.2.0-1.0.x84_64.rpm
5.- Crear el archivo /sbin/chkconfig
#!/bin/bash
# Oracle 11gR2 XE installer chkconfig hack for Debian by Dude
file=/etc/init.d/oracle-xe
if [[ ! `tail -n1 $file | grep INIT` ]]; then
echo >> $file
echo '### BEGIN INIT INFO' >> $file
echo '# Provides: OracleXE' >> $file
echo '# Required-Start: $remote_fs $syslog' >> $file
echo '# Required-Stop: $remote_fs $syslog' >> $file
echo '# Default-Start: 2 3 4 5' >> $file
echo '# Default-Stop: 0 1 6' >> $file
echo '# Short-Description: Oracle 11g Express Edition' >> $file
echo '### END INIT INFO' >> $file
fi
update-rc.d oracle-xe defaults 80 01
derechos: chmod 755 /sbin/chkconfig
6.- enlace simbolico a awk: ln -s /usr/bin/awk /bin/awk
crear carpeta: mkdir /var/lock/subsys
7.- Todo listo para la instalacion:
dpkg --install ./oracle-xe_11.2.0-2_amd64.deb
/etc/init.d/oracle-xe configure
Fin de Instalacion.
http://www.oracle.com/technetwork/products/express-edition/downloads/index.html
2.- Instalar los paquetes necesarios
apt-get update (recomendable)
apt-get install libaio1 alien
3.- descompactar con unzip
unzip oracle-xe-11.2.0.1....zip
4.-
cd /Disk1
alien --scripts oracle-xe-11.2.0-1.0.x84_64.rpm
5.- Crear el archivo /sbin/chkconfig
#!/bin/bash
# Oracle 11gR2 XE installer chkconfig hack for Debian by Dude
file=/etc/init.d/oracle-xe
if [[ ! `tail -n1 $file | grep INIT` ]]; then
echo >> $file
echo '### BEGIN INIT INFO' >> $file
echo '# Provides: OracleXE' >> $file
echo '# Required-Start: $remote_fs $syslog' >> $file
echo '# Required-Stop: $remote_fs $syslog' >> $file
echo '# Default-Start: 2 3 4 5' >> $file
echo '# Default-Stop: 0 1 6' >> $file
echo '# Short-Description: Oracle 11g Express Edition' >> $file
echo '### END INIT INFO' >> $file
fi
update-rc.d oracle-xe defaults 80 01
derechos: chmod 755 /sbin/chkconfig
6.- enlace simbolico a awk: ln -s /usr/bin/awk /bin/awk
crear carpeta: mkdir /var/lock/subsys
7.- Todo listo para la instalacion:
dpkg --install ./oracle-xe_11.2.0-2_amd64.deb
/etc/init.d/oracle-xe configure
Fin de Instalacion.