How to upgrade haproxy 1.6.10 linux on centos 7

To upgrade HAProxy to version 1.6.10 to be compatible with Snapt follow the steps

wget http://www.haproxy.org/download/1.6/src/haproxy-1.6.10.tar.gz

tar xvf haproxy-1.6.10.tar.gz

cd haproxy-1.6.10

make TARGET=linux26 USE_ZLIB=yes USE_OPENSSL=yes USE_PCRE=yes

cp /usr/sbin/haproxy /usr/sbin/haproxy_bak

cp ./haproxy /usr/sbin/haproxy

 

# haproxy -v

HA-Proxy version 1.6.10 2016/11/20

Copyright 2000-2016 Willy Tarreau willy@haproxy.org

 

It’s ok!