zookeeper python接口实例详解
315
2022-11-05
二进制安装openresty
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.42.tar.bz2 tar xjf pcre-8.42.tar.bz2 cd pcre-8.42 ./configure --prefix=/usr/local/openresty/pcre \ --disable-cpp --enable-jit \ --enable-utf --enable-unicode-propertiesmake -j24 V=1 > /dev/stderrmake installrm -rf /usr/local/openresty/pcre/binrm -rf /usr/local/openresty/pcre/sharerm -f /usr/local/openresty/pcre/lib/*.larm -f /usr/local/openresty/pcre/lib/*pcrecpp*rm -f /usr/local/openresty/pcre/lib/*pcreposix*rm -rf /usr/local/openresty/pcre/lib/pkgconfig# 安装zlibcd /usr/local/srcwget xf zlib-1.2.11.tar.xz cd zlib-1.2.11 ./configure --prefix=/usr/local/openresty/zlibmake -j24 \CFLAGS='-O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -g' \SFLAGS='-O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -g' > /dev/stderr make installrm -rf /usr/local/openresty/zlib/share/rm -f /usr/local/openresty/zlib/lib/*.larm -rf /usr/local/openresty/zlib/lib/pkgconfig/# 安装opensslcd /usr/local/srcwget --no-check-certificatewget --no-check-certificatetar zxf openssl-1.1.0j.tar.gz cd openssl-1.1.0jpatch -p1 < ../openssl-1.1.0d-sess_set_get_cb_yield.patch patch -p1 < ../openssl-1.1.0j-parallel_build_fix.patch ./config \ no-threads shared zlib -g \ enable-ssl3 enable-ssl3-method \ --prefix=/usr/local/openresty/openssl \ --libdir=lib \ -I%/usr/local/openresty/zlib/include \ -L%/usr/local/openresty/zlib/lib \ -Wl,-rpath,/usr/local/openresty/zlib/lib:/usr/local/openresty/openssl/libmake -j24make install_swrm -f /usr/local/openresty/openssl/bin/c_rehashrm -rf /usr/local/openresty/openssl/lib/pkgconfig# 最后开始编译安装openrestycd /usr/local/srcwget # 如果下载出现ssl报错,yum update wget,再下载tar zxf openresty-1.15.8.1.tar.gzcd openresty-1.15.8.1./configure \ --prefix=/usr/local/openresty \ --with-cc-opt="-DNGX_LUA_ABORT_AT_PANIC \ -I/usrl/local/openresty/zlib/include \ -I/usr/local/openresty/pcre/include \ -I/usr/local/openresty/openssl/include" \ --with-ld-opt="-L/usr/local/openresty/zlib/lib \ -L/usr/local/openresty/pcre/lib \ -L/usr/local/openresty/openssl/lib \ -Wl,-rpath,/usr/local/openresty/zlib/lib:/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl/lib" \ --with-pcre-jit \ --without-\ --without-\ --without-lua_rds_parser \ --with-stream \ --with-stream_ssl_module \ --with-stream_ssl_preread_module \ --with-\ --without-mail_pop3_module \ --without-mail_imap_module \ --without-mail_smtp_module \ --with-\ --with-\ --with-\ --with-\ --with-\ --with-\ --with-\ --with-\ --with-\ --with-\ --with-\ --with-\ --with-threads \ --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT' \ -j24make -j24make installrm -rf /usr/local/openresty/luajit/share/manrm
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~