1. Download Oracle Databse 10g software from oracle site, from here.
2. Make sure that you have the following packages installed:
# rpm -q gcc gcc-c++ glibc libaio libaio-devel make openmotif openmotif-libs
My output:
gcc-4.5-19.1.i586
gcc-c++-4.5-19.1.i586
glibc-2.11.3-12.15.1.i686
libaio-0.3.107-7.1.i586
libaio-devel-0.3.107-7.1.i586
make-3.82-140.1.i586
openmotif-2.3.2-5.1.i586
openmotif-libs-2.3.2-5.1.i586
If any of them is not installed run the following command for each of the uninstalled package. For example:
# zypper install gcc
And install the following package:
# zypper install libstdc++33
3.Create necessary groups, user and change the password for the newly created user:
# groupadd oinstall
# groupadd dba
# useradd -g oinstall -G dba oracle
# passwd oracle
4. If the oracle user’s home directory doesn’t exist, create it:
# mkdir /home/oracle
# chown -R oracle:dba /home/oracle
5. Let’s create the directory, where Oracle software should be installed:
# mkdir -p /u01/app/oracle/product/10.2.0/db_1
# chown -R oracle:oinstall /u01
6. Setting ORACLE_BASE, ORACLE_HOME environement variables:
# vi /etc/profile.d/oracle.sh
——————————————And add the following entries
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
And also:
# vi /etc/sysconfig/oracle
——————————————And add the following entries
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
Note that the default value for ORACLE_BASE is /opt/oracle
7. Connect as an oracle user and unzip downloaded file:
# su – oracle
oracle@mariamsuse:~> unzip 10201_database_linux32.zip
If you have already unzipped this file by another user just change the permissions, like:
# chown oracle:oinstall 10201_database_linux32.zip
and then extract.
8. Edit the file database/install/oraparam.ini
[Certified Versions]
Linux=redhat-3,SuSE-9,redhat-4,UnitedLinux-1.0,asianux-1,asianux-2,SuSE-11
Note: At the end I have added SuSE-11
9. Go to the folder ……database/ and run:
# su – oracle
Password:
oracle@mariamsuse:~> ./runInstaller
If something doesn’t work… exit from the existing terminal(command line) and reconnect.
Oracle Universal Installer should be started…
“During installation, there are 1 warning and 4 Waiting for verification. Just check all of them and proceed to installation.”