heartbeat安装

下载源码:
解压:
tar -jxvf 958e11be8686.tar.bz2
编译:
./bootstrap
报错:You must have libtool installed to compile the linux-ha package.
yum install libtool
报错:libtoolize: `COPYING.LIB' not found in `/usr/share/libtool/libltdl'
yum install libtool-ltdl-devel
编译成功后提示:Now run ./configure.
./configure
报错:error: Core development headers were not found
./ConfigureMe configure
提示:configure: WARNING: The following recommended components noted earlier are missing:
     uuid library
    We will continue but you may have lost some non-critical functionality.
configure: error: The following required components noted earlier are missing:
     glib2-devel
    Please supply them and try again.
安装:
yum install uuid libuuid-devel
yum install glib2-devel
make
报错:hg: Command not found
没有解决。。。貌似某些文档需要翻墙才能下载
另一种安装:

 rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
发现无法安装,使用 yum install epel-release
修改:
vi /etc/yum.repos.d/epel.repo
       enabled=0
使用:
yum --enablerepo=epel install heartbeat
报错:
http://mirrors.163.com/centos/6/os/x86_64/Packages/PyXML-0.8.4-19.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.163.com'"
重新安装PyXML,yum install PyXML
再使用:yum --enablerepo=epel install heartbeat
安装包截图:


安装成功:
Installed:
  heartbeat.x86_64 0:3.0.4-2.el6                                                   

Dependency Installed:
  cifs-utils.x86_64 0:4.8.1-19.el6                                                 
  heartbeat-libs.x86_64 0:3.0.4-2.el6                                              
  libtalloc.x86_64 0:2.0.7-2.el6                                                   
  libtdb.x86_64 0:1.2.10-1.el6                                                     
  libtevent.x86_64 0:0.9.18-3.el6                                                  
  quota.x86_64 1:3.17-21.el6_5                                                     
  resource-agents.x86_64 0:3.9.5-12.el6_6.4                                        
  samba-common.x86_64 0:3.6.23-14.el6_6                                            
  samba-winbind.x86_64 0:3.6.23-14.el6_6                                           
  samba-winbind-clients.x86_64 0:3.6.23-14.el6_6                                   
  tcp_wrappers.x86_64 0:7.6-57.el6                                                 

Complete!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值