下载地址
start install:
wget http://www.haproxy.org/download/1.7/src/haproxy-1.7.5.tar.gz
tar -xf haproxy-1.7.5.tar.gz
cd haproxy-1.7.5
mkdir -p /usr/local/haproxy
make TARGET=linux2628 ARCH=x86_64 PREFIX=/usr/local/haproxy
make install PREFIX=/usr/local/haproxy
config:
cd /usr/local/haproxy/
vim haproxy.cfg
starting:
/usr/local/haproxy/sbin/haproxy -f /usr/local/haproxy/haproxy.cfg
安装配置完成,都去试试吧!!!