Answers for "using centos 7 as haproxy 1.8"

0

using centos 7 as haproxy 1.8

# useradd -r haproxy
Posted by: Guest on July-06-2020
0

using centos 7 as haproxy 1.8

# yum info haproxy
Posted by: Guest on July-06-2020
0

using centos 7 as haproxy 1.8

$ cd haproxy-1.7.5/
Posted by: Guest on July-06-2020
0

using centos 7 as haproxy 1.8

# chmod 755 /etc/init.d/haproxy
Posted by: Guest on July-06-2020
0

using centos 7 as haproxy 1.8

global
   log /dev/log local0
   log /dev/log local1 notice
   chroot /var/lib/haproxy
   stats socket /run/haproxy/admin.sock mode 660 level admin
   stats timeout 30s
   user haproxy
   group haproxy
   daemon

defaults
   log global
   mode http
   option httplog
   option dontlognull
   timeout connect 5000
   timeout client 50000
   timeout server 50000

frontend http_front
   bind *:80
   stats uri /haproxy?stats
   default_backend http_back

backend http_back
   balance roundrobin
   server my_server private_IP:80 check
   server my_server private_IP:80 check
Posted by: Guest on July-06-2020
0

using centos 7 as haproxy 1.8

# mkdir -p /etc/haproxy
# mkdir -p /run/haproxy
# mkdir -p /var/lib/haproxy
# touch /var/lib/haproxy/stats
Posted by: Guest on July-06-2020
0

using centos 7 as haproxy 1.8

# systemctl restart haproxy
Posted by: Guest on July-06-2020
0

using centos 7 as haproxy 1.8

$ wget http://www.haproxy.org/download/1.7/src/haproxy-1.7.5.tar.gz -O ~/Packages/haproxy.tar.gz
Posted by: Guest on July-06-2020
0

using centos 7 as haproxy 1.8

# cp haproxy-1.7.5/examples/haproxy.init /etc/init.d/haproxy
Posted by: Guest on July-06-2020
0

using centos 7 as haproxy 1.8

$ make TARGET=generic ARCH=native CPU=x86_64 -j8
Posted by: Guest on July-06-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language