RedHat 6.8 64位安装ASM

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了RedHat 6.8 64位安装ASM相关的知识,希望对你有一定的参考价值。

安装ASM需要三个包:

  • oracleasm-support

  • oracleasmlib

  • kmod-oracleasm

 前面两个包可以在oracle的官网上下载,http://www.oracle.com/technetwork/server-storage/linux/asmlib/rhel6-1940776.html,但安装oracleasmlib这个包时,会提示缺少版本高于1.0.4的oracleasm包,如下:

[[email protected] ~]# rpm -ivh /soft/yum2/Packages/oracleasmlib-2.0.4-1.el6.x86_64.rpm 

warning: /soft/yum2/Packages/oracleasmlib-2.0.4-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY

error: Failed dependencies:

        oracleasm >= 1.0.4 is needed by oracleasmlib-2.0.4-1.el6.x86_64

但Oracle官网上找死都找不到oracleasm这个包,原来Oracle为了推广自己的Oracle Unix OS,故在红帽6以后不再提供这个包了。咋办了,红帽就只有自己开发个呗,故有了kmod-oracleasm包,下载这个包的时候一定要下载与系统内核版本匹配的,否则也装不上。

[[email protected] ~]# rpm -ivh /soft/yum2/Packages/kmod-oracleasm-2.0.8-6.el6_7.x86_64.rpm 

warning: /soft/yum2/Packages/kmod-oracleasm-2.0.8-6.el6_7.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY

error: Failed dependencies:

        kernel < 2.6.32-574.el6 is needed by kmod-oracleasm-2.0.8-6.el6_7.x86_64

检查内核,是2.6.32-642版本的

[[email protected] ~]# uname -a

Linux linux1 2.6.32-642.el6.x86_64 #1 SMP Wed Apr 13 00:51:26 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux

下个与内核版本匹配的,先装kmod-oracleasm,后装oracleasmlib,完美通过。。。。

[[email protected] ~]# rpm -ivh /soft/yum2/Packages/kmod-oracleasm-2.0.8-13.el6_8.x86_64.rpm 

warning: /soft/yum2/Packages/kmod-oracleasm-2.0.8-13.el6_8.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY

Preparing...                ########################################### [100%]

   1:kmod-oracleasm         ########################################### [100%]

[[email protected] ~]# rpm -ivh /soft/yum2/Packages/oracleasm-support-2.1.8-1.el6.x86_64.rpm 

warning: /soft/yum2/Packages/oracleasm-support-2.1.8-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY

Preparing...                ########################################### [100%]

   1:oracleasm-support      ########################################### [100%]

[[email protected] ~]# rpm -ivh /soft/yum2/Packages/oracleasmlib-2.0.4-1.el6.x86_64.rpm 

warning: /soft/yum2/Packages/oracleasmlib-2.0.4-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY

Preparing...                ########################################### [100%]

   1:oracleasmlib           ########################################### [100%]

kmod-oracleasm-2.0.8-13.el6_8.x86_64.rpm下载地址 http://down.51cto.com/data/2331683 



本文出自 “路云九” 博客,请务必保留此出处http://luyun9.blog.51cto.com/7592271/1954586

以上是关于RedHat 6.8 64位安装ASM的主要内容,如果未能解决你的问题,请参考以下文章

VMware虚拟机安装RedHat6.8

重装centos系统(6.8 64位)+配置环境

RedHat 6.8安装postgresql 10

CloudBoot部署实践

RedHat7.1_x64位安装步骤

海龙-redhat6.x64位系列 yum极速安装最新版rabbitmq及erlang