How to Install HAProxy 2.0+ in Amazon Linux 2/CentOS/RHEL

https://www.bantrain.com/how-to-install-haproxy-2-0-in-amazon-linux-2-centos-rhel/

First, Install dependencies needed to build HAProxy

Download Lua source code and then Install Lua

Download OpenSSL source code and then Install OpenSSL

Download HAProxy source code and then Install HAProxy

Add Service for HAProxy

Then paste in the following

Then finish HAProxy Installation Process by running

Optional remove build dependencies for haproxy

如果haproxy -V报错:openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

 

发表评论

电子邮件地址不会被公开。 必填项已用*标注