Last active
August 29, 2015 14:04
-
-
Save james-huston/1ae4fd894be8a019e952 to your computer and use it in GitHub Desktop.
Install haproxy on ec2 instance
This file contains hidden or 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
sudo yum install gcc make openssl openssl-devel pcre-devel | |
cd /opt | |
sudo wget http://www.haproxy.org/download/1.5/src/haproxy-1.5.3.tar.gz | |
sudo tar -xzvf haproxy-1.5.3.tar.gz | |
cd haproxy-1.5.3 | |
sudo make CPU="native" TARGET="linux2628" USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1 USE_REGPARM=1 | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment