Jabbie
0
Q:

using centos 7 as haproxy 1.8

# yum info haproxy
0
$ make TARGET=generic ARCH=native CPU=x86_64 -j8
0
# useradd -r haproxy
0
# This GNU Makefile supports different OS and CPU combinations.
#
# You should use it this way :
# [g]make TARGET=os ARCH=arch CPU=cpu USE_xxx=1 ...
0
# mkdir -p /etc/haproxy
# mkdir -p /run/haproxy
# mkdir -p /var/lib/haproxy
# touch /var/lib/haproxy/stats
0
$ cd haproxy-1.7.5/
0
# chmod 755 /etc/init.d/haproxy
0
$ wget http://www.haproxy.org/download/1.7/src/haproxy-1.7.5.tar.gz -O ~/Packages/haproxy.tar.gz
0
# cp haproxy-1.7.5/examples/haproxy.init /etc/init.d/haproxy
0
# systemctl restart haproxy
0

New to Communities?

Join the community