先下载jdk1.41,glibc2.1,oracle8i for linux
1.root安装jdk1.41
2.root vi /etc/profile添加以下语句
export JAVA_HOME=/opt/IBMJava2-141
export PATH=$PATH:/opt/IBMJava2-141/bin
export PATH=$PATH:/opt/IBMJava2-141/jre/bin
3.root 创建用户和组
groupadd dba
useradd oracle –g dba
passwd oracle
4.root安装glibc2.1
cd /
tar zxvf /…/i386-glibc-2.1-linux.tar.gz
cd /usr/bin
mkdir saved
mv gcc cc ld saved
ln –s /usr/i386-glibc-2.1-linux/bin/i386-glibc21-linux-gcc gcc
ln –s gcc cc
ln –s /usr/i386-glibc-2.1-linux/bin/i386-glibc21-linux-ld ld
cd ../lib
mkdir saved
mv libc.so libdl.so libm.so libpthread.so saved
mv libc.a libdl.a libm.a libpthread.a saved
4.oracle 设置oracle用户的环境变量 vi .bash_profile添加以下语句
export LD_ASSUME_KERNEL=2.2.5
export ORACLE_HOME=/home/oracle
export LD_LIBRARY_PATH=/home/oracle/lib
export ORACLE_BASE=/home/oracle
export ORACLE_SID=mes
export PATH=$PATH:$ORACLE_HOME/bin
5.logout oracle
6.login oracle
7.安装oracle
./runInstaller
./orainstroot.sh(root)
./root.sh
./
本文地址:http://com.8s8s.com/it/it19790.htm