标签:
1.首先去官网下载
wget http://repo.varnish-cache.org/source/varnish-4.1.2.tar.gz
2.解压缩 安装所需其他库文件
tar zxf varnish-4.1.2.tar.gz
编译安装过程可能会缺少以下包 libedit-devel pcre-devel ncurses-devel
yum -y install libedit-devel
yum -y install pcre-devel
yum -y install ncurses-devel
./configure --prefix=/usr/local/varnish \
--bindir=/usr/local/varnish/bin \
--sbindir=/usr/local/varnish/sbin
标签:
原文地址:http://www.cnblogs.com/betajj-blog/p/5549082.html