【编译打包】tengine 1.5.2,打包tengine1.5.2


tengine 官方没有提供rpm包,应网友要求,本文继续提供SRPM 包


去掉了不相关的模块,支持平台为 rhel6 系列,适用于Web,LB,cache等场合。


编译参数如下

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 ./configure \         --prefix=%{_sysconfdir}/nginx \         --sbin-path=%{_sbindir}/nginx \         --conf-path=%{_sysconfdir}/nginx/nginx.conf \         --error-log-path=%{_localstatedir}/log/nginx/error.log \         --http-log-path=%{_localstatedir}/log/nginx/access.log \         --pid-path=%{_localstatedir}/run/nginx.pid \         --lock-path=%{_localstatedir}/run/nginx.lock \         --dso-path=%{_sysconfdir}/nginx/modules \         --dso-tool-path=%{_sbindir}/dso-tool \         --http-client-body-temp-path=%{_localstatedir}/cache/nginx/client_temp \         --http-proxy-temp-path=%{_localstatedir}/cache/nginx/proxy_temp \         --http-fastcgi-temp-path=%{_localstatedir}/cache/nginx/fastcgi_temp \         --user=%{nginx_user} \         --group=%{nginx_group} \         --without-http_memcached_module \         --without-http_scgi_module \         --without-http_uwsgi_module \         --with-http_ssl_module \         --with-http_realip_module \         --with-http_gzip_static_module \         --with-http_stub_status_module \         --with-file-aio \         --with-http_concat_module \         --with-http_sysguard_module \         --with-http_upstream_check_module \         --with-google_perftools_module \         --with-cc-opt="%{optflags} $(pcre-config --cflags)" \         $*


安装成功后,nginx -m 输出如下:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 ngx_core_module (static)  ngx_errlog_module (static)  ngx_conf_module (static)  ngx_dso_module (static)  ngx_syslog_module (static)  ngx_events_module (static)  ngx_event_core_module (static)  ngx_epoll_module (static)  ngx_procs_module (static)  ngx_proc_core_module (static)  ngx_openssl_module (static)  ngx_regex_module (static)  ngx_http_module (static)  ngx_http_core_module (static)  ngx_http_log_module (static)  ngx_http_upstream_module (static)  ngx_http_static_module (static)  ngx_http_gzip_static_module (static)  ngx_http_autoindex_module (static)  ngx_http_index_module (static)  ngx_http_concat_module (static)  ngx_http_auth_basic_module (static)  ngx_http_access_module (static)  ngx_http_limit_conn_module (static)  ngx_http_limit_req_module (static)  ngx_http_realip_module (static)  ngx_http_geo_module (static)  ngx_http_map_module (static)  ngx_http_split_clients_module (static)  ngx_http_referer_module (static)  ngx_http_rewrite_module (static)  ngx_http_ssl_module (static)  ngx_http_proxy_module (static)  ngx_http_fastcgi_module (static)  ngx_http_empty_gif_module (static)  ngx_http_browser_module (static)  ngx_http_user_agent_module (static)  ngx_http_sysguard_module (static)  ngx_http_upstream_ip_hash_module (static)  ngx_http_upstream_consistent_hash_module (static)  ngx_http_upstream_check_module (static)  ngx_http_upstream_least_conn_module (static)  ngx_http_upstream_keepalive_module (static)  ngx_http_stub_status_module (static)  ngx_http_write_filter_module (static)  ngx_http_header_filter_module (static)  ngx_http_chunked_filter_module (static)  ngx_http_range_header_filter_module (static)  ngx_http_gzip_filter_module (static)  ngx_http_postpone_filter_module (static)  ngx_http_ssi_filter_module (static)  ngx_http_charset_filter_module (static)  ngx_http_userid_filter_module (static)  ngx_http_footer_filter_module (static)  ngx_http_trim_filter_module (static)  ngx_http_headers_filter_module (static)  ngx_http_upstream_session_sticky_module (static)  ngx_http_copy_filter_module (static)  ngx_http_range_body_filter_module (static)  ngx_http_not_modified_filter_module (static)  ngx_google_perftools_module (static)



附件为srpm包,无需解压,上传时直接添加了zip后缀,下载后请重命名为 tengine-1.5.2-1.el6.src.rpm










本文转自 紫色葡萄 51CTO博客,原文链接:http://blog.51cto.com/purplegrape/1345997,如需转载请自行联系原作者

相关内容