文章分类 -  vanish

安装配置Varnish3.0
摘要:在内网的vps上安装Varnish的最新版3.0来用做测试Varnish有centos下的rpm和ubuntu下的deb二进制包下载,但我选择的是源码编译安装先下载 wget http://repo.varnish-cache.org/source/varnish-3.0.0.tar.gztar -xzvf varnish-3.0.0.tar.gzyum install gcc yum install gcc-c++ libstdc++-develyum install -y httpd-devel pcre perl pcre-devel zlib zlib-devel GeoIP GeoI 阅读全文

posted @ 2012-06-20 11:23 kudosharry 阅读(185) 评论(0) 推荐(0)

解决 No package 'libpcre' found
摘要:编译varnish时(版本2.1.5,CentOS 5.5 64bit),可能会遇到这个错误,网上一般的解决方案是:export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig其实这个不完全正确,这个方法适用的条件是编译pcre时没有指定目录,安装到默认目录的时候。所以任何条件下皆正确的方法是(假设pcre编译到/soft/pcre下):export PKG_CONFIG_PATH=/soft/pcre/lib/pkgconfig 阅读全文

posted @ 2012-06-20 11:20 kudosharry 阅读(3291) 评论(0) 推荐(0)

导航