HAProxy Enterprise 2.2r1 is distributed through the Operating System package manager for the following BSD distributions:
Install HAProxy Enterprise
The following procedure adds package repositories and installs HAProxy Enterprise 2.2r1.
Optional. To verify the integrity of the script before installing, first download the script and its SHA hash to a local directory:
$ wget https://www.haproxy.com/static/install_haproxy_enterprise.sh $ wget https://www.haproxy.com/static/install_haproxy_enterprise.sh.sha512.asc
Then run these commands to verify the checksum of the script against the SHA hash:
$ gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 0xCA2DF14657C5A207 $ gpg --verify ./install_haproxy_enterprise.sh.sha512.asc
Check for the output Good signature.
To install HAProxy Enterprise, run the following command, replacing
<HAProxy Enterprise Key>with the key you were given when you registered.
$ wget https://www.haproxy.com/static/install_haproxy_enterprise.sh && sudo bash ./install_haproxy_enterprise.sh 2.2r1 <HAProxy Enterprise key>
Enable and start the HAProxy Enterprise service:
$ sudo service hapee_22_lb onestart
Install additional modules
HAProxy Enterprise comes with additional native and third-party modules like the Real-time Dashboard. See all available packages.
Search for additional modules
$ sudo pkg search -g -r 'HAPEE22R1' '*' $ sudo pkg search -g -r 'HAPEEEXTRAS' '*'
Install a module
$ sudo pkg install hapee-2.2r1-lb-update
See other parts of this documentation for instructions on how to enable and configure each package.
Locate installed directories
HAProxy Enterprise files are installed following these rules:
Binaries and documentation are in /usr/local/opt/hapee-2.2/
/usr/local/opt/hapee-2.2/ |-- bin |-- dev |-- doc |-- modules |-- sbin |-- version
Configuration is installed in /usr/local/etc/hapee-2.2/
/usr/local/etc/hapee-2.2/ |-- hapee-lb.cfg
initscripts are installed in /usr/local/etc/rc.d/
/usr/local/etc/rc.d/ |-- hapee_22_lb
Configure HAProxy Enterprise
After you complete the installation, you can configure HAProxy Enterprise using the instructions in the Configuration section from the left-hand menu bar.