Install and configure HA Proxy on Ubuntu
Installing the latest HA Proxy
You could use sudo apt-get install haproxy, but the version in the repo is likely not the latest stable release. To get the latest stable release, check on the HA Proxy site which is the latest. At the time of this writing it was 2.5.
You can use PPA (personal package archive) on Ubuntu to get the latest version:
sudo apt install --no-install-recommends software-properties-common sudo add-apt-repository ppa:vbernat/haproxy-2.5 -y sudo apt install haproxy=2.5.\*
Adding =2.5.\*
to the end tells apt
that we want to maintain the latest version of HAProxy in the 2.5 branch, so if there are future updates in that branch, you’ll get them when you do an apt upgrade
.
source: https://www.haproxy.com/blog/how-to-install-haproxy-on-ubuntu/
John is a freelance PHP developer. Experienced in PHP, Laravel and WordPress he can code anything you need.
From Alberton, Gauteng I am available for PHP, Laravel or WordPress freelance jobs in Johannesburg, Pretoria, Cape Town, Port Elizabeth. I also often do remote PHP freelance work all over South Africa and the rest of the world.