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
Copyright © 2013-2023 . All Rights Reserved. 宵云 版权所有 南通宵云网络科技有限公司
工信部备案:苏ICP备18049042号-2
公安部备案:苏公网安备 32060102320703号
《中华人民共和国增值电信业务经营许可证》经营性ICP/ISP/IDC三证:苏B1.B2-20210805