背景:
项目急需在centos6.0下搭建heartbeat,但是苦于不能直接yum安装,又不怕编译安装的出现错误,经过尝试,最终使用epel预案进行yum安装成功
第一步:安装epel rpm包
1.1创建/etc/yum.repos.d/slce.repo内容如下:
[slce] name=Scientific Linux Cyrillic Edition baseurl=http://downloads.naulinux.ru/pub/SLCE/6x/$basearch/CyrEd/RPMS/ enabled=0 gpgcheck=1 gpgkey=http://downloads.naulinux.ru/pub/SLCE/RPM-GPG-KEY-linux-ink
1.2安装epel-release包
yum --enablerepo=slce install epel-release
第二步:安装heartbeat包
yum --enablerepo=epel install heartbeat第三步:安装pacemaker
yum --enablerepo=epel install pacemaker
本文介绍如何在CentOS 6.0环境下通过安装epel rpm包并启用相应的仓库来顺利安装Heartbeat及Pacemaker,实现高可用集群配置。
4655

被折叠的 条评论
为什么被折叠?



