yum install libtermcap-devel ncurses-devel libevent-devel readline-devel gcc gcc-c++ pcre pcre-devel openssl openssl-devel
wget http://www.lua.org/ftp/lua-5.3.0.tar.gz tar zxf lua-5.3.0.tar.gz cd lua-5.3.0 make linux sudo make INSTALL_TOP=/opt/lua53 install
make TARGET=linux2632 USE_OPENSSL=1 USE_PCRE=1 USE_LUA=1 LUA_LIB=/opt/lua53/lib/ LUA_INC=/opt/lua53/include/ make install PREFIX=/usr/local/haproxy
时间: 2024-10-26 09:25:04