HAProxy Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:


  systemctl enable haproxy
  systemctl enable haproxy
Configuration:
{{Internal|HAProxy_Configuration#Overview|HAProxy Configuration}}

Latest revision as of 04:10, 4 July 2017

Internal

Overview

yum install haproxy

This will install the default configuration file as /etc/haproxy/haproxy.cfg, the systemd unit file as /usr/lib/systemd/system/haproxy.service and the systemd configuration file /etc/sysconfig/haproxy.

To configure it to start at boot:

systemctl enable haproxy

Configuration:

HAProxy Configuration