HAProxy Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:
This will install a sample configuration file as /etc/haproxy/haproxy.cfg and a systemd unit file in /usr/lib/systemd/system/haproxy.service
This will install a sample configuration file as /etc/haproxy/haproxy.cfg and a systemd unit file in /usr/lib/systemd/system/haproxy.service


To activate start at boot:
To configure it to start at boot:


  systemctl enable haproxy
  systemctl enable haproxy

Revision as of 02:44, 4 July 2017

Internal

Overview

yum install haproxy

This will install a sample configuration file as /etc/haproxy/haproxy.cfg and a systemd unit file in /usr/lib/systemd/system/haproxy.service

To configure it to start at boot:

systemctl enable haproxy