Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated script to latest

...

 

Code Block
languagebash
titleDownload and Compile HAProxy
H#!/bin/bash
# A script to download and compile HA-Proxy

TARGET=haproxy-1.5.319.tar.gz;
TTMP=/tmp/haproxy;
cd ~;
rm -rf $T;$TMP && mkdir $T;$TMP && cd $T;$TMP
curl -s -L http://www.haproxy.org/download/1.5/src/$H$TARGET -o $H;$TARGET
tar -xvzf $H;$TARGET
rm $H;$TARGET
cd haproxy-1.5.3;*
make TARGET=generic; 

 

If you are unable to compile from source, then this download is known to work on Linux.

...