HAProxy Installation

From NovaOrdis Knowledge Base
Revision as of 04:10, 4 July 2017 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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