CentOS 7 安装最新 HAProxy

一、安装 ius

ius 是一个提供为 RHEL 和 CentOS 提供更新软件版本的仓库

yum install \
https://repo.ius.io/ius-release-el7.rpm \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

yum makecache fast

二、安装 haproxy

[root@server001 ~]# yum list | grep haproxy
haproxy.x86_64                           1.5.18-9.el7_9.1              updates
haproxy18.x86_64                         1.8.27-2.el7                  epel
haproxy18u.x86_64                        1.8.30-1.el7.ius              ius
haproxy20.x86_64                         2.0.27-1.el7.ius              ius
haproxy22.x86_64                         2.2.22-1.el7.ius              ius
pcp-pmda-haproxy.x86_64                  4.3.2-13.el7_9                updates

[root@server001 ~]# yum install -y haproxy22

本文链接:参与评论 »

--EOF--

提醒:本文最后更新于 767 天前,文中所描述的信息可能已发生改变,请谨慎使用。

Comments