HAProxy community edition logo


This site contains HAProxy RPM packages for CentOS 6 and CentOS 7.

HAProxy, described as 'The Reliable, High Performance TCP/HTTP Load Balancer', is an excellent piece of open source software written by Willy Tarreau. Check out the project's website! I've been using it for over 10 years now, and I've deployed HAProxy on hundreds over servers over the past years.

The HAProxy team publishes new versions of their code on a regular basis. But unfortunately, they only provide a source tarball. You need to download the sources yourself, and compile and install the software. While there's nothing wrong with that, I like to manage the software on my servers using package management tools like yum. If there's a new version, I just want to do a yum upgrade, and be done with it. I also happen to use Spacewalk for my package management. The CentOS Base repo includes haproxy rpm packages, but at the time of writing that is version 1.5.18, which is quite outdated.

So, I decided to start building RPMs for recent HAProxy packages and serve those to the public. I only build packages of the latest stable branch (so no dev branches) and only for x86_64. The latest stable branch is currently 1.8. When 1.9 is stable, I'll build those as well, and they will go into to the same repo. I'm build them for centos 6 and centos 7. Although they probably work on RHEL 6 and RHEL 7 as well, I haven't tested that yet. Let me know if you do.


Create the following repo file:


Now all you have to is yum install haproxy or yum update if you have an older version installed, and you're done! The example config that is included is really minimal. Start reading haproxy's documentation online to get a config for your setup.

If you need help in setting up haproxy: I happen to be an IT-consultant specialized in balancing, caching and web optimization! Look my consulting and training page for more info.


The packages are signed using my own gpg key I created. If security is important for you, feel free to build your own packages yourself. I put all my scripts into my haproxy-rpmbuild project on Github. It contains everything you need to start building your own package.