Nginx安装google_perftools模块的方法
2015-06-01 14:45
645 查看
/********************************************************************* * Author : Samson * Date : 06/01/2015 * Test platform: * gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2 * GNU bash, 4.3.11(1)-release (x86_64-pc-linux-gnu) * *******************************************************************/
准备工作1(google perftools依赖包的安装):
下载libunwind库源码包: http://download.savannah.gnu.org/releases/libunwind/libunwind-0.99-beta.tar.gz
解压:
tar zxvf libunwind-0.99-beta.tar.gz
cd libunwind-0.99-beta/
./configure
make
sudo make install
准备工作1:
下载google perftools: https://code.google.com/p/gperftools/?redir=1 cd gperftools-2.1
//当使用的系统是64时,编译的时候需要加上--enable-frame-pointers选项。
./configure --enable-frame-pointers
make
sudo make install
编译nginx:
./configure --with-debug --with-http_ssl_module --with-google_perftools_module
make
sudo make install
相关文章推荐
- ubuntu nginx install phpmyadmin
- Nginx配置文件中的location中文详解
- 利用ngxtop实时监控Nginx的访问情况
- 高流量站点NGINX与PHP-fpm配置优化
- nginx优化 突破十万并发
- Nginx系列(二十.)隐藏nginx版本号
- nginx配置在一台虚拟主机下多站点服务(对应多域名
- CentOS6.5 yum安装nginx
- nginx 安装
- Nginx+uwsgi+Django 搭建一个简单的web服务器
- I/O模型与Nginx配置
- nginx博客:基于nginx构建LNMP服务
- 开发shell脚本检查Nginx实战分享
- 开发shell脚本检查Nginx实战分享
- CentOS 6.6编译安装Nginx1.6.2+MySQL5.6.21+PHP5.6.3
- Nginx(1)------- Nginx支持热部署的原理
- nginx rewrite例子
- nginx rewrite 参数和例子
- nginx-gridfs Benchmarking Raw Results
- 通过Nginx访问后端应用,ERR_CONTENT_LENGTH_MISMATCH 问题的解决