Skip to content

Instantly share code, notes, and snippets.

@haproxytechblog
Last active August 2, 2021 14:48
Show Gist options
  • Save haproxytechblog/edb0d20ea0b6d67e1aeb665de6948c8b to your computer and use it in GitHub Desktop.
Save haproxytechblog/edb0d20ea0b6d67e1aeb665de6948c8b to your computer and use it in GitHub Desktop.
Install HAProxy on Ubuntu 20.04
 $ sudo apt install haproxy
$ sudo apt install --no-install-recommends software-properties-common
$ sudo add-apt-repository ppa:vbernat/haproxy-2.4 -y
$ sudo apt install haproxy=2.4.\*
$ haproxy -v
HAProxy version 2.4.2-1ppa1~focal 2021/07/07 - https://haproxy.org/
Status: long-term supported branch - will stop receiving fixes around Q2 2026.
Known bugs: http://www.haproxy.org/bugs/bugs-2.4.2.html
Running on: Linux 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 x86_64
$ sudo apt update && sudo apt upgrade -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment