HAProxy Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * HAProxy")
 
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:


* [[HAProxy#Subjects|HAProxy]]
* [[HAProxy#Subjects|HAProxy]]
=Overview=
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:

HAProxy Configuration