在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下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native