- git
- gcc
- openssl-devel
- systemd-devel
cd /opt git clone https://git.haproxy.org/git/haproxy-1.8.git/
cd /opt/haproxy-1.8 make TARGET=linux2628 USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1 USE_SYSTEMD=1 make install cd contrib/systemd make cp haproxy.service /lib/systemd/system
amazon-linux-extras install nginx1.12 amazon-linux-extras install vim
apt-get install software-properties-common
add-apt-repository ppa:vbernat/haproxy-1.8
apt-get update
apt-get install haproxy