为准,除非特别说明之外。 你最好开 N 个终端以备用,至少 2 个是有 root 权限的,因为安装过程中要多次用到 root 权 限 2.1、将 oracle 安装文件解压出来 用 oracle 帐号
登陆创建一个目录装
软件包(最好用英文的 xwindows,中文的会出些怪
问题, 我 的是这样的,晕) mkdir install cd install 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 执行完命令后会生成 Disk1、Disk2、Disk3 三个目录。
Patch p3006854_9204_LINUX 否则会出现: Initializing Java Virtual Machine from /tmp/OraInstall2006-12-25_02-58-15AM/jre/bin/java. Please wait... Error occurred during initialization of VM Unable to load native library: /tmp/OraInstall2006-12-25_02-58-15AM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.s
unzip p3006854_9204_LINUX.zip # cd 3006854 # sh rhel3_pre_install.sh
开始安装了,以 oracle 注销登录 cd /install/Disk1 ./runInstaller
安装过程中的错误可以参考错误提示。
错误解决: 错误 1 [oracle@oracle Disk1]$ Initializing
Java Virtual Machine from
/tmp/OraInstall2006-12-25_02-58-15AM/jre/bin/java. Please wait... Error occurred during initialization of VM Unable to load native library: /tmp/OraInstall2006-12-25_02-58-15AM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
要解决这个问是要先把 p3006854_9204_LINUX 这个补丁打上去就行了。
# Patch Installation Instructions:
# -------------------------------# [1] To apply the patch, unzip the PSE container file: # # # [2] Login as the root user, # # [3] Set your current directory to the directory where the patch # # # # # [4] Run the script supplied by this patch # # # # The installation of the patch is now complete. You can now run # the Oracle Universal Installer as normal.。 # sh rhel3_pre_install.sh # cd 3006854 is located, eg: % unzip p3006854_9204_LINUX.zip
-------------------------------------错误 2 Oracle Net Configuration Assistant failed Oracle Database configuration Assistant faild Agent Configuration Assistant f
aild Starting HTTP server succeeded
/../lib/i686/native_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so) Unable to initialize threads: cannot find class java/lang/Thread Could not create Java VM 安装需要用到两个版本的 JRE:一个版本是 oracle 自带的,在安装数据库软件时用到。还有 一个是在用 dcba 创建数据库时用到,需要 1.3.1_15 以上版本。 本 文 用 的 是 : j2re1.4.2_13 。 大 家 可 以 上 sun 的 站 点 上 下 载 , 下 载 得 到 文 件 是:j2re-1_4_2_13-linux-i586.bin。依次执行 chmod +x j2re-1_4_2_13-linux-i586.bin ./j2re-1_4_2_13-linux-i586.bin
mv j2re1.4.2_13 /opt/ 以 ora9i 用户执行 cd $ORACLE_HOME mv JRE JRE_BAK ln -s /opt/j2re1.4.2_13 JRE
登录 root 用户 su # cd /opt/ora9i/product/9204/JRE/bin/ # ln –s java jre
# cd /opt/ora9i/product/9204/JRE/lib/i386/native_threads [root@localhost ~]# cd /opt/ora9i/product/9.2.0.4/JRE/lib/i386/native_threads/ [root@localhost native_threads]# ls libhpi.so [root@localhost native_threads]#
-------------------------------------------
错误 3:Agent Configuration Parameter "nodeinfo"=NO