HAProxy Enterprise 2.0r1 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.0r1.
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 \ --version 2.0r1 \ --key <HAProxy Enterprise key>
Enable and start the HAProxy Enterprise service:
$ sudo service hapee_20_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 'HAPEE20R1' '*' $ sudo pkg search -g -r 'HAPEEEXTRAS' '*'
Install a module
$ sudo pkg install hapee-2.0r1-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.0/
/usr/local/opt/hapee-2.0/ |-- bin |-- dev |-- doc |-- modules |-- sbin |-- version
Configuration is installed in /usr/local/etc/hapee-2.0/
/usr/local/etc/hapee-2.0/ |-- hapee-lb.cfg
initscripts are installed in /usr/local/etc/rc.d/
/usr/local/etc/rc.d/ |-- hapee_20_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.