-
-
Save thyn/1c3f5efb0fa5e75b7284c507e146db93 to your computer and use it in GitHub Desktop.
Revisions
-
thyn revised this gist
Oct 7, 2021 . 1 changed file with 28 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,28 @@ rm -rf /tmp/haproxy-current git clone http://git.haproxy.org/git/haproxy-2.2.git /tmp/haproxy-current cd /tmp/haproxy-current make \ TARGET=linux-glibc USE_LINUX_TPROXY=1 USE_ZLIB=1 USE_REGPARM=1 USE_PCRE=1 USE_PCRE_JIT=1 \ USE_OPENSSL=1 SSL_INC=/usr/include SSL_LIB=/usr/lib ADDLIB=-lpthread USE_SYSTEMD=1 make install # cp /tmp/haproxy-current/examples/haproxy.init /etc/init.d/haproxy # cp contrib/systemd/haproxy.service.in /etc/systemd/system/haproxy.service systemctl daemon-reload if [ $(getent passwd haproxy) ] ; then echo user haproxy exists else echo user haproxy doesn\'t exists, creating adduser haproxy gpasswd -a haproxy haproxy fi mkdir /etc/haproxy mkdir /var/lib/haproxy cp /usr/local/sbin/haproxy /usr/sbin/haproxy22 rm -rf /usr/local/sbin/haproxy haproxy21 -vv -
thyn revised this gist
Sep 28, 2021 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -4,8 +4,8 @@ git clone http://git.haproxy.org/git/haproxy-2.0.git /tmp/haproxy-current cd /tmp/haproxy-current make \ TARGET=linux-glibc USE_LINUX_TPROXY=1 USE_ZLIB=1 USE_REGPARM=1 USE_PCRE=1 USE_PCRE_JIT=1 \ USE_OPENSSL=1 SSL_INC=/usr/include SSL_LIB=/usr/lib ADDLIB=-lpthread USE_SYSTEMD=1 make install # cp /tmp/haproxy-current/examples/haproxy.init /etc/init.d/haproxy # cp contrib/systemd/haproxy.service.in /etc/systemd/system/haproxy.service @@ -20,7 +20,7 @@ if [ $(getent passwd haproxy) ] ; then mkdir /etc/haproxy mkdir /var/lib/haproxy cp /usr/local/sbin/haproxy /usr/sbin/haproxy20_25 rm -rf /usr/local/sbin/haproxy -
thyn renamed this gist
Feb 4, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
thyn revised this gist
Feb 4, 2020 . 2 changed files with 55 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ # Compile and install HAProxy rm -rf /tmp/haproxy-current git clone http://git.haproxy.org/git/haproxy-2.0.git /tmp/haproxy-current cd /tmp/haproxy-current make \ TARGET=linux-glibc USE_LINUX_TPROXY=1 USE_ZLIB=1 USE_REGPARM=1 USE_PCRE=1 USE_PCRE_JIT=1 \ USE_OPENSSL=1 SSL_INC=/usr/include SSL_LIB=/usr/lib ADDLIB=-lpthread USE_SYSTEMD=1 \ CFLAGS="-O2 -g -fno-strict-aliasing -DTCP_USER_TIMEOUT=18" make install # cp /tmp/haproxy-current/examples/haproxy.init /etc/init.d/haproxy # cp contrib/systemd/haproxy.service.in /etc/systemd/system/haproxy.service systemctl daemon-reload if [ $(getent passwd haproxy) ] ; then echo user haproxy exists else echo user haproxy doesn\'t exists, creating adduser haproxy gpasswd -a haproxy haproxy fi mkdir /etc/haproxy mkdir /var/lib/haproxy cp /usr/local/sbin/haproxy /usr/sbin/haproxy20 rm -rf /usr/local/sbin/haproxy 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ rm -rf /tmp/haproxy-current git clone http://git.haproxy.org/git/haproxy-2.1.git /tmp/haproxy-current cd /tmp/haproxy-current make \ TARGET=linux-glibc USE_LINUX_TPROXY=1 USE_ZLIB=1 USE_REGPARM=1 USE_PCRE=1 USE_PCRE_JIT=1 \ USE_OPENSSL=1 SSL_INC=/usr/include SSL_LIB=/usr/lib ADDLIB=-lpthread USE_SYSTEMD=1 \ CFLAGS="-O2 -g -fno-strict-aliasing -DTCP_USER_TIMEOUT=18" make install # cp /tmp/haproxy-current/examples/haproxy.init /etc/init.d/haproxy # cp contrib/systemd/haproxy.service.in /etc/systemd/system/haproxy.service systemctl daemon-reload if [ $(getent passwd haproxy) ] ; then echo user haproxy exists else echo user haproxy doesn\'t exists, creating adduser haproxy gpasswd -a haproxy haproxy fi mkdir /etc/haproxy mkdir /var/lib/haproxy cp /usr/local/sbin/haproxy /usr/sbin/haproxy21 rm -rf /usr/local/sbin/haproxy haproxy21 -vv -
thyn revised this gist
Jan 29, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # Compile and install HAProxy rm -rf /tmp/haproxy-current git clone http://git.haproxy.org/git/haproxy-2.1.git /tmp/haproxy-current cd /tmp/haproxy-current make \ TARGET=linux-glibc USE_LINUX_TPROXY=1 USE_ZLIB=1 USE_REGPARM=1 USE_PCRE=1 USE_PCRE_JIT=1 \ -
thyn revised this gist
Nov 14, 2019 . 3 changed files with 30 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ git clone http://git.haproxy.org/git/haproxy-1.9.git /tmp/haproxy-current cd /tmp/haproxy-current make \ TARGET=linux2628 USE_LINUX_TPROXY=1 USE_ZLIB=1 USE_REGPARM=1 USE_PCRE=1 USE_PCRE_JIT=1 \ USE_OPENSSL=1 SSL_INC=/usr/include SSL_LIB=/usr/lib ADDLIB=-ldl USE_SYSTEMD=1 \ CFLAGS="-O2 -g -fno-strict-aliasing -DTCP_USER_TIMEOUT=18" make install # cp /tmp/haproxy-current/examples/haproxy.init /etc/init.d/haproxy 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ # Compile and install HAProxy rm -rf /tmp/haproxy-current git clone http://git.haproxy.org/git/haproxy-2.0.git /tmp/haproxy-current cd /tmp/haproxy-current make \ TARGET=linux-glibc USE_LINUX_TPROXY=1 USE_ZLIB=1 USE_REGPARM=1 USE_PCRE=1 USE_PCRE_JIT=1 \ USE_OPENSSL=1 SSL_INC=/usr/include SSL_LIB=/usr/lib ADDLIB=-lpthread USE_SYSTEMD=1 \ CFLAGS="-O2 -g -fno-strict-aliasing -DTCP_USER_TIMEOUT=18" make install # cp /tmp/haproxy-current/examples/haproxy.init /etc/init.d/haproxy cp contrib/systemd/haproxy.service.in /etc/systemd/system/haproxy.service systemctl daemon-reload if [ $(getent passwd haproxy) ] ; then echo user haproxy exists else echo user haproxy doesn\'t exists, creating adduser haproxy gpasswd -a haproxy haproxy fi mkdir /etc/haproxy mkdir /var/lib/haproxy cp /usr/local/sbin/haproxy /usr/sbin/ systemctl stop haproxy && cp /usr/local/sbin/haproxy /usr/sbin/ && systemctl start haproxy 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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,8 @@ # Compile and install OpenSSL - via https://github.com/haproxy/haproxy/blob/master/README wget -O /tmp/openssl.tgz https://www.openssl.org/source/openssl-1.1.1-latest.tar.gz tar -zxf /tmp/openssl.tgz -C /tmp cd /tmp/openssl-* ./config --prefix=/usr --openssldir=/etc/ssl --libdir=lib no-shared zlib-dynamic make ADDLIB=-lpthread make install_sw -
thyn revised this gist
Mar 18, 2019 . 3 changed files with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # Compile and install HAProxy rm -rf /tmp/haproxy-current git clone http://git.haproxy.org/git/haproxy-1.9.git /tmp/haproxy-current cd /tmp/haproxy-current make \ TARGET=linux2628 USE_LINUX_TPROXY=1 USE_ZLIB=1 USE_REGPARM=1 USE_PCRE=1 USE_PCRE_JIT=1 \ File renamed without changes.File renamed without changes. -
thyn revised this gist
Aug 2, 2018 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -17,9 +17,9 @@ if [ $(getent passwd haproxy) ] ; then adduser haproxy gpasswd -a haproxy haproxy fi mkdir /etc/haproxy mkdir /var/lib/haproxy cp /usr/local/sbin/haproxy /usr/sbin/ systemctl stop haproxy && cp /usr/local/sbin/haproxy /usr/sbin/ && systemctl start haproxy -
thyn revised this gist
Jul 10, 2018 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -21,4 +21,5 @@ if [ $(getent passwd haproxy) ] ; then systemctl stop haproxy && cp /usr/local/sbin/haproxy /usr/sbin/ && systemctl start haproxy mkdir /etc/haproxy mkdir /var/lib/haproxy -
thyn revised this gist
Jul 10, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ make \ CFLAGS="-O2 -g -fno-strict-aliasing -DTCP_USER_TIMEOUT=18" make install # cp /tmp/haproxy-current/examples/haproxy.init /etc/init.d/haproxy cp contrib/systemd/haproxy.service.in /etc/systemd/system/haproxy.service systemctl daemon-reload if [ $(getent passwd haproxy) ] ; then echo user haproxy exists @@ -21,4 +21,4 @@ if [ $(getent passwd haproxy) ] ; then systemctl stop haproxy && cp /usr/local/sbin/haproxy /usr/sbin/ && systemctl start haproxy mkdir /etc/haproxy -
thyn renamed this gist
Jun 18, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
thyn revised this gist
Jun 18, 2018 . 3 changed files with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes.File renamed without changes.File renamed without changes. -
thyn revised this gist
Jun 18, 2018 . 2 changed files with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,2 +1,2 @@ # make sure you have these installed yum install -y make gcc perl pcre-devel zlib-devel systemd-devel 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 charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ git clone http://git.haproxy.org/git/haproxy-1.8.git /tmp/haproxy-current cd /tmp/haproxy-current make \ TARGET=linux2628 USE_LINUX_TPROXY=1 USE_ZLIB=1 USE_REGPARM=1 USE_PCRE=1 USE_PCRE_JIT=1 \ USE_OPENSSL=1 SSL_INC=/usr/include SSL_LIB=/usr/lib ADDLIB=-ldl USE_SYSTEMD=1 \ CFLAGS="-O2 -g -fno-strict-aliasing -DTCP_USER_TIMEOUT=18" make install # cp /tmp/haproxy-current/examples/haproxy.init /etc/init.d/haproxy -
thyn revised this gist
Jun 18, 2018 . 1 changed file with 10 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -10,5 +10,15 @@ make install # cp /tmp/haproxy-current/examples/haproxy.init /etc/init.d/haproxy cp contrib/systemd/haproxy.service.in /etc/systemd/system/haproxy.serivce systemctl daemon-reload if [ $(getent passwd haproxy) ] ; then echo user haproxy exists else echo user haproxy doesn\'t exists, creating adduser haproxy gpasswd -a haproxy haproxy fi systemctl stop haproxy && cp /usr/local/sbin/haproxy /usr/sbin/ && systemctl start haproxy /usr/local/sbin/haproxy -
thyn revised this gist
Jun 18, 2018 . 2 changed files with 2 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Compile and install OpenSSL - via https://github.com/haproxy/haproxy/blob/master/README wget -O /tmp/openssl.tgz https://www.openssl.org/source/openssl-1.1.0-latest.tar.gz tar -zxf /tmp/openssl.tgz -C /tmp cd /tmp/openssl-* ./config --prefix=/usr --openssldir=/etc/ssl --libdir=lib no-shared zlib-dynamic 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # Compile and install HAProxy rm -rf /tmp/haproxy-current git clone http://git.haproxy.org/git/haproxy-1.8.git /tmp/haproxy-current cd /tmp/haproxy-current make \ TARGET=linux2628 USE_LINUX_TPROXY=1 USE_ZLIB=1 USE_REGPARM=1 USE_PCRE=1 USE_PCRE_JIT=1 \ @@ -10,6 +10,5 @@ make install # cp /tmp/haproxy-current/examples/haproxy.init /etc/init.d/haproxy cp contrib/systemd/haproxy.service.in /etc/systemd/system/haproxy.serivce systemctl daemon-reload systemctl stop haproxy && cp /usr/local/sbin/haproxy /usr/sbin/ && systemctl start haproxy /usr/local/sbin/haproxy -
thyn revised this gist
Jan 9, 2018 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -7,6 +7,9 @@ make \ USE_OPENSSL=1 SSL_INC=/usr/include SSL_LIB=/usr/lib ADDLIB=-ldl \ CFLAGS="-O2 -g -fno-strict-aliasing -DTCP_USER_TIMEOUT=18" make install # cp /tmp/haproxy-current/examples/haproxy.init /etc/init.d/haproxy cp contrib/systemd/haproxy.service.in /etc/systemd/system/haproxy.serivce systemctl daemon-reload cp haproxy-systemd-wrapper /usr/sbin/ systemctl stop haproxy && cp /usr/local/sbin/haproxy /usr/sbin/ && systemctl start haproxy /usr/local/sbin/haproxy -
thyn revised this gist
Feb 27, 2017 . 1 changed file with 1 addition and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -9,6 +9,4 @@ make \ make install cp /tmp/haproxy-current/examples/haproxy.init /etc/init.d/haproxy systemctl daemon-reload systemctl stop haproxy && cp /usr/local/sbin/haproxy /usr/sbin/ && systemctl start haproxy -
thyn revised this gist
Feb 21, 2017 . 1 changed file with 9 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,14 @@ # Compile and install HAProxy rm -rf /tmp/haproxy-current git clone http://git.haproxy.org/git/haproxy-1.7.git /tmp/haproxy-current cd /tmp/haproxy-current make \ TARGET=linux2628 USE_LINUX_TPROXY=1 USE_ZLIB=1 USE_REGPARM=1 USE_PCRE=1 USE_PCRE_JIT=1 \ USE_OPENSSL=1 SSL_INC=/usr/include SSL_LIB=/usr/lib ADDLIB=-ldl \ CFLAGS="-O2 -g -fno-strict-aliasing -DTCP_USER_TIMEOUT=18" make install cp /tmp/haproxy-current/examples/haproxy.init /etc/init.d/haproxy systemctl daemon-reload systemctl stop haproxy cp /usr/local/sbin/haproxy /usr/sbin/ systemctl start haproxy -
thyn revised this gist
Dec 21, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Compile and install HAProxy wget -O /tmp/haproxy.tgz http://www.haproxy.org/download/1.7/src/haproxy-1.7.1.tar.gz tar -zxvf /tmp/haproxy.tgz -C /tmp cd /tmp/haproxy-* make \ -
ryzy revised this gist
Mar 13, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Compile and install OpenSSL - via https://github.com/haproxy/haproxy/blob/master/README wget -O /tmp/openssl.tgz https://www.openssl.org/source/openssl-1.0.2-latest.tar.gz tar -zxf /tmp/openssl.tgz -C /tmp cd /tmp/openssl-* -
ryzy revised this gist
Mar 13, 2016 . No changes.There are no files selected for viewing
-
ryzy revised this gist
Mar 13, 2016 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ # make sure you have these installed yum install -y make gcc perl pcre-devel zlib-devel -
ryzy created this gist
Mar 13, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ # Compile and install OpenSSL wget -O /tmp/openssl.tgz https://www.openssl.org/source/openssl-1.0.2-latest.tar.gz tar -zxf /tmp/openssl.tgz -C /tmp cd /tmp/openssl-* ./config --prefix=/usr --openssldir=/etc/ssl --libdir=lib no-shared zlib-dynamic make make install_sw 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ # Compile and install HAProxy wget -O /tmp/haproxy.tgz http://www.haproxy.org/download/1.6/src/haproxy-1.6.3.tar.gz tar -zxvf /tmp/haproxy.tgz -C /tmp cd /tmp/haproxy-* make \ TARGET=linux2628 USE_LINUX_TPROXY=1 USE_ZLIB=1 USE_REGPARM=1 USE_PCRE=1 USE_PCRE_JIT=1 \ USE_OPENSSL=1 SSL_INC=/usr/include SSL_LIB=/usr/lib ADDLIB=-ldl \ CFLAGS="-O2 -g -fno-strict-aliasing -DTCP_USER_TIMEOUT=18" make install