tengine 编译安装,需要 openssl
openssl 官网:https://www.openssl.org/source/
使用 jemalloc 作为内存管理,下载地址
https://github.com/jemalloc/jemalloc/releases
./configure --prefix=/usr/local/tengine-2.3 \
--error-log-path=/var/log/tengine/error.log \
--with-file-aio \
--user=daemon \
--group=daemon \
--with-threads \
--with-http_ssl_module \
--with-http_v2_module \
--with-http_gzip_static_module \
--with-http_secure_link_module \
--with-http_image_filter_module \
--http-log-path=/var/log/tengine/access.log \
--with-debug \
--with-openssl=/packages/openssl-1.1.1s \
--with-pcre \
--with-jemalloc=/packages/jemalloc-5.3.0 \
--add-module=modules/ngx_http_trim_filter_module