centos 6.0安装10g r2所依赖的包

mkdir /mnt/iso
mount /dev/cdrom /mnt/iso
cd /mnt/iso/Packages

rpm -ivh binutils-2.20.51.0.2-5.11.el6.x86_64.rpm
rpm -ivh binutils-devel-2.20.51.0.2-5.11.el6.x86_64.rpm
rpm -ivh elfutils-libelf-0.148-1.el6.x86_64.rpm
rpm -ivh elfutils-libelf-devel-0.148-1.el6.x86_64.rpm
rpm -ivh gcc-4.4.4-13.el6.x86_64.rpm ----?
rpm -ivh gcc-c++-4.4.4-13.el6.x86_64.rpm ----
rpm -ivh glibc-common-2.12-1.7.el6.x86_64.rpm
rpm -ivh glibc-headers-2.12-1.7.el6.x86_64.rpm
rpm -ivh glibc-2.12-1.7.el6.x86_64.rpm ------zyfzyf
rpm -ivh glibc-devel-2.12-1.7.el6.x86_64.rpm ------zyfzyf
rpm -ivh kernel-headers-2.6.32-71.el6.x86_64.rpm
rpm -ivh ksh-20100621-2.el6.x86_64.rpm
rpm -ivh libaio-0.3.107-10.el6.x86_64.rpm
rpm -ivh libaio-devel-0.3.107-10.el6.x86_64.rpm
rpm -ivh libgcc-4.4.4-13.el6.x86_64.rpm
rpm -ivh libstdc++-4.4.4-13.el6.x86_64.rpm
rpm -ivh libstdc++-devel-4.4.4-13.el6.x86_64.rpm
rpm -ivh make-3.81-19.el6.x86_64.rpm
rpm -ivh numactl-2.0.3-9.el6.x86_64.rpm
rpm -ivh numactl-devel-2.0.3-9.el6.x86_64.rpm
rpm -ivh sysstat-9.0.4-11.el6.x86_64.rpm
rpm -ivh unixODBC-2.2.14-11.el6.x86_64.rpm
rpm -ivh unixODBC-devel-2.2.14-11.el6.x86_64.rpm
###############################################################

rpm -qa | grep binutils-
rpm -qa | grep binutils-devel
rpm -qa | grep elfutils-libelf
rpm -qa | grep elfutils-libelf-devel
rpm -qa | grep gcc
rpm -qa | grep gcc-c++
rpm -qa | grep glibc
rpm -qa | grep glibc-common
rpm -qa | grep glibc-devel
rpm -qa | grep glibc-headers
rpm -qa | grep kernel-headers
rpm -qa | grep ksh
rpm -qa | grep libaio
rpm -qa | grep libaio-devel
rpm -qa | grep libgcc
rpm -qa | grep libstdc++
rpm -qa | grep libstdc++-devel
rpm -qa | grep make
rpm -qa | grep numactl
rpm -qa | grep numactl-devel
rpm -qa | grep sysstat
rpm -qa | grep unixODBC
rpm -qa | grep unixODBC-devel
###############################################################

2. 再安装所有的以compat开头的对应的内核包,顺序安装,不强制安装

rpm -ivh compat-db42-4.2.52-15.el6.x86_64.rpm
rpm -ivh compat-db43-4.3.29-15.el6.x86_64.rpm
rpm -ivh compat-db-4.6.21-15.el6.x86_64.rpm
rpm -ivh compat-expat1-1.95.8-8.el6.x86_64.rpm
rpm -ivh compat-gcc-34-3.4.6-19.el6.x86_64.rpm
rpm -ivh compat-gcc-34-c++-3.4.6-19.el6.x86_64.rpm
rpm -ivh compat-glibc-headers-2.5-46.2.x86_64.rpm
rpm -ivh compat-libcap1-1.10-1.x86_64.rpm
rpm -ivh compat-libf2c-34-3.4.6-19.el6.x86_64.rpm
rpm -ivh compat-libgfortran-41-4.1.2-39.el6.x86_64.rpm
rpm -ivh compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm
rpm -ivh compat-libtermcap-2.0.8-49.el6.x86_64.rpm
rpm -ivh compat-openldap-2.4.19_2.3.43-15.el6.x86_64.rpm
rpm -ivh compat-readline5-5.2-17.1.el6.x86_64.rpm
rpm -ivh compat-gcc-34-g77-3.4.6-19.el6.x86_64.rpm
rpm -ivh compat-glibc-2.5-46.2.x86_64.rpm
rpm -ivh compat-dapl-1.2.15-2.1.el6.x86_64.rpm -------

