ok, today i will atempt to install an oracle database in a linux server. i've never done this before, i know alot about mysql and today i read that you can use oracle dabase with PHP.

the first step i did was to download the rmp from the oracle website
http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html

NOTE: you will need to register before you can download. its free, the form just asks for your name your address. at the bottom of ther form there is an option to "unsubscribe" i checked this so i won't get any emails. once i have registered you will get the download you wanted. in my case i wanted to download the current release which was
Western European character set: oracle-xe-10.2.0.1-1.0.i386.rpm

now that i have dowloaded oracle-xe-10.2.0.1-1.0.i386.rpm into my server its time to install. this is how you install it, by running this command:

rpm -ivh oracle-xe-10.2.0.1-1.0.i386.rpm


ERROR: I gosh, i got an error now
error: Failed dependencies:
libaio >= 0.3.96 is needed by oracle-xe-10.2.0.1-1.0.i386


i guess i have to install this dependency which i just found out from oracle and it says i need these two packages:

Packages
Both of the following:
* - glibc – 2.3.2
* - libaio – 0.3.96

so now i will try to get these packages. since i only got the error with libaio i guess im ok with the glibc. but who know. i will update this once i get it and i will describe how i got it..


resources:
http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm#CIHGDCJI

Operating system One of the following:

*Red Hat Enterprise Linux RHEL3 and RHEL4
* Suse SLES-9
*Fedora Core 4
*Red Flag DC Server 5.0/MIRACLE LINUX V4.0/Haansoft Linux 2006 Server (Asianux 2.0 Inside)
*Debian 3.1

http://oracle.ittoolbox.com/code/archives.asp?i=9&d=3270&a=s

ok, i think i found a way to install it by
yum install libaio

afer i send this command, i got this:
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libaio to pack into transaction set.
libaio-0.3.106-2.2.i386.r 100% |=========================| 7.5 kB 00:00
---> Package libaio.i386 0:0.3.106-2.2 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
libaio i386 0.3.106-2.2 core 19 k

Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 19 k
Is this ok [y/N]: y


after i said yes, i got this
Downloading Packages:
(1/1): libaio-0.3.106-2.2 100% |=========================| 19 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: libaio ######################### [1/1]

Installed: libaio.i386 0:0.3.106-2.2
Complete!


now i will try to install the oracle databse package:
rpm -ivh oracle-xe-10.2.0.1-1.0.i386.rpm


SUCCESS!! it worked, i got this after i send the rpm command:
Preparing... ########################################### [100%]
1:oracle-xe ########################################### [100%]
Executing Post-install steps...
You must run '/etc/init.d/oracle-xe configure' as the root user to
configure the database.