大网数据广告活动
服务器运维问答

Install HAProxy 2 on Centos 7

· 52CE 我爱测

Where can I find official documentation on HAproxy 2x installation documentation for Centos 7? $ yum install haproxy $ haproxy -v HA-Proxy version 1.5.18 2016/05/10 Copyright 2000-2016 Willy Tarreau <[email omitted]> $ cat /etc/o…

问题原文

原帖链接 · MiddlewareManiac · CC BY-SA 4.0

Where can I find official documentation on HAproxy 2x installation documentation for Centos 7?

$ yum install haproxy
$ haproxy -v
HA-Proxy version 1.5.18 2016/05/10
Copyright 2000-2016 Willy Tarreau <[email omitted]>

$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

I would like to not run an outdated, potentially insecure version of the product.

已采纳解答

原帖链接 · Mikael H · CC BY-SA 4.0

HAProxy from the repo is unlikely to be insecure as long as CentOS7 is supported, but yes, the 1.5 version is outdated functionality-wise.

From what I see, only modern Fedora versions have more modern versions of HAProxy in their official repositories. If you purchase a commercial version of HAProxy it looks as though there's a RHEL/CentOS compatible repository supported directly by the HAProxy people. Otherwise you may actually have to compile and roll your own packages for your environment.

If running another distro is a possible workaround, the most user-friendly effort for the community version of HAProxy seems to exist on the Debian and Ubuntu side of things: https://haproxy.debian.net/

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2020-02-07)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。