Install Oracle Database XE on CentOS 5.2
Oracle Database XE – “Oracle Database 10g Express Edition (Oracle Database XE) is an entry-level, small-footprint database based on the Oracle Database 10g Release 2 code base that’s free to develop, deploy, and distribute; fast to download; and simple to administer….”
CentOS – “is an Enterprise-class Linux Distribution derived from sources freely provided to the public by a prominent North American Enterprise Linux vendor.” CentOS conforms fully with the upstream vendors redistribution policy and aims to be 100% binary compatible. (CentOS mainly changes packages to remove upstream vendor branding and artwork.) CentOS is free.
The installation is so simple, here is the executive summary:
- Download the rpm format of Oracle XE (Universal) from Oracle web site
- Run cksum to verify the checksum figure (cksum 2403796334)
- Issue the command: rpm -Uvh oracle-xe-univ-10.2.0.1-1.0.i386.rpm
- Run ‘oracle-xe configure’ to configure the database
Below are some screen layouts captured from the installation.
[root@gl818 /tmp]# cksum oracle-xe-univ-10.2.0.1-1.0.i386.rpm (step 2)
2403796334 262909363 oracle-xe-univ-10.2.0.1-1.0.i386.rpm
[root@gl818 /tmp]# rpm -Uvh oracle-xe-univ-10.2.0.1-1.0.i386.rpm (step 3)
Preparing… ########################################### [100%]
1:oracle-xe-univ ########################################### [100%]
Executing Post-install steps…
You must run ‘/etc/init.d/oracle-xe configure’ as the root user to
configure the database.
[root@gl818 /tmp]# /etc/init.d/oracle-xe configure (step 4)
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]:
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]:
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”
In case you cannot access the database home page as above OR get hanged for its start up after successful installation, make sure you write your FQDN in your local hosts file.
References