在CentOS 6.3上安装HAProxy?

前端之家收集整理的这篇文章主要介绍了在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,然后它将通过基本存储库提供.

猜你在找的CentOS相关文章