Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 933 Bytes

File metadata and controls

27 lines (16 loc) · 933 Bytes

Github All Releases

A Recipe for a haproxy 1.7 stable version RPM on CentOS

Perform the following on a build box as a regular user.

Install Prerequisites for RPM Creation

sudo yum groupinstall 'Development Tools'

Checkout this repository

cd /opt
git clone https://github.com/DBezemer/rpm-haproxy.git 
cd ./rpm-haproxy
git checkout 1.7

Build using makefile

make

Resulting RPM will be in /opt/rpm-haproxy/rpmbuild/RPMS/

Credits

Based on the Red Hat 6.4 RPM spec for haproxy 1.4 combined with work done by @nmilford @resmo and @kevholmes

Additional logging added based on https://www.percona.com/blog/2014/10/03/haproxy-give-me-some-logs-on-centos-6-5/