由于Oracle10g版本较为古早,所以不支持在5以后的操作系统上进行安装。
但是可以通过修改一些系统参数,进行安装:
1.设置语言环境变量~]# vi /etc/sysconfig/i18n LANG="en_US.UTF-8" SYSFONT="latarcyrheb-sun16"
2.修改系统版本: # vi /etc/redhat-release # cp /etc/redhat-release /etc/redhat-release.bak # vi /etc/redhat-release 或 echo "Red Hat Enterprise Linux Server release 4" > /etc/redhat-release
3.根据提示安装32位的依赖包:
yum install libstdc++.i686 libaio.i686 libXt.so.6 libXtst.so.6 glibc-devel.i686 binutils compat-libstdc++ compat-libstdc++-33 elfutils-libelf-devel gcc gcc-c++ glibc-devel glibc-headers ksh libaio-devel libstdc++-devel make sysstat unixODBC-devel binutils-* compat-libstdc++* elfutils-libelf* glibc* gcc-* libaio* libgcc* libstdc++* make* sysstat* unixODBC* unzip libXext smartmontools ntp compat-libcap1 xdpyinfo tree
4.安装时报错的处理:
报错: Exception String: Error in invoking target 'all_no_orcl' of makefile '/u01/app/oracle/product/10.2.0/db_1/rdbms/lib/ins_rdbms.mk'. See '/u01/app/oracle/oraInventory/logs/installActions2025-06-12_04-06-08PM.log' for details. 该报错可以选择跳过,在安装运行完毕之后,从命令行进行编译:
$ /u01/app/oracle/product/10.2.0/db_1/bin/relink all
报错: Exception String: Error in invoking target 'collector' of makefile '/u01/app/oracle/product/10.2.0/db_1/sysman/lib/ins_emdb.mk'. See '/u01/app/oracle/oraInventory/logs/installActions2025-06-12_04-06-08PM.log' for details. 该报错不影响,可以直接忽略。
|