HAProxy Installation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
yum install haproxy | yum install haproxy | ||
This will install the default configuration file as <tt>/etc/haproxy/haproxy.cfg</tt>, the systemd unit file as <tt>/usr/lib/systemd/system/haproxy.service</tt> and the systemd configuration file <tt>/etc/sysconfig/haproxy</tt>. | |||
To configure it to start at boot: | |||
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: