Selasa, 28 Juni 2011

Install Oracle 10g XE di Debian Squeeze 64 bit

Awalnya di tanya-tanya temen tentang error saat instalasi Oraclenya. ehh jadi pengen nyoba juga.
akhirnya cari-cari tutorial di google dan nemu link ini.

1.Download source oracle
wget -c http://oss.oracle.com/debian/dists/unstable/non-free/binary-i386/oracle-xe-universal_10.2.0.1-1.1_i386.deb
wget -c http://oss.oracle.com/debian/dists/unstable/main/binary-i386/libaio_0.3.104-1_i386.deb
2. Install oracle dengan mengabaikan architecture Processor

dpkg -i --force-architecture libaio_0.3.104-1_i386.deb

dpkg: warning: overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
Selecting previously deselected package libaio.
(Reading database ... 56175 files and directories currently installed.)
Unpacking libaio (from libaio_0.3.104-1_i386.deb) ...
Setting up libaio (0.3.104-1) ...

dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb

dpkg: warning: overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
Selecting previously deselected package oracle-xe-universal.
(Reading database ... 56184 files and directories currently installed.)
Unpacking oracle-xe-universal (from oracle-xe-universal_10.2.0.1-1.1_i386.deb) ...
Setting up oracle-xe-universal (10.2.0.1-1.1) ...
insserv: warning: script 'oracle-xe' missing LSB tags and overrides
Executing Post-install steps...
-e You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.

Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
root@debian:/home/rasyid# /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 to accept the defaults.
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]:

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:

Passwords do not match. Enter the password:
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:8080/apex"

3. Coba akses oracle anda dengan mengetikan http://localhost:8080/apex

user : system
password : password_anda

Selamat mencoba semoga bermanfaat