install haproxy ubuntu and sample code example Example: install haproxy in ubuntu 18.04 sudo apt install -y haproxy