Eli*_*aul 17 rpm repository haproxy epel
这是一个奇怪的。
我已经通过以下方式安装了 CentOS 6 的 EPEL
# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Run Code Online (Sandbox Code Playgroud)
尝试安装 HAProxy:
# yum update
# yum install haproxy
Run Code Online (Sandbox Code Playgroud)
但收到:
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
Run Code Online (Sandbox Code Playgroud)
不明白为什么找不到haproxy!帮助?
Mic*_*ton 17
haproxy 包已从 EPEL 中删除,因为它现在包含在 RHEL 6.4 中(并且在它们构建 6.4 后将包含在衍生发行版中)。
Red Hat Enterprise Linux 6.4 引入了 haproxy 软件包作为技术预览。
如果您现在需要它,您可以获取Red Hat 的 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
Run Code Online (Sandbox Code Playgroud)
否则,您可以等待 CentOS 6.4,然后它将通过基本存储库提供。
小智 6
HAProxy 不是一般订阅的一部分。
在您可以“yum install haproxy”之前,您需要将“RHEL Server Load Balancer (v. 6 for 64-bit x86_64)”频道添加到您的权利中