Installing Oracle 9iR2 on RHEL4

> Version of Oracle certified for RHEL4 : 9.2.0.4
>
> Requirements for Installing Oracle 9iR2 on RHEL4
>
> Minimum Software Requirement:
>
> * Required OS Components
> - compat-db-4. 1.25-9
> - compat-gcc-32- 3.2.3-47. 3
> - compat-gcc-32- c++-3.2.3- 47.3
> - compat-oracle- rhel4-1.0- 3
> - compat-libcwait- 2.0-1
> - compat-libgcc- 296-2.96- 132.7.2
> - compat-libstdc+ +-296-2.96- 132.7.2
> - compat-libstdc+ +-33-3.2. 3-47.3
> - gnome-libs-1. 4.1.2.90- 44
> - gnome-libs-devel- 1.4.1.2.90- 44
> - libaio-devel- 0.3.102-1
> - libaio-0.3.102- 1
> - make-3.80-5
> - openmotif21- 2.1.30-11
> - xorg-x11-deprecated -libs-devel- 6.8.1-23. EL
> - xorg-x11-deprecated -libs-6.8. 1-23.EL
>
>
> The compat-oracle- rhel4-1.0- 3 and compat-libcwait- 2.0-1 packages are
available from Metalink Patch 4198954.
>
> Setting Oracle Environments
> As the oracle user execute the following commands:
>
> # Set the LD_ASSUME_KERNEL environment variable only for Red Hat 9,
> # RHEL AS 3, and RHEL AS 4 !!
> # Use the "Linuxthreads with floating stacks" implementation
instead of NPTL:
> export LD_ASSUME_KERNEL= 2.4.19 # for RHEL AS 4
>
> # Oracle Environment
> export ORACLE_BASE= /u01/app/ oracle
> export ORACLE_HOME= $ORACLE_BASE/ product/9. 2.0
> export ORACLE_SID=test
> export ORACLE_TERM= xterm
> # export TNS_ADMIN= Set if sqlnet.ora, tnsnames.ora, etc. are not
in $ORACLE_HOME/ network/admin
> export NLS_LANG=AMERICAN;
> export ORA_NLS33=$ORACLE_ HOME/ocommon/ nls/admin/ data
> LD_LIBRARY_PATH= $ORACLE_HOME/ lib:/lib: /usr/lib
> LD_LIBRARY_PATH= $LD_LIBRARY_ PATH:/usr/ local/lib
> export LD_LIBRARY_PATH
>
> # Set shell search paths
> export PATH=$PATH:$ ORACLE_HOME/ bin
> Starting runInstaller
> su - oracle
>
> $ echo $LD_ASSUME_KERNEL
>
> 2.4.19
>
> $ ./runInstaller
>
> - Welcome Screen: Click Next
>
> - Inventory Location: Click OK
>
> - Unix Group Name: Use "oinstall" and click Next
>
>
>
> When asked to run /tmp/orainstRoot. sh, run it before you click Continue
>
>
>
> - File Locations: Use default values
>
> - Available Products: Select "Oracle9i Database 9.2.0.4.0"
>
> - Installation Types: Select Custom since we only want to install
the software for now
>
> - Available Products: Click Next or add some more components.
>
> - Components Locations: Accept default values and click Next
>
> - Privileged Operating System Groups:
>
> I used the default values: OSDBA Group =
dba, OSOPER Group = dba
>
> - Create database: Select NO since we first need to patch
Oracle database software!
>
> - Summary: Start the Install
>
>
>
>
>
> ** IF THE FOLLOWING ERROR IS ENCOUNTERED AFTER RUNNING RUNINSTALLER:
> [oracle@localhost Disk1]$ ./runInstaller -paramFile
'/tmp/oraparam. ini'
> [oracle@localhost Disk1]$ Initializing Java Virtual Machine from
/tmp/OraInstall2008 -03-25_11- 33-36AM/jre/ bin/java. Please wait...
> Error occurred during initialization of VM
> Unable to load native library:
/tmp/OraInstall2008 -03-25_11- 33-36AM/jre/ lib/i386/ libjava.so: symbol
__libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link
time reference · Refer to Metalink Note:264178. 1to download
the Patch 3006854 . - unzip p3006854_9204_ LINUX.zip
> - login as the root user
> - set your current directory to the directory where the patch is
located.
> - sh rhel3_pre_install. sh You do need root privileges to run the
last command line. After the Installation has completed: Patching
Oracle9i R2 (9.2.0.4) on RH AS 4 Download the patch 3948480 (Oracle9i
Patch Set Release 2 (9.2.0.6) Patch Set 5) from
http://metalink. oracle.com and execute the following commands:
>
> su - oracle
>
> $ cp p3948480_9206_ LINUX.zip /tmp
>
> $ cd /tmp
>
> $ unzip p3948480_9206_ LINUX.zip
>
> Archive: p3948480_9206_ LINUX.zip
>
> creating: Disk1/
>
> creating: Disk1/stage/
>
> creating: Disk1/stage/ Patches/
>
> ...
>
>
> Now download the patch 4188455 from http://metalink. oracle.com.
> This patch is needed for launching the runInstaller that came with
the patch 3948480 we just downloaded above.
>
> su - oracle
>
> $ cp p4188455_10103_ LINUX.zip /tmp
>
> $ cd /tmp
>
> $ unzip p4188455_10103_ LINUX.zip
>
> Archive: p4188455_10103_ LINUX.zip
>
> inflating: oraparam.ini
>
> inflating: README.txt
>
> $
> The /tmp/oraparam. ini file will now be used for launching the
runInstaller that came with the patch 3948480.
>
> To patch the runInstaller itself, run:
>
> su - oracle
>
> $ echo $LD_ASSUME_KERNEL
>
> 2.4.19
>
> $ /tmp/Disk1/install/ runInstaller -paramFile /tmp/oraparam. ini
>
>
>
> - Welcome Screen: Click Next
>
> - File Locations: Use default values (in my example:
/tmp/Disk1/stage/ products. xml)
>
> - Available Products: Select "Oracle Universial Installer
10.1.0.3.0 !"
>
> - Summary: Click Install
>
> - At the end of the installation, you must exit runInstaller!
>
>
> Ensure that no Oracle processes are running:
>
> ps -ef | grep ora
>
>
> Now to patch Oracle9iR2, run:
>
> su - oracle
>
> $ echo $LD_ASSUME_KERNEL # it is important that this variable is set!
>
> 2.4.19
>
> $ /tmp/Disk1/install/ runInstaller -paramFile /tmp/oraparam. ini
>
>
>
> - Welcome Screen: Click Next
>
> - File Locations: Use default values (in my example:
/tmp/Disk1/stage/ products. xml)
>
> - Available Products: Select "Oracle 9iR2 Patchset 9.2.0.6.0"
>
> - Summary: Click Install
>
> When are asked to run root.sh, run it
before you click Continue
>
> - At the end of the installation, exit runInstaller.
>
>
>
>
> After the 9.2.0.6 patchset has been applied, download the patch
4190568 from http://metalink. oracle.com. Also, download the opatch
utility for release 10.1.0.2 (patch 2617419) from
http://metalink. oracle.com.
>
> To install opatch, run:
> su - oracle$ cp p2617419_10102_ GENERIC.zip /tmp$ cd /tmp$ unzip
p2617419_10102_ GENERIC.zip$ cp -a /tmp/OPatch/ $ORACLE_HOME
>
> To apply the 4190568 patch, run
> su - oracle$ unzip p4190568_9206_ LINUX.zip$ cd 4193454$ export
PATH=$PATH:$ ORACLE_HOME/ OPatch$ opatch apply
>
>
> Now you should be able to create a database with dbca:
>
> su - oracle
>
> dbca
> Let me know in case of any concerns.

No comments: