微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

在CentOS 6.3上安装HAProxy?

这很奇怪.

我已经为CentOS 6安装了EPEL

# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

试图安装HAProxy:

# yum update
# yum install haproxy

但收到:

Loaded plugins: fastestmirror,security
Loading mirror speeds from cached hostfile
 * base: ftp.heanet.ie
 * epel: fedora.mirror.nexicom.net
 * extras: ftp.heanet.ie
 * updates: ftp.heanet.ie
Setting up Install Process
No package haproxy available.
Error: nothing to do

无法弄清楚为什么找不到haproxy!救命?

The haproxy package has been removed from EPEL因为它是 now included with RHEL 6.4(并且在它们构建6.4之后将在衍生分布中).

Red Hat Enterprise Linux 6.4 introduces the haproxy package as a Technology Preview.

如果您现在需要它,您可以获得Red Hat’s 6.4 SRPM并在您的系统上重建它(与CentOS即将推出的方式相同).例如:

wget http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/haproxy-1.4.22-3.el6.src.rpm
mock -r epel-6-x86_64 haproxy-1.4.22-3.el6.src.rpm

否则,您可以等待CentOS 6.4,然后它将通过基本存储库提供.

原文地址:https://www.jb51.cc/centos/374054.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。