首页 > 代码库 > RedHat 6.8 64位安装ASM
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包,如下:
[root@linux1 ~]# 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包,下载这个包的时候一定要下载与系统内核版本匹配的,否则也装不上。
[root@linux1 ~]# 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版本的
[root@linux1 ~]# 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,完美通过。。。。
[root@linux2 ~]# 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%] [root@linux2 ~]# 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%] [root@linux2 ~]# 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