-
-
Save haproxytechblog/edb0d20ea0b6d67e1aeb665de6948c8b to your computer and use it in GitHub Desktop.
Install HAProxy on Ubuntu 20.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt install haproxy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt install --no-install-recommends software-properties-common | |
$ sudo add-apt-repository ppa:vbernat/haproxy-2.4 -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt install haproxy=2.4.\* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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