gaojinguan 发表于 2018-11-14 09:15:14

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/

页: [1]
查看完整版本: nginx添加jemalloc支持