`

ORACLE学习系列.1.安装篇 RHEL5.5 64位下安装Oracle 11g 64位安装前置条件的两种方法

 
阅读更多

http://www.oracle-base.com/articles/11g/oracle-db-11gr2-installation-on-oracle-linux-5.php

 

RHEL5.5 64位下安装Oracle 11g 64位安装前置条件(即RPM包)有如下两种方式:

一、RPM方式:安装Oracle所需的全部运行库(在RHEL光驱的Server目录下)

以root登录,执行如下命令:

 

  1. cd /media/RHEL_5.5\ x86_64\ DVD/Server  
  2. rpm -Uvh binutils-2.*  
  3. rpm -Uvh compat-libstdc++-33*  
  4. rpm -Uvh compat-libstdc++-33*.i386.rpm  
  5. rpm -Uvh elfutils-libelf*  
  6. rpm -Uvh gcc-4.*  
  7. rpm -Uvh gcc-c++-4.*  
  8. rpm -Uvh glibc-2.*  
  9. rpm -Uvh glibc-common-2.*  
  10. rpm -Uvh glibc-devel-2.*  
  11. rpm -Uvh glibc-headers-2.*  
  12. rpm -Uvh ksh*  
  13. rpm -Uvh libaio-0.*  
  14. rpm -Uvh libaio-devel-0.*  
  15. rpm -Uvh libgomp-4.*  
  16. rpm -Uvh libgcc-4.*  
  17. rpm -Uvh libstdc++-4.*  
  18. rpm -Uvh libstdc++-devel-4.*  
  19. rpm -Uvh make-3.*  
  20. rpm -Uvh sysstat-7.*  
  21. rpm -Uvh unixODBC-2.*  
  22. rpm -Uvh unixODBC-devel-2.*  
  23. rpm -Uvh numactl-devel-*  

 

 

二、Yum方式:在线安装

以root账号登录,输入:

 

  1. cd /etc/yum.repos.d  
  2.   
  3. wget http://public-yum.oracle.com/public-yum-el5.repo  
  4.   
  5. yum install oracle-validated  


安装过程如下:

 

 

  1. Loaded plugins: product-id, security, subscription-manager  
  2. Updating Red Hat repositories.  
  3. el5_latest                                               | 1.4 kB     00:00       
  4. el5_latest/primary                                       |  11 MB     21:43       
  5. el5_latest                                                            9613/9613  
  6. Setting up Install Process  
  7. Resolving Dependencies  
  8. --> Running transaction check  
  9. ---> Package oracle-validated.x86_64 0:1.1.0-15.el5 set to be updated  
  10. el5_latest/filelists                                     |  18 MB     14:31       
  11. --> Processing Dependency: irqbalance >= 2:0.55-16 for package: oracle-validated  
  12. --> Processing Dependency: kernel-uek >= 2.6.32 for package: oracle-validated  
  13. --> Processing Dependency: libXp.so.6 for package: oracle-validated  
  14. --> Processing Dependency: /usr/lib/libodbccr.so for package: oracle-validated  
  15. --> Processing Dependency: /usr/lib64/libodbccr.so for package: oracle-validated  
  16. --> Processing Dependency: unixODBC-devel for package: oracle-validated  
  17. --> Processing Dependency: libaio-devel for package: oracle-validated  
  18. --> Processing Dependency: /usr/lib64/libaio.so for package: oracle-validated  
  19. --> Processing Dependency: /usr/lib/libodbc.so.1 for package: oracle-validated  
  20. --> Processing Dependency: sysstat for package: oracle-validated  
  21. --> Processing Dependency: /usr/lib/libaio.so for package: oracle-validated  
  22. --> Processing Dependency: oraclelinux-release for package: oracle-validated  
  23. --> Processing Dependency: libodbc.so.1()(64bitfor package: oracle-validated  
  24. --> Running transaction check  
  25. ---> Package irqbalance.x86_64 2:0.55-17.el5 set to be updated  
  26. ---> Package kernel-uek.x86_64 0:2.6.32-300.32.3.el5uek set to be updated  
  27. --> Processing Dependency: kernel-firmware = 2.6.32-300.32.3.el5uek for package: kernel-uek  
  28. --> Processing Dependency: device-mapper-multipath >= 0.4.9-23.0.1.el5 for package: kernel-uek  
  29. --> Processing Dependency: mkinitrd >= 5.1.19.6-75.0.5 for package: kernel-uek  
  30. --> Processing Dependency: ql2xxx-firmware for package: kernel-uek  
  31. ---> Package libXp.i386 0:1.0.0-8.1.el5 set to be updated  
  32. ---> Package libaio-devel.i386 0:0.3.106-5 set to be updated  
  33. ---> Package libaio-devel.x86_64 0:0.3.106-5 set to be updated  
  34. ---> Package oraclelinux-release.x86_64 0:5-8.0.2 set to be updated  
  35. ---> Package sysstat.x86_64 0:7.0.2-11.el5 set to be updated  
  36. ---> Package unixODBC-devel.i386 0:2.2.11-10.el5 set to be updated  
  37. --> Processing Dependency: unixODBC = 2.2.11-10.el5 for package: unixODBC-devel  
  38. ---> Package unixODBC-devel.x86_64 0:2.2.11-10.el5 set to be updated  
  39. ---> Package unixODBC-libs.i386 0:2.2.11-10.el5 set to be updated  
  40. ---> Package unixODBC-libs.x86_64 0:2.2.11-10.el5 set to be updated  
  41. --> Running transaction check  
  42. ---> Package device-mapper-multipath.x86_64 0:0.4.9-46.0.5.el5 set to be updated  
  43. --> Processing Dependency: kpartx = 0.4.9-46.0.5.el5 for package: device-mapper-multipath  
  44. --> Processing Dependency: device-mapper-multipath-libs = 0.4.9-46.0.5.el5 for package: device-mapper-multipath  
  45. --> Processing Dependency: libmultipath.so()(64bitfor package: device-mapper-multipath  
  46. ---> Package kernel-uek-firmware.noarch 0:2.6.32-300.32.3.el5uek set to be updated  
  47. ---> Package mkinitrd.i386 0:5.1.19.6-75.0.9.el5 set to be updated  
  48. --> Processing Dependency: nash = 5.1.19.6-75.0.9.el5 for package: mkinitrd  
  49. ---> Package mkinitrd.x86_64 0:5.1.19.6-75.0.9.el5 set to be updated  
  50. ---> Package ql2xxx-firmware.noarch 0:1.01.01-0.2.el5 set to be updated  
  51. ---> Package unixODBC.x86_64 0:2.2.11-10.el5 set to be updated  
  52. --> Running transaction check  
  53. ---> Package device-mapper-multipath-libs.x86_64 0:0.4.9-46.0.5.el5 set to be updated  
  54. ---> Package kpartx.x86_64 0:0.4.9-46.0.5.el5 set to be updated  
  55. ---> Package nash.x86_64 0:5.1.19.6-75.0.9.el5 set to be updated  
  56. --> Processing Conflict: kernel-uek conflicts udev < 095-14.27.0.1.el5_7.1  
  57. --> Restarting Dependency Resolution with new changes.  
  58. --> Running transaction check  
  59. ---> Package udev.x86_64 0:095-14.27.0.3.el5_7.1 set to be updated  
  60. --> Finished Dependency Resolution  
  61.   
  62. Dependencies Resolved  
  63.   
  64. ================================================================================  
  65.  Package                      Arch   Version                   Repository  Size  
  66. ================================================================================  
  67. Installing:  
  68.  oracle-validated             x86_64 1.1.0-15.el5              el5_latest  24 k  
  69. Updating:  
  70.  udev                         x86_64 095-14.27.0.3.el5_7.1     el5_latest 2.4 M  
  71. Installing for dependencies:  
  72.  device-mapper-multipath-libs x86_64 0.4.9-46.0.5.el5          el5_latest 168 k  
  73.  kernel-uek                   x86_64 2.6.32-300.32.3.el5uek    el5_latest  26 M  
  74.  kernel-uek-firmware          noarch 2.6.32-300.32.3.el5uek    el5_latest 3.7 M  
  75.  libXp                        i386   1.0.0-8.1.el5             el5_latest  22 k  
  76.  libaio-devel                 i386   0.3.106-5                 el5_latest  12 k  
  77.  libaio-devel                 x86_64 0.3.106-5                 el5_latest  11 k  
  78.  oraclelinux-release          x86_64 5-8.0.2                   el5_latest 2.7 k  
  79.  ql2xxx-firmware              noarch 1.01.01-0.2.el5           el5_latest 442 k  
  80.  sysstat                      x86_64 7.0.2-11.el5              el5_latest 187 k  
  81.  unixODBC                     x86_64 2.2.11-10.el5             el5_latest 291 k  
  82.  unixODBC-devel               i386   2.2.11-10.el5             el5_latest 738 k  
  83.  unixODBC-devel               x86_64 2.2.11-10.el5             el5_latest 793 k  
  84.  unixODBC-libs                i386   2.2.11-10.el5             el5_latest 551 k  
  85.  unixODBC-libs                x86_64 2.2.11-10.el5             el5_latest 554 k  
  86. Updating for dependencies:  
  87.  device-mapper-multipath      x86_64 0.4.9-46.0.5.el5          el5_latest  97 k  
  88.  irqbalance                   x86_64 2:0.55-17.el5             el5_latest  21 k  
  89.  kpartx                       x86_64 0.4.9-46.0.5.el5          el5_latest 465 k  
  90.  mkinitrd                     i386   5.1.19.6-75.0.9.el5       el5_latest 482 k  
  91.  mkinitrd                     x86_64 5.1.19.6-75.0.9.el5       el5_latest 471 k  
  92.  nash                         x86_64 5.1.19.6-75.0.9.el5       el5_latest 1.4 M  
  93.   
  94. Transaction Summary  
  95. ================================================================================  
  96. Install      15 Package(s)  
  97. Upgrade       7 Package(s)  
  98.   
  99. Total download size: 38 M  
  100. Is this ok [y/N]: y  
  101. Downloading Packages:  
  102. (1/22): oraclelinux-release-5-8.0.2.x86_64.rpm           | 2.7 kB     00:00       
  103. (2/22): libaio-devel-0.3.106-5.x86_64.rpm                |  11 kB     00:00       
  104. (3/22): libaio-devel-0.3.106-5.i386.rpm                  |  12 kB     00:00       
  105. (4/22): irqbalance-0.55-17.el5.x86_64.rpm                |  21 kB     00:00       
  106. (5/22): libXp-1.0.0-8.1.el5.i386.rpm                     |  22 kB     00:00       
  107. (6/22): oracle-validated-1.1.0-15.el5.x86_64.rpm         |  24 kB     00:00       
  108. (7/22): device-mapper-multipath-0.4.9-46.0.5.el5.x86_64. |  97 kB     00:01       
  109. (8/22): device-mapper-multipath-libs-0.4.9-46.0.5.el5.x8 | 168 kB     00:03       
  110. (9/22): sysstat-7.0.2-11.el5.x86_64.rpm                  | 187 kB     00:04       
  111. (10/22): unixODBC-2.2.11-10.el5.x86_64.rpm               | 291 kB     00:14       
  112. (11/22): ql2xxx-firmware-1.01.01-0.2.el5.noarch.rpm      | 442 kB     00:21       
  113. (12/22): kpartx-0.4.9-46.0.5.el5.x86_64.rpm              | 465 kB     00:10       
  114. (13/22): mkinitrd-5.1.19.6-75.0.9.el5.x86_64.rpm         | 471 kB     00:26       
  115. (14/22): mkinitrd-5.1.19.6-75.0.9.el5.i386.rpm           | 482 kB     00:24       
  116. (15/22): unixODBC-libs-2.2.11-10.el5.i386.rpm            | 551 kB     00:17       
  117. (16/22): unixODBC-libs-2.2.11-10.el5.x86_64.rpm          | 554 kB     00:15       
  118. (17/22): unixODBC-devel-2.2.11-10.el5.i386.rpm           | 738 kB     00:15       
  119. (18/22): unixODBC-devel-2.2.11-10.el5.x86_64.rpm         | 793 kB     00:23       
  120. (19/22): nash-5.1.19.6-75.0.9.el5.x86_64.rpm             | 1.4 MB     00:48       
  121. (20/22): udev-095-14.27.0.3.el5_7.1.x86_64.rpm           | 2.4 MB     00:59       
  122. (21/22): kernel-uek-firmware-2.6.32-300.32.3.el5uek.noar | 3.7 MB     02:36       
  123. (22/22): kernel-uek-2.6.32-300.32.3.el5uek.x86_64.rpm    |  26 MB     09:05       
  124. --------------------------------------------------------------------------------  
  125. Total                                            39 kB/s |  38 MB     17:00       
  126. warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 1e5e0159  
  127. el5_latest/gpgkey                                        | 1.4 kB     00:00       
  128. Importing GPG key 0x1E5E0159 "Oracle OSS group (Open Source Software group) <build@oss.oracle.com>" from http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5  
  129. Is this ok [y/N]: y  
  130. Running rpm_check_debug  
  131. Running Transaction Test  
  132. Finished Transaction Test  
  133. Transaction Test Succeeded  
  134. Running Transaction  
  135.   Updating       : kpartx                                                  1/29   
  136.   Updating       : udev                                                    2/29   
  137.   Installing     : unixODBC-libs                                           3/29   
  138.   Installing     : unixODBC                                                4/29   
  139.   Installing     : sysstat                                                 5/29   
  140.   Updating       : irqbalance                                              6/29   
  141.   Installing     : device-mapper-multipath-libs                            7/29   
  142.   Updating       : device-mapper-multipath                                 8/29   
  143.   Installing     : unixODBC-libs                                           9/29   
  144.   Installing     : oraclelinux-release                                    10/29   
  145.   Updating       : nash                                                   11/29   
  146.   Updating       : mkinitrd                                               12/29   
  147.   Installing     : unixODBC-devel                                         13/29   
  148.   Installing     : unixODBC-devel                                         14/29   
  149.   Installing     : kernel-uek-firmware                                    15/29   
  150.   Installing     : ql2xxx-firmware                                        16/29   
  151.   Installing     : kernel-uek                                             17/29   
  152.   Installing     : libaio-devel                                           18/29   
  153.   Installing     : libaio-devel                                           19/29   
  154.   Installing     : libXp                                                  20/29   
  155.   Installing     : oracle-validated                                       21/29   
  156.   Updating       : mkinitrd                                               22/29   
  157.   Cleanup        : irqbalance                                             23/29   
  158.   Cleanup        : udev                                                   24/29   
  159.   Cleanup        : mkinitrd                                               25/29   
  160.   Cleanup        : nash                                                   26/29   
  161.   Cleanup        : kpartx                                                 27/29   
  162.   Cleanup        : device-mapper-multipath                                28/29   
  163.   Cleanup        : mkinitrd                                               29/29   
  164. duration: 3968(ms)  
  165. Installed products updated.  
  166.   
  167. Installed:  
  168.   oracle-validated.x86_64 0:1.1.0-15.el5                                          
  169.   
  170. Dependency Installed:  
  171.   device-mapper-multipath-libs.x86_64 0:0.4.9-46.0.5.el5                          
  172.   kernel-uek.x86_64 0:2.6.32-300.32.3.el5uek                                      
  173.   kernel-uek-firmware.noarch 0:2.6.32-300.32.3.el5uek                             
  174.   libXp.i386 0:1.0.0-8.1.el5                                                      
  175.   libaio-devel.i386 0:0.3.106-5                                                   
  176.   libaio-devel.x86_64 0:0.3.106-5                                                 
  177.   oraclelinux-release.x86_64 0:5-8.0.2                                            
  178.   ql2xxx-firmware.noarch 0:1.01.01-0.2.el5                                        
  179.   sysstat.x86_64 0:7.0.2-11.el5                                                   
  180.   unixODBC.x86_64 0:2.2.11-10.el5                                                 
  181.   unixODBC-devel.i386 0:2.2.11-10.el5                                             
  182.   unixODBC-devel.x86_64 0:2.2.11-10.el5                                           
  183.   unixODBC-libs.i386 0:2.2.11-10.el5                                              
  184.   unixODBC-libs.x86_64 0:2.2.11-10.el5                                            
  185.   
  186. Updated:  
  187.   udev.x86_64 0:095-14.27.0.3.el5_7.1                                             
  188.   
  189. Dependency Updated:  
  190.   device-mapper-multipath.x86_64 0:0.4.9-46.0.5.el5                               
  191.   irqbalance.x86_64 2:0.55-17.el5                                                 
  192.   kpartx.x86_64 0:0.4.9-46.0.5.el5                                                
  193.   mkinitrd.i386 0:5.1.19.6-75.0.9.el5                                             
  194.   mkinitrd.x86_64 0:5.1.19.6-75.0.9.el5                                           
  195.   nash.x86_64 0:5.1.19.6-75.0.9.el5                                               
  196.   
  197. Complete!  
分享到:
评论

相关推荐

    oracle 10g rac on rhel5.5 相关包

    在Red Hat Enterprise Linux 5.5 (RHEL5.5) 上部署Oracle 10g RAC,需要一系列特定的软件包和配置步骤。以下是对提供的文件名列表及其对应知识点的详细解释: 1. **ocfs2-2.6.18-194.el5-debuginfo-1.4.7-1.el5.i...

    oracle11g rac+redhat5.5集群配置

    Oracle 11g RAC(Real Application Clusters)是一种高可用性和可伸缩性的数据库解决方案,它允许多个实例共享同一个数据库,以提供无中断的服务和数据访问。在Red Hat Enterprise Linux 5.5(RHEL 5.5)上配置...

    RHEL5.5下安装Oracle11gR2

    RHEL5.5下安装Oracle11gR2

    Redhat Enterprise 5(RHEL5.5)上安装ORACLE 10G Release 2(10.2.0.1) 64位版本 .doc

    在Redhat Enterprise 5 (RHEL5.5)上安装Oracle 10G Release 2 (10.2.0.1) 64位版本是一个复杂的过程,涉及到多个步骤和注意事项。以下是对这个主题的详细说明: 1. **硬件需求**: - 对于64位版本的Oracle 10g,您...

    oracle 11gR2 for RHEL5.5 x86_64的补丁包

    在Red Hat Enterprise Linux (RHEL) 5.5 x86_64环境下安装Oracle 11gR2,需要特别注意的是,由于RHEL 5.5已经过时,因此可能需要额外的兼容性和安全补丁来确保数据库的稳定运行。 首先,让我们详细了解一下Oracle ...

    RHEL5.5下Oracle RAC安装自动配置工具

    在RHEL5.5中安装Oracle,尤其是RAC,需要进行大量修改,本工具旨在将这些工作合并,减少修改工作量和误操作的发生,尽量实现傻瓜模式修改:) 本工具在RHEL5.5和Oracle 11.2.0.3(RAC)环境下测试通过。 使用之前请查看...

    rhel 5.5安装oracle 11gr2 RAC.txt

    ### RHEL 5.5 安装 Oracle 11gR2 RAC 详细步骤与配置 #### 一、环境准备 在准备安装 Oracle 11gR2 RAC(Real Application Clusters)之前,我们需要确保系统环境符合安装要求。本指南基于 Red Hat Enterprise ...

    RHEL5.5上安装oracle database 笔记

    在正式安装Oracle Database之前,需要对RHEL5.5系统进行一系列的准备与配置工作,确保系统满足Oracle的要求。 ##### 1. 安装必要软件包 首先,确保已安装以下必要的软件包: - **binutils**: 包含了一系列用于处理...

    RedHat.Enterprise.Linux.5.5 x64 oracle10g R2安装记录

    根据给定的文件信息,以下是对Red Hat Enterprise Linux 5.5 x64与Oracle 10g R2安装过程的详细知识点总结: ### 一、RHEL 5.5 安装前须知 #### 1. SATA硬盘兼容性 - RHEL 5.5在最初发布时,并未全面支持SATA硬盘...

    Oracle10g在rhel.5.5上的安装步骤

    Oracle10g在rhel.5.5上的安装步骤,以及在安装过程中应该注意的事项。

    在redhat5.5下创建oracle11gR2的RAC集群

    在Red Hat 5.5操作系统环境下创建Oracle 11g R2 RAC集群是一项复杂的任务,需要遵循一系列的步骤和注意事项。首先,我们要确保系统版本和内核版本与Oracle软件兼容。在这个例子中,系统是Red Hat Enterprise Linux ...

    图文并茂-Vmware+RHEL5.5+11gRAC

    - 配置两台虚拟主机,以支持RHEL 5.5 x64操作系统和Oracle 11gR2 x64 RAC(Real Application Clusters)。 - 规划涉及设置主机名、网络配置(公共、私有、虚拟网卡和SCAN IP地址)。 2. 虚拟机配置 - 为每台虚拟机...

    RedHat.5.5_x64_oracle10g安装记录

    本文将详细介绍在Red Hat Enterprise Linux 5.5 64位系统上安装Oracle 10g的全程步骤,分享我在安装过程中遇到的问题及解决方案。 首先,让我们了解一些必要的前提条件: 1. RHEL 5.5不支持串口硬盘(如SATA)。这...

    RHEL5.5_安装数据时需要的包

    RHEL5.5 安装oracle时验证缺少的包。需要安装的 libaio-devel-0.3.106(i386 x86_64) libaio-devel-0.3.106-3.2.i386 sysstat-7.0.2-3.el5.i386.rpm sysstat-9.0.4-27.el6.x86_64.rpm unixODBC-2.2.11-7.1.i386....

    Oracle 11g RAC On RHEL5.5实施文档

    Oracle 11g RAC On RHEL5.5实施文档,基于虚拟机的个人实验。

    使用VirtualBox虚拟机在Redhat Linux 5.5上安装Oracle 11g RAC

    在本教程中,我们将详细探讨如何在Red Hat Enterprise Linux 5.5(RHEL 5.5)上使用VirtualBox虚拟机安装Oracle 11g Release 2(11.2 64位)Real Application Clusters(RAC)。RAC是一种高可用性解决方案,允许...

    RHEL5.5+drbd+heartbeat+oracle10R2 双机安装实例

    RHEL5.5+drbd+heartbeat+oracle10R2 双机安装实例

    RedHat 5 下安装 Oracle 11gR2 RAC 环境

    在RedHat 5下安装Oracle 11gR2 RAC环境是一项复杂而细致的任务,涉及到多方面的系统配置与软件部署。以下是对该任务中关键知识点的深入解析: ### 安装环境概述 #### 主机操作系统 主机操作系统选择了Win7,这表明...

    RHEL5.564位+oracle11Gr2_RAC+grid+iscsi.pdf

    RHEL5.564位+oracle11Gr2_RAC+grid+iscsi Linux Oracle数据库安装案例

Global site tag (gtag.js) - Google Analytics