[{"data":1,"prerenderedAt":325},["ShallowReactive",2],{"navigation":3,"\u002Fblog\u002Fhaproxy-2-4-install-and-basic-setup-on-ubuntu-20-04-lts":173,"\u002Fblog\u002Fhaproxy-2-4-install-and-basic-setup-on-ubuntu-20-04-lts-surround":320},[4],{"title":5,"path":6,"stem":7,"children":8,"page":172},"Blog","\u002Fblog","blog",[9,13,17,21,25,29,33,37,41,45,49,53,57,61,65,69,73,77,81,85,89,93,97,101,105,109,113,117,121,125,129,133,137,141,145,149,153,157,161,165,169],{"title":10,"path":11,"stem":12},"Proxmox Remove Node from Cluster","\u002Fblog\u002Fproxmox-remove-node-from-cluster","blog\u002FProxmox-Remove-Node-from-Cluster",{"title":14,"path":15,"stem":16},"Proxmox Can't Live Migrate without with local disks option","\u002Fblog\u002Fproxmox-cant-live-migrate-without-local-disk-option","blog\u002FProxmox-cant-live-migrate-without-local-disk-option",{"title":18,"path":19,"stem":20},"Sharing large files with Send Firefox for free!","\u002Fblog\u002Fsharing-large-files-with-send-firefox","blog\u002FSharing-large-files-with-send-firefox",{"title":22,"path":23,"stem":24},"Windows Tips and My Favorite Password Manager","\u002Fblog\u002Fwindows-tips-and-my-favorite-password-manager","blog\u002FWindows-Tips-and-My-Favorite-Password-Manager",{"title":26,"path":27,"stem":28},"Add Docker Capabilities to TrueNAS Core","\u002Fblog\u002Fadd-docker-capabilities-to-truenas-core","blog\u002Fadd-docker-capabilities-to-truenas-core",{"title":30,"path":31,"stem":32},"Backup Office 365 OneDrive or SharePoint to TrueNAS","\u002Fblog\u002Fbackup-office-365-onedrive-or-sharepoint-to-truenas","blog\u002Fbackup-office-365-onedrive-or-sharepoint-to-truenas",{"title":34,"path":35,"stem":36},"Backup TrueNAS to the Cloud with Wasabi (S3 Compatible Storage)","\u002Fblog\u002Fbackup-truenas-to-the-cloud-with-wasabi-s3-compatible-storage","blog\u002Fbackup-truenas-to-the-cloud-with-wasabi-s3-compatible-storage",{"title":38,"path":39,"stem":40},"Best Budget Security System 2019","\u002Fblog\u002Fbest-budget-security-system-2019","blog\u002Fbest-budget-security-system-2019",{"title":42,"path":43,"stem":44},"Can AI Be a System Administrator? Fixing a Stuck Windows 11 Upgrade","\u002Fblog\u002Fcan-ai-be-a-system-administrator-fixing-a-stuck-windows-11-upgrade","blog\u002Fcan-ai-be-a-system-administrator-fixing-a-stuck-windows-11-upgrade",{"title":46,"path":47,"stem":48},"Create Windows 10 Virtual Machine on Proxmox","\u002Fblog\u002Fcreate-windows-10-virtual-machine-on-proxmox","blog\u002Fcreate-windows-10-virtual-machine-on-proxmox",{"title":50,"path":51,"stem":52},"Enable Super Fast Search on Server","\u002Fblog\u002Fenable-super-fast-search-on-server","blog\u002Fenable-super-fast-search-on-server",{"title":54,"path":55,"stem":56},"Essential Waterproof Beach Tech","\u002Fblog\u002Fessential-waterproof-beach-tech","blog\u002Fessential-waterproof-beach-tech",{"title":58,"path":59,"stem":60},">-","\u002Fblog\u002Ffree-remote-desktop-access-with-google-chrome-remote-desktop","blog\u002Ffree-remote-desktop-access-with-google-chrome-remote-desktop",{"title":62,"path":63,"stem":64},"FreeNAS can Host Virtual Machines: Using the bhyve Hypervisor from the Web GUI","\u002Fblog\u002Ffreenas-can-host-virtual-machines-using-the-bhyve-hypervisor-from-the-web-gui","blog\u002Ffreenas-can-host-virtual-machines-using-the-bhyve-hypervisor-from-the-web-gui",{"title":66,"path":67,"stem":68},"HAProxy 2.4 Install and Basic Setup On Ubuntu 20.04 LTS","\u002Fblog\u002Fhaproxy-2-4-install-and-basic-setup-on-ubuntu-20-04-lts","blog\u002Fhaproxy-2-4-install-and-basic-setup-on-ubuntu-20-04-lts",{"title":70,"path":71,"stem":72},"How to backup virtual machines to a NAS using NFS","\u002Fblog\u002Fhow-to-backup-virtual-machines-to-a-nas-using-nfs-1","blog\u002Fhow-to-backup-virtual-machines-to-a-nas-using-nfs-1",{"title":74,"path":75,"stem":76},"How to Enable Clipboard History in Windows 10","\u002Fblog\u002Fhow-to-enable-clipboard-history-in-windows-10","blog\u002Fhow-to-enable-clipboard-history-in-windows-10",{"title":78,"path":79,"stem":80},"How To Enable Screensavers On Windows 10","\u002Fblog\u002Fhow-to-enable-screensavers-on-windows-10","blog\u002Fhow-to-enable-screensavers-on-windows-10",{"title":82,"path":83,"stem":84},"How To get started blogging or build a website for free","\u002Fblog\u002Fhow-to-get-started-blogging-or-build-a-website-for-free","blog\u002Fhow-to-get-started-blogging-or-build-a-website-for-free",{"title":86,"path":87,"stem":88},"How to Install OPNSense Firewall?","\u002Fblog\u002Fhow-to-install-opnsense","blog\u002Fhow-to-install-OPNSense",{"title":90,"path":91,"stem":92},"How to Install FreeNAS from ISO","\u002Fblog\u002Fhow-to-install-freenas-from-iso","blog\u002Fhow-to-install-freenas-from-iso",{"title":94,"path":95,"stem":96},"How to Manage Windows Defender Antivirus with PowerShell","\u002Fblog\u002Fhow-to-manage-windows-defender-antivirus-with-powershell","blog\u002Fhow-to-manage-windows-defender-antivirus-with-powershell",{"title":98,"path":99,"stem":100},"How to Schedule Backups with Proxmox on a Local Directory","\u002Fblog\u002Fhow-to-schedule-backups-with-proxmox-on-a-local-directory","blog\u002Fhow-to-schedule-backups-with-proxmox-on-a-local-directory",{"title":102,"path":103,"stem":104},"Installing Docker and Portainer on Proxmox","\u002Fblog\u002Finstalling-docker-and-portainer-on-proxmox","blog\u002Finstalling-docker-and-portainer-on-proxmox",{"title":106,"path":107,"stem":108},"LAMP Stack Install Ubuntu 18 04: Linux Apache MySQL and PHP","\u002Fblog\u002Flamp-stack-install-ubuntu-18-04-linux-apache-mysql-and-php","blog\u002Flamp-stack-install-ubuntu-18-04-linux-apache-mysql-and-php",{"title":110,"path":111,"stem":112},"Microsoft Excel Keyboard Shortcuts","\u002Fblog\u002Fmicrosoft-excel-keyboard-shortcuts","blog\u002Fmicrosoft-excel-keyboard-shortcuts",{"title":114,"path":115,"stem":116},"Microsoft Word Keyboard Shortcuts","\u002Fblog\u002Fmicrosoft-word-keyboard-shortcuts","blog\u002Fmicrosoft-word-keyboard-shortcuts",{"title":118,"path":119,"stem":120},"Multiple Proxmox Hosts With Duplicate Virtual Machine IDs on Shared NFS Storage","\u002Fblog\u002Fmultiple-proxmox-hosts-with-duplicate-virtual-machine-ids-on-shared-nfs-storage","blog\u002Fmultiple-proxmox-hosts-with-duplicate-virtual-machine-ids-on-shared-nfs-storage",{"title":122,"path":123,"stem":124},"OPNSense Setup Multi-LAN, DHCP Static Assignment and More (Part 3)","\u002Fblog\u002Fopnsense-setup-multi-lan-dhcp-static-assignment-and-more-part-3","blog\u002Fopnsense-setup-multi-lan-dhcp-static-assignment-and-more-part-3",{"title":126,"path":127,"stem":128},"Remote Gaming and Video editing with Proxmox GPU passthrough","\u002Fblog\u002Fremote-gaming-and-video-editing-with-proxmox-gpu-passthrough","blog\u002Fremote-gaming-and-video-editing-with-proxmox-gpu-passthrough",{"title":130,"path":131,"stem":132},"Secure Your Nextcloud with HTTPS hosted on TrueNAS 12 Core with Nginx","\u002Fblog\u002Fsecure-your-nextcloud-with-https-hosted-on-truenas-12-core-with-nginx-proxy-manager","blog\u002Fsecure-your-nextcloud-with-https-hosted-on-truenas-12-core-with-nginx-proxy-manager",{"title":134,"path":135,"stem":136},"Setup NextCloud on Ubuntu 18.04 LTS with Apache2, MariaDB and PHP","\u002Fblog\u002Fsetup-nextcloud-on-ubuntu-18-04-lts-with-apache2-mariadb-and-php","blog\u002Fsetup-nextcloud-on-ubuntu-18-04-lts-with-apache2-mariadb-and-php",{"title":138,"path":139,"stem":140},"Setup Wizard and How to Backup OPNSense Firewall (Part 2)","\u002Fblog\u002Fsetup-wizard-and-how-to-backup-opnsense-firewall-part-2","blog\u002Fsetup-wizard-and-how-to-backup-opnsense-firewall-part-2",{"title":142,"path":143,"stem":144},"TrueNAS Nginx Proxy Jail with Let's Encrypt for your NextCloud","\u002Fblog\u002Ftruenas-nginx-proxy-jail-with-lets-encrypt-for-your-nextcloud","blog\u002Ftruenas-nginx-proxy-jail-with-lets-encrypt-for-your-nextcloud",{"title":146,"path":147,"stem":148},"Upgrading FreeNAS 11.3 to TrueNAS 12 Release","\u002Fblog\u002Fupgrading-freenas-11-3-to-truenas-12-release","blog\u002Fupgrading-freenas-11-3-to-truenas-12-release",{"title":150,"path":151,"stem":152},"What Does Secure Website Mean And How To Tell?","\u002Fblog\u002Fwhat-does-secure-website-mean-and-how-to-tell","blog\u002Fwhat-does-secure-website-mean-and-how-to-tell",{"title":154,"path":155,"stem":156},"Windows 10 Quick Tip #1: Customize Your Taskbar","\u002Fblog\u002Fwindows-10-quick-tip-1-customize-your-taskbar","blog\u002Fwindows-10-quick-tip-1-customize-your-taskbar",{"title":158,"path":159,"stem":160},"Windows 10 QuickTip #2 Free Up Disk Drive Space by enabling Storage Sense","\u002Fblog\u002Fwindows-10-quicktip-2-free-up-disk-drive-space-by-enabling-storage-sense","blog\u002Fwindows-10-quicktip-2-free-up-disk-drive-space-by-enabling-storage-sense",{"title":162,"path":163,"stem":164},"Windows 10 QuickTip #4 Backup Your Windows PC for Free with OneDrive","\u002Fblog\u002Fwindows-10-quicktip-4-backup-your-windows-pc-for-free-with-onedrive","blog\u002Fwindows-10-quicktip-4-backup-your-windows-pc-for-free-with-onedrive",{"title":166,"path":167,"stem":168},"Windows 10 QuickTip #5 Zoom in and Zoom out on Your Web Browser","\u002Fblog\u002Fwindows-10-quicktip-5-zoom-in-and-zoom-out-on-your-web-browser","blog\u002Fwindows-10-quicktip-5-zoom-in-and-zoom-out-on-your-web-browser",{"title":58,"path":170,"stem":171},"\u002Fblog\u002Fwindows-10-quicktip-backup-your-windows-pc-for-free-with-google-backup-and-sync","blog\u002Fwindows-10-quicktip-backup-your-windows-pc-for-free-with-google-backup-and-sync",false,{"id":174,"title":66,"author":175,"body":179,"date":312,"description":313,"extension":314,"image":315,"meta":316,"minRead":317,"navigation":275,"path":67,"seo":318,"stem":68,"__hash__":319},"blog\u002Fblog\u002Fhaproxy-2-4-install-and-basic-setup-on-ubuntu-20-04-lts.md",{"name":176,"avatar":177},"Kevin Stevenson",{"src":178,"alt":176},"\u002Favatar.png",{"type":180,"value":181,"toc":301},"minimark",[182,187,191,196,206,210,213,237,240,244,247,254,257,264,269,276,280,287,290],[183,184,186],"h1",{"id":185},"introduction","Introduction",[188,189,190],"p",{},"In this article we will talk about how to get HAProxy 2.4 installed and setup on Ubuntu",[192,193,195],"h2",{"id":194},"download","Download",[188,197,198,199,205],{},"To download HAProxy's latest release, you will go to ",[200,201,202],"a",{"href":202,"rel":203},"https:\u002F\u002Fhaproxy.debian.net",[204],"nofollow",". To follow this article you will choose Ubuntu, then Focal (20.04 LTS), and our HAProxy version will be 2.4-stables (LTS). This will provide you with the exact commands needed for installing on the versions you will need.",[192,207,209],{"id":208},"installing","Installing",[188,211,212],{},"What you must first do is get SSH'd into your server. Once done, we will use the following commands that can also be found on the site listed above.",[214,215,216,222,227,232],"blockquote",{},[188,217,218],{},[219,220,221],"code",{},"sudo apt-get install --no-install-recommends software-properties-common",[188,223,224],{},[219,225,226],{},"sudo add-apt-repository ppa:vbernat\u002Fhaproxy-2.4",[188,228,229],{},[219,230,231],{},"sudo apt update",[188,233,234],{},[219,235,236],{},"sudo apt-get install haproxy=2.4.\\*",[188,238,239],{},"After inputting all of those commands, everything you need should now be installed.",[192,241,243],{"id":242},"accessing-haproxy","Accessing HAProxy",[188,245,246],{},"To verify that HAProxy is installed and check the version, you will input the command:",[214,248,249],{},[188,250,251],{},[219,252,253],{},"haproxy -v",[188,255,256],{},"To access the global config for haproxy you will use the command:",[214,258,259],{},[188,260,261],{},[219,262,263],{},"nano \u002Fetc\u002Fhaproxy\u002Fhaproxy.cfg",[265,266,268],"h3",{"id":267},"full-video","Full Video",[270,271],"iframe",{"style":272,"src":273,"allow":274,"allowFullScreen":275},"width:100%; aspect-ratio:16\u002F9; border:0; border-radius:0.5rem;","https:\u002F\u002Fwww.youtube.com\u002Fembed\u002Ftl8movPZbJM","accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",true,[265,277,279],{"id":278},"support-my-work","SUPPORT MY WORK",[188,281,282],{},[200,283,286],{"href":284,"rel":285},"https:\u002F\u002Fphasedlogix.com",[204],"Hire US",[288,289],"hr",{},[188,291,292],{},[293,294,295,296],"em",{},"This Article has been Republished with Permission from ",[200,297,300],{"href":298,"rel":299},"https:\u002F\u002Fphasedlogix.com\u002Fhaproxy-2-4-install-and-basic-setup-on-ubuntu-20-04-lts\u002F",[204],"PhasedLogix",{"title":302,"searchDepth":303,"depth":303,"links":304},"",2,[305,306,307],{"id":194,"depth":303,"text":195},{"id":208,"depth":303,"text":209},{"id":242,"depth":303,"text":243,"children":308},[309,311],{"id":267,"depth":310,"text":268},3,{"id":278,"depth":310,"text":279},"2021-11-23","The basic install and setup of HAProxy 2.4 on Ubuntu 20.04 LTS","md","\u002Fimages\u002Fblog\u002Fhaproxy-thumbnail.jpg",{},1,{"title":66,"description":313},"NOlOZbVT4Y_EjgNbNZi74nCXxr3dVaRwjDJvLqxPbsc",[321,323],{"title":62,"path":63,"stem":64,"description":322,"children":-1},"FreeNAS can Host Virtual Machines",{"title":70,"path":71,"stem":72,"description":324,"children":-1},"This will explain how to schedule backup vms to a nas using nfs",1789484070734]