Open Kr1s77 opened 3 years ago
on Centos/RHEL 7:
wget http://www.lua.org/ftp/lua-5.3.5.tar.gz
tar xf lua-5.3.5.tar.gz
cd lua-5.3.5
make linux
make install INSTALL_TOP=/usr/local/lua
http://download.openpkg.org/components/cache/haproxy/
make TARGET=linux-glibc PREFIX=/usr/local/haproxy USE_OPENSSL=1 USE_ZLIB=1 USE_PCRE=1 USE_SYSTEMD=1 SSL_INC=/usr/local/openssl/include SSL_LIB=/usr/local/openssl/lib USE_LUA=1 LUA_LIB=/usr/local/lua-5.4.3/lib LUA_INC=/usr/local/lua-5.4.3/include
make install PREFIX=/usr/local/haproxy
/usr/local/haproxy/sbin/haproxy
on Centos/RHEL 7: