首先Oracle10g默认是不支持rhl5的,需要进行版本欺骗
vi /etc/redhat-release
添加redhat-4
本人在安装过程中出现
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'ntcontab.o' of makefile '/u01/app/oracle/oracle/product/10.2.0/db_2/network/lib/ins_net_client.mk'. See '/u01/app/oracle/oraInventory/logs/installActions2014-05-22_07-05-00AM.log' for details.
Exception Severity: 1
此错误经查验是由于gcc的安装问题造成
安装gcc-4.1.2-46.el5.i386.rpm 需要按以下顺序,添加依赖包
1) [root@gc2 Server]# rpm -ivh kernel-headers-2.6.18-164.el5.i386.rpm
2) [root@gc2 Server]# rpm -ivh glibc-headers-2.5-42.i386.rpm
3) [root@gc2 Server]# rpm -ivh glibc-devel-2.5-42.i386.rpm
4) [root@gc2 Server]# rpm -ivh libgomp-4.4.0-6.el5.i386.rpm
5) [root@gc2 Server]# rpm -ivh gcc-4.1.2-46.el5.i386.rpm
6) [root@gc2 Server]# rpm -ivh libstdc++-devel-4.1.2-46.el5.i386.rpm
7) [root@gc2 Server]# rpm -ivh gcc-c++-4.1.2-46.el5.i386.rpm
然后点击Oracle安装界面的retry即可通过