This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
yum update -y | |
yum install -y wget git | |
wget "http://www.haproxy.org/download/1.5/src/haproxy-1.5.6.tar.gz" | |
yum groupinstall -y 'Development Tools' | |
yum install -y openssl-devel | |
yum install -y rpmdevtools pcre-devel | |
rpmdev-setuptree | |
mv haproxy-1.5.6.tar.gz ~/rpmbuild/SOURCES/ |