关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

CentOS 7 Yum安装Haproxy1.8

发布时间:2020-03-30 11:55:29

CentOS 7 默认的haproxy版本是1.5.这里介绍如何使用yum安装haproxy1.8


安装 Software Collections (SCL) repository 源https://www.softwarecollections.org/en/以获取最新版本的haproxy


sudo yum install centos-release-scl -y


安装haproxy


sudo yum install rh-haproxy18-haproxy rh-haproxy18-haproxy-syspaths -y


OK,现在你可以开始使用了:

开启:systemctl start rh-haproxy18-haproxy

停止:systemctl stop rh-haproxy18-haproxy

开机启动: systemctl enable rhhaproxy18-haproxy



/template/Home/Zkeys/PC/Static