Many of these packages depend on other packages.
The compat-oracle-rhel4-1.0-3 and compat-libcwait-2.0-1 packages are available from patch 4198954.(只针对32位)
安装4198954补丁(只针对32位):
使用root用户:
$ unzip p4198954_21_LINUX.zip
Archive: p4198954_21_LINUX.zip
creating: 4198954/
inflating: 4198954/compat-oracle-rhel4-1.0-5.i386.rpm
inflating: 4198954/compat-libcwait-2.0-2.i386.rpm
inflating: 4198954/README.txt
#
Note that the compat-oracle-rhel4 and compat-libcwait packages require the xorg-x11-deprecated-libs and xorg-x11-deprecated-libs-devel packages, see above. To install the two RPMs from the 4198954 patch, run:
# rpm -Uvh 4198954/compat-oracle-rhel4-1.0-5.i386.rpm \
4198954/compat-libcwait-2.0-2.i386.rpm
2) 安装前的准备工作:
2.1. Configuring Kernel Parameters
a. Using any text editor, create or edit the /etc/sysctl.conf file and
add or edit lines similar to the following: (以下参数是oracle推荐使用)
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
By specifying the values in the /etc/sysctl.conf file, they persist
when you reboot the system.
2.2 Setting Shell Limits for the oracle User
To increase the shell limits:
1. Add the following lines to /etc/security/limits.conf file:
oracle hard nofile 65536
oracle soft nofile 65536
oracle hard nproc 16384
oracle soft nproc 16384
3.创建oracle用户组和文件目录
groupadd oinstall
groupadd dba
useradd -g oinstall -G dba oracle
passwd oracle
mkdir -p /orasys/oracle/product/9.2.0
chown -R oracle:oinstall /orasys
chmod 755 -R /orasys
4.设置oracle用户环境变量 vi /home/oracle/.bash_profile
export LD_ASSUME_KERNEL=2.4.19
export ORACLE_BASE=/orasys/oracle
export ORACLE_HOME=$ORACLE_BASE/product/9.2.0
export ORACLE_SID=ora9i
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
export PATH=$PATH:$ORACLE_HOME/bin
5.用oracle用户登录安装
先解压压缩文件
gunzip ship_9204_linux_disk1.cpio.gz
gunzip ship_9204_linux_disk2.cpio.gz
gunzip ship_9204_linux_disk3.cpio.gz
cpio -idmv < ship_9204_linux_disk1.cpio
cpio -idmv < ship_9204_linux_disk2.cpio
cpio -idmv < ship_9204_linux_disk3.cpio
下面就是按图形界面来操作了