Oracle10g 在linux as 5/as 6下的安装
一.Oracle安装前配置
1.red hat 5下安装时需检查以下安装包
make-3.79.1
gcc-3.2.3-34
glibc-2.3.2-95.20
glibc-devel-2.5-12.i386.rpm
glibc-headers-2.5-12.i386.rpm
compat-db-4.0.14-5
compat-gcc-7.3-2.96.128
compat-gcc-c++-7.3-2.96.128 compat-libstdc++-7.3-2.96.128
compat-libstdc++-devel-7.3-2.96.128
libXpm-3.5.5-3.i386.rpm libXp
openmotif21-2.1.30-8 setarch-1.3-1
libgomp-4.1.1-52.el5.i386.rpm

查询所需安装包是否完整
rpm -q gcc make binutils openmotif setarch compat-db compat-gcc compat-gcc-c++ compat-libstdc++ compat-libstdc++-devel libXp
由于缺失的包之间有严格的依赖关系,所以必须按照如下顺序安装缺失的包
rpm -Uvh compat-db-4*
rpm -Uvh libaio-0*
rpm -Uvh compat-libstdc++-33-3*
rpm -Uvh glibc-headers-2.5-12.i386.rpm
rpm -Uvh glibc-devel-2.5-12.i386.rpm
rpm -Uvh compat-gcc-34-3*
rpm -Uvh compat-gcc-34-c++-3*
rpm -Uvh libXp-1*
rpm -Uvh openmotif-2*
rpm -Uvh gcc-4*
rpm -Uvh glibc-2.5-12.i686.rpm
rpm -Uvh libgomp-4.1.1-52.el5.i386.rpm
rpm -Uvh gcc-4.1.1-52.el5.i386.rpm


安装完成后仍然提示部分包没有安装,不过不影响使用
package compat-gcc is not installed
package compat-gcc-c++ is not installed
package compat-libstdc++ is not installed
package compat-libstdc++-devel is not installed

另一种说法:
查询所需安装包是否完整
rpm -q gcc make binutils openmotif setarch libXp
而对于需要安装的包,按如下关键字搜索和安装即可 compat -> libXp -> openmotif 全部安装完毕即可(我是这样做的)

***********************************************************************************************************
2.red hat 6.1下安装时需检查以下安装包
(1).redhat6.1 安装oracle10g 在执行命令./runInstaller安装报以下错误时,需要安装相关补丁包。
(2)在red hat 6.1 安装时需要安装以下包
安装oracle10g
rpm -ivh libX11-*
rpm -ivh libXt*
rpm -ivh libXext-*
rpm -ivh libXa-*
rpm ivh libXau-*
rpm ivh libSM-*
rpm ivh libICE-*
rpm ivh libXi-*
rpm ivh libxcb-*
rpm ivh libuuid-*
(3)在redhat 6.1上oracle10g 仅安装了以上的包,仍然还是不行的,在安装过程中仍会报缺少包。例如下图
(4)red hat 6.1 上安装oracle前 ,建议安装以下包。
# rpm -ivh libstdc++-devel-4.4.4-13.el6.i686.rpm --nodeps
          kernel-headers-2.6.32-71.el6.i686.rpm \
          glibc-headers-2.12-1.7.el6.i686.rpm \
          glibc-devel-2.12-1.7.el6.i686.rpm \
          gnome-icon-theme-2.28.arch.rpm \
          dmz-cursor-themes-0.arch.rpm \
          sgml-common-0.6.arch.rpm \
          libaio-devel-0.3.107-10.el6.i686.rpm \
          ncurses-devel-5.7-3.20090208.el6.i686.rpm  \
          elfutils-libelf-devel-0.148-1.el6.i686.rpm \
          compat-gcc-34-3.4.6-19.el6.i686.rpm \
          libXxf86misc-1.0.2-1.el6.i686.rpm \
          libXxf86vm-1.1.0-1.el6.i686.rpm \
          libXt-1.0.7-1.el6.i686.rpm \
          libXmu-1.0.5-1.el6.i686.rpm \
          mpfr-2.4.1-6.el6.i686.rpm \
          cpp-4.4.4-13.el6.i686.rpm \
          xorg-x11-xauth-1.0.2-7.1.el6.i686.rpm \
          compat-gcc-34-c++-3.4.6-19.el6.i686.rpm \
          libdaemon-0.14-1.el6.i686.rpm \

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。