Install 9208 on RHEL 4 x86_64

Install 9208 64bit On Linux X86_64

Scope and Application
The intended audience for this note is Oracle DBA's and customers wanting to install Oracle 9iR2 64-bit on Red Hat Enterprise Linux 4.0 x86-64 (AMD64/EM64T)

Software Download
Install 9204 successfully then Patch it to 9208

If you have a valid OTN account, you can download the base 9.2.0.4 software from the following URL:
http://www.oracle.com/technology/software/products/oracle9i/index.html

Requirements for Installing Oracle 9iR2 64-bit on RHEL 4 x86-64 (AMD64/EM64T)
1. Install the required OS components
This list is based upon a "default-RPMs" installation of RHEL AS/ES 4 update 1. When a newer "update" level is used, the RPM release numbers (such as 2.4-9.1.87) may be slightly higher (such as 2.4-9.1.93 or 2.4-9.2.37). This is fine so long as you are still using RHEL AS/ES 4 RPMs.
glibc-kernheaders-2.4-9.1.87.x86_64.rpm
glibc-headers-2.3.4-2.9.x86_64.rpm
glibc-devel-2.3.4-2.9.x86_64.rpm << both ARCH's are required. See below.
glibc-devel-2.3.4-2.9.i386.rpm << both ARCH's are required. See above.
compat-gcc-32-3.2.3-47.3.x86_64.rpm
compat-gcc-32-c++-3.2.3-47.3.x86_64.rpm
libstdc++-devel-3.4.3-22.1.x86_64.rpm
libaio-0.3.103-3.x86_64.rpm


Check RPMs.
rpm --query --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' binutils compat-db control-center gcc gcc-c++ glibc glibc-common gnome-libs libstdc++ libstdc++-devel make pdksh sysstat xscreensaver postfix libaio libaio-devel xorg-x11-deprecated-libs-devel glibc-devel sort

Output I got

binutils-2.15.92.0.2-24 (x86_64)
compat-db-4.1.25-9 (i386)
compat-db-4.1.25-9 (x86_64)
control-center-2.8.0-12.rhel4.5 (x86_64)
gcc-3.4.6-9 (x86_64)
gcc-c++-3.4.6-9 (x86_64)
glibc-2.3.4-2.39 (i686)
glibc-2.3.4-2.39 (x86_64)
glibc-common-2.3.4-2.39 (x86_64)
glibc-devel-2.3.4-2.39 (i386)
glibc-devel-2.3.4-2.39 (x86_64)
gnome-libs-1.4.1.2.90-44.1 (x86_64)
libaio-0.3.105-2 (i386)
libaio-0.3.105-2 (x86_64)
libaio-devel-0.3.105-2 (x86_64)
libstdc++-3.4.6-9 (i386)
libstdc++-3.4.6-9 (x86_64)
libstdc++-devel-3.4.6-9 (i386)
make-3.80-6.EL4 (x86_64)
package postfix is not installed
pdksh-5.2.14-30.6 (x86_64)
sysstat-5.0.5-16.rhel4 (x86_64)
xorg-x11-deprecated-libs-devel-6.8.2-1.EL.33.0.2 (i386)
xorg-x11-deprecated-libs-devel-6.8.2-1.EL.33.0.2 (x86_64)
xscreensaver-4.18-5.rhel4.14 (x86_64)


Packages version required by Oracle x86-64
binutils (2.15.92.0.2-10.EL4)
compat-db 4.1.25-9
control-center (2.8.0-12)
gcc (3.4.3-9.EL4)
gcc-c++ (3.4.3-9.EL4)
glibc (2.3.4-2)
glibc 2.3.4-2
glibc-common (2.3.4-2)
gnome-libs 1.4.1.2.90-44.1
libstdc++ (3.4.3-9.EL4)
libstdc++-devel (3.4.3-9.EL4)
make 3.80.5
pdksh (5.2.14-30)
sysstat 5.0.5-1
xscreensaver (4.18-5.rhel4.2)

2. Configure the Unix environment
The first critical environment item is related to the gcc v3.2 and g++ v3.2 RPMs that were installed above. Run these commands:
mv /usr/bin/gcc /usr/bin/gcc.orig
mv /usr/bin/g++ /usr/bin/g++.orig
ln -s /usr/bin/x86_64-redhat-linux-gcc32 /usr/bin/gcc
ln -s /usr/bin/x86_64-redhat-linux-g++32 /usr/bin/g++

Check RH version:
rpm -qa redhat-release redhat-release-4ES-4.1

Next, the following environment settings are required for the Unix user performing the installation (eg. oracle):
% umask 0022
% echo $LD_ASSUME_KERNEL 2.4.19


Next, as root, modify your kernel settings in /etc/sysctl.conf as follows:
fs.file-max = 327679
kernel.shmmax = 4294967296
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000

The Unix user performing the installation (eg. oracle) should not have the Oracle install related variables set by default. For example setting ORACLE_HOME, PATH, LD_LIBRARY_PATH to include Oracle binaries in .profile, .bash_profile, .login file and /etc/profile.d should be completely avoided

3. Configure the Unix user process and file limits
Assuming that the "oracle" Unix user will perform the installation, do the following:
- Add the following settings to /etc/security/limits.conf
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536

- Add or edit the following line in the /etc/pam.d/login file, if it does not already exist: session required pam_limits.so

- Add the following lines to /etc/profile:
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi

Start the Install
Software Download
It is about 1.5Gb and is of 3 Zipfiles

1. Download to the local drive and then upload to the destination
It is in format

2. Gunzip

3. Then cpio –idmv < filename.cpio for all the 3 files
It will create three directories called Disk1 Disk2 and Disk3
Important Oracle Variables to be set in .bash_profile
umask 022
TMPDIR=/tmp

if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi



export EDITOR=vi
PS1="[`hostnamecut -d"." -f1`:$LOGNAME]"'$PWD> '
export PS1

ORACLE_BASE=/opt/oracle; export ORACLE_BASE
export ORACLE_HOME=$ORACLE_BASE/product/9.2.0
export ORACLE_TERM=xterm
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
LD_ASSUME_KERNEL=2.4.19; export LD_ASSUME_KERNEL


Once set, run .bash_profile once
export DISPLAY=:0

Start xWindows client
Go to the install directory and check xclock
Then change the directory to the install directory
cd [lb4oraca1dq:oracle]/opt/oracle/backup/stage/9204/Disk1>
./runInstaller
……………
………………
……………………

Upgrade
Once 9204 is done, apply the 9208 patch.
Unzip the file from 9208 folder.
unzip p4547809_92080_Linux-x86-64.zip
cd to Disk1,
./runInstaller.

No comments:

Post a Comment