###############################################################

3. 安装libX内核包与其它内核包
rpm -q gcc make binutils openmotif libXp compat-db

libX:
rpm -ivh libX11-1.3-2.el6.x86_64.rpm
rpm -ivh libXext-1.1-3.el6.x86_64.rpm
rpm -ivh libXau-1.0.5-1.el6.x86_64.rpm
rpm -ivh libXi-1.3-3.el6.x86_64.rpm
rpm -ivh libXt-1.0.7-1.el6.x86_64.rpm
rpm -ivh libXtst-1.0.99.2-3.el6.x86_64.rpm
rpm -ivh libXp-1.0.0-15.1.el6.x86_64.rpm

rpm -ivh libICE-1.0.6-1.el6.x86_64.rpm
rpm -ivh libSM-1.1.0-7.1.el6.x86_64.rpm
rpm -ivh libuuid-2.17.2-6.el6.x86_64.rpm
rpm -ivh libxcb-1.5-1.el6.x86_64.rpm
rpm -ivh openmotif-2.3.3-1.el6.x86_64.rpm


4.安装1386包 -------------?
rpm -ivh /tools/oraclerpm/i386/glibc-2.5-49.i386.rpm --nodeps --force
rpm -ivh /tools/oraclerpm/i386/glibc-common-2.5-49.i386.rpm --nodeps --force
rpm -ivh /tools/oraclerpm/i386/glibc-devel-2.5-49.i386.rpm --nodeps --force
rpm -ivh /tools/oraclerpm/i386/glibc-headers-2.5-49.i386.rpm --nodeps --force


rpm -ivh glibc-2.5-49.i386.rpm --nodeps --force
rpm -ivh glibc-common-2.5-49.i386.rpm --nodeps --force
rpm -ivh glibc-devel-2.5-49.i386.rpm --nodeps --force
rpm -ivh glibc-headers-2.5-49.i386.rpm --nodeps --force

5.安装i686包,先顺序安装,实在不行再强制安装

rpm -ivh libXau-1.0.5-1.el6.i686.rpm
rpm -ivh libX11-1.3-2.el6.i686.rpm
rpm -ivh libXext-1.1-3.el6.i686.rpm
rpm -ivh libXi-1.3-3.el6.i686.rpm
rpm -ivh libXt-1.0.7-1.el6.i686.rpm
rpm -ivh libXtst-1.0.99.2-3.el6.i686.rpm
rpm -ivh libXp-1.0.0-15.1.el6.i686.rpm

rpm -ivh libuuid-2.17.2-6.el6.i686.rpm
rpm -ivh libxcb-1.5-1.el6.i686.rpm
rpm -ivh libICE-1.0.6-1.el6.i686.rpm
rpm -ivh libSM-1.1.0-7.1.el6.i686.rpm

6.安装其它

rpm -ivh libgomp-4.4.4-13.el6.x86_64.rpm
rpm -ivh cpp-4.4.4-13.el6.x86_64.rpm
rpm -ivh compat-libstdc++-296-2.96-144.el6.i686.rpm
rpm -ivh libgcc-4.4.4-13.el6.i686.rpm

rpm -ivh glibc-2.12-1.7.el6.i686.rpm --nodeps --force --注这个包装上可能内核就变成32位了,要注意是否变化了,如果变化了,就卸载了,再想办法安装


--下面为参考,需要时再安装
###################################################################################################
rpm -ivh /tools/oraclerpm/i386/glibc-2.3.4-2.i386.rpm --nodeps --force
rpm -ivh /tools/oraclerpm/i386/glibc-headers-2.3.4-2.i386.rpm --nodeps --force
rpm -ivh /tools/oraclerpm/i386/glibc-devel-2.3.4-2.i386.rpm --nodeps --force
rpm -ivh /tools/oraclerpm/i386/glibc-common-2.3.4-2.i386.rpm --nodeps --force

rpm -ivh /tools/oraclerpm/i386/binutils-2.20.51.0.2-5.11.el6.i686.rpm --nodeps --force
rpm -ivh /tools/oraclerpm/i386/glibc-devel-2.5-42.i386.rpm --nodeps --force
rpm -ivh setarch-2.0-1.1.x86_64.rpm --nodeps --force

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/27784356/viewspace-1059730/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/27784356/viewspace-1059730/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值