tengine 2.1.2 编译安装
安装 pcre 和 openssl
yum -y install pcre pcre-devel
yum -y install openssl openssl-devel
编译安装 tengine
tar zxf tengine<span>-</span><span>2.1</span><span>.2</span><span>.</span>tar<span>.</span>gz <span>-C</span> /usr/<span>local</span>/src<span>/</span><span>.</span>/configure <span>--</span>prefix<span>=</span>/usr/<span>local</span>/nginx <span>--</span>add<span>-module</span><span>=</span>/opt/nginx<span>-http</span><span>-concat</span><span>-master</span><span>/</span><span>--</span>add<span>-module</span><span>=</span>/opt/nginx_limit_speed_module<span>-master</span><span>/</span><span>--</span>add<span>-module</span><span>=</span>/opt/ngx_http_log_request_speed<span>/</span>make <span>&&</span> make install
sbin/nginx -V查看所包含的模块
<span>Tengine version: Tengine/<span>2.1</span>.<span>2</span> (nginx/<span>1.6</span>.<span>2</span>)built <span>by</span> gcc <span>4.4</span>.<span>7</span><span>20120313</span> (Red Hat <span>4.4</span>.<span>7</span>-<span>16</span>) (GCC) TLS SNI support enabledconfigure arguments: --prefix=/usr/local/nginx --<span>add</span>-<span>module</span>=/opt/nginx-http-<span>concat</span>-master/ --<span>add</span>-<span>module</span>=/opt/nginx_limit_speed_module-master/ --<span>add</span>-<span>module</span>=/opt/ngx_http_log_request_speed/loaded modules: ngx_core_module (<span>static</span>) ngx_errlog_module (<span>static</span>) ngx_conf_module (<span>static</span>) ngx_dso_module (<span>static</span>) ngx_syslog_module (<span>static</span>) ngx_events_module (<span>static</span>) ngx_event_core_module (<span>static</span>) ngx_epoll_module (<span>static</span>) ngx_procs_module (<span>static</span>) ngx_proc_core_module (<span>static</span>) ngx_openssl_module (<span>static</span>) ngx_regex_module (<span>static</span>) ngx_http_module (<span>static</span>) ngx_http_core_module (<span>static</span>) ngx_http_log_module (<span>static</span>) ngx_http_upstream_module (<span>static</span>) ngx_http_static_module (<span>static</span>) ngx_http_autoindex_module (<span>static</span>) ngx_http_index_module (<span>static</span>) ngx_http_auth_basic_module (<span>static</span>) ngx_http_access_module (<span>static</span>) ngx_http_limit_conn_module (<span>static</span>) ngx_http_limit_req_module (<span>static</span>) ngx_http_geo_module (<span>static</span>) ngx_http_map_module (<span>static</span>) ngx_http_split_clients_module (<span>static</span>) ngx_http_referer_module (<span>static</span>) ngx_http_rewrite_module (<span>static</span>) ngx_http_ssl_module (<span>static</span>) ngx_http_proxy_module (<span>static</span>) ngx_http_fastcgi_module (<span>static</span>) ngx_http_uwsgi_module (<span>static</span>) ngx_http_scgi_module (<span>static</span>) ngx_http_memcached_module (<span>static</span>) ngx_http_empty_gif_module (<span>static</span>) ngx_http_browser_module (<span>static</span>) ngx_http_user_agent_module (<span>static</span>) ngx_http_upstream_ip_hash_module (<span>static</span>) ngx_http_upstream_consistent_hash_module (<span>static</span>) ngx_http_upstream_check_module (<span>static</span>) ngx_http_upstream_least_conn_module (<span>static</span>) ngx_http_upstream_keepalive_module (<span>static</span>) ngx_http_upstream_dynamic_module (<span>static</span>) ngx_http_stub_status_module (<span>static</span>) ngx_http_concat_module (<span>static</span>) ngx_http_limit_speed_module (<span>static</span>) ngx_http_write_filter_module (<span>static</span>) ngx_http_header_filter_module (<span>static</span>) ngx_http_chunked_filter_module (<span>static</span>) ngx_http_range_header_filter_module (<span>static</span>) ngx_http_gzip_filter_module (<span>static</span>) ngx_http_postpone_filter_module (<span>static</span>) ngx_http_ssi_filter_module (<span>static</span>) ngx_http_charset_filter_module (<span>static</span>) ngx_http_userid_filter_module (<span>static</span>) ngx_http_footer_filter_module (<span>static</span>) ngx_http_trim_filter_module (<span>static</span>) ngx_http_log_request_speed_filter_module (<span>static</span>) ngx_http_headers_filter_module (<span>static</span>) ngx_http_upstream_session_sticky_module (<span>static</span>) ngx_http_reqstat_module (<span>static</span>) ngx_http_copy_filter_module (<span>static</span>) ngx_http_range_body_filter_module (<span>static</span>) ngx_http_not_modified_filter_module (<span>static</span>)</span>
启动成功
立即学习“PHP免费学习笔记(深入)”;
模块地址:https://yunpan.cn/cqSKP6BrJ2AeT 访问密码 4f50
').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });以上就介绍了Tengine 212 编译安装,包括了tengine方面的内容,希望对PHP教程有兴趣的朋友有所帮助。
免责声明:本站内容仅用于学习参考,信息和图片素材来源于互联网,如内容侵权与违规,请联系我们进行删除,我们将在三个工作日内处理。联系邮箱:chuangshanghai#qq.com(把#换成@)