<EDIT sept 2, 2011>
Today oracle released the definitive version of Oracle XE 11.2. I haven’t had the opportunity to test that version against my blogs, but I’ll do that shortly. stay tuned
In addendum on my installation series (OraXE11 on CentOS5.5) here my experiences on doing the same on CentOS6
Please be informed that Oracle is not supported on CentOS (let alone CentOS 6) !!
When doing the installation on a virgin system (CentOS 6), I discovered that XE now requires a 2Gb swap area. Searching around I found this. It coveres an installation of XE on Ubuntu, but I only used the swap suggestion.
That should give you info on the current status.
look at SwapTotal and SwapFree
SwapTotal: 1048564 kB
SwapFree: 1048564 kB
To install a 1 GB swapfile named swapfile in /, for example:
dd if=/dev/zero of=/swapfile bs=1024 count=1048576
This may take a while. After it completes, issue:
cp /etc/fstab /etc/fstab.orig
echo '/swapfile swap swap defaults 0 0' >> /etc/fstab
You can check it too:
You’re ready to do the actual installation.
First you need to make sure libaio and are installed.
yum install libaio bc
And do the installation
unzip linux.x64_11gR2_OracleXE.zip -d OracleXE
rpm -ivh oracle-xe-11.2.0-0.5.x86_64.rpm
Oracle now needs to get configured:
Specify the HTTP port that will be used for Oracle Application Express : <- ENTER
Specify a port that will be used for the database listener : <- ENTER
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: TYPE YOUR PASSWORD
Confirm the password: TYPE YOUR PASSWORD
Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]: <- ENTER
Starting Oracle Net Listener...Done
This takes a looooong while
Starting Oracle Database 11g Express Edition instance...Done
Installation completed successfully.
You can now continue at step 4 in step 1 of the installation guide
That’s it folks