centos6.4下没有heartbeat包解决办法

1.在centos6.4 中使用yum install heartbeat,并没有发现heartbeat软件包

[root@master ~]# yum install heartbeat heartbeat*
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.btte.net
 * extras: mirrors.btte.net
 * updates: mirrors.btte.net
Setting up Install Process
No package heartbeat available.
No package heartbeat* available.
Error: Nothing to do
[root@master ~]# 

2.下载并安装epel包

[root@master ~]# wget http://mirrors.sohu.com/fedora-epel/6/i386/epel-release-6-8.noarch.rpm

[root@master ~]# rpm -ivh epel-release-6-8.noarch.rpm 
warning: epel-release-6-8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing...                ########################################### [100%]
   1:epel-release         ########################################### [100%]

3.再次安装heartbeat

[root@master ~]# yum install heartbeat*
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink                                                                                        | 6.5 kB     00:00     
 * base: mirrors.btte.net
 * epel: mirrors.hustunique.com
 * extras: mirrors.btte.net
 * updates: mirrors.btte.net
epel                                                                                                 | 4.2 kB     00:00     
epel/primary_db                                                                                      | 4.7 MB     00:02     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package heartbeat.i686 0:3.0.4-1.el6 will be installed
--> Processing Dependency: resource-agents for package: heartbeat-3.0.4-1.el6.i686
--> Processing Dependency: libplumb.so.2 for package: heartbeat-3.0.4-1.el6.i686
--> Processing Dependency: cluster-glue-libs for package: heartbeat-3.0.4-1.el6.i686
--> Processing Dependency: cluster-glue for package: heartbeat-3.0.4-1.el6.i686
--> Processing Dependency: PyXML for package: heartbeat-3.0.4-1.el6.i686
---> Package heartbeat-devel.i686 0:3.0.4-1.el6 will be installed
---> Package heartbeat-libs.i686 0:3.0.4-1.el6 will be installed
--> Running transaction check
---> Package PyXML.i686 0:0.8.4-19.el6 will be installed
---> Package cluster-glue.i686 0:1.0.5-6.el6 will be installed
--> Processing Dependency: perl-TimeDate for package: cluster-glue-1.0.5-6.el6.i686
---> Package cluster-glue-libs.i686 0:1.0.5-6.el6 will be installed
---> Package resource-agents.i686 0:3.9.2-21.el6_4.8 will be installed
--> Running transaction check
---> Package perl-TimeDate.noarch 1:1.16-11.1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================
 Package                           Arch                   Version                             Repository               Size
============================================================================================================================
Installing:
 heartbeat                         i686                   3.0.4-1.el6                         epel                    161 k
 heartbeat-devel                   i686                   3.0.4-1.el6                         epel                    123 k
 heartbeat-libs                    i686                   3.0.4-1.el6                         epel                    260 k
Installing for dependencies:
 PyXML                             i686                   0.8.4-19.el6                        base                    892 k
 cluster-glue                      i686                   1.0.5-6.el6                         base                     69 k
 cluster-glue-libs                 i686                   1.0.5-6.el6                         base                    113 k
 perl-TimeDate                     noarch                 1:1.16-11.1.el6                     base                     34 k
 resource-agents                   i686                   3.9.2-21.el6_4.8                    updates                 338 k

Transaction Summary
============================================================================================================================
Install       8 Package(s)

Total download size: 1.9 M
Installed size: 6.7 M
Is this ok [y/N]: y

 

posted @ 2013-11-04 11:06  普拉多VX  阅读(1996)  评论(0编辑  收藏  举报