首页 > 代码库 > nginx添加jemalloc支持
nginx添加jemalloc支持
下载包
tengine-2.1.2.tar.gz
pcre-8.37.tar.gz
jemalloc-4.2.1.tar.bz2
解压包
tar -zxf tengine-2.1.2.tar.gz
tar -zxf pcre-8.37.tar.gz
tar jxf jemalloc-4.2.1.tar.bz2
编译安装
cd tengine-2.1.2/
./configure --prefix=/usr/local/nginx --with-pcre=/usr/local/src/pcre-8.37 --with-http_stub_status_module --with-http_upstream_check_module --with-http_ssl_module --with-jemalloc=/usr/local/src/jemalloc-4.2.1
make
make install
参考资料:
http://tengine.taobao.org/documentation_cn.html
http://nginx.org/en/docs/
nginx添加jemalloc支持
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。