天天看点

varnish 使用rpm文件安装

在线上服务器想使用varnish,可惜没有外网访问权限,尝试使用 rpm包安装varnish

结果还是挺容易的。

<a target="_blank" href="http://repo.varnish-cache.org/redhat/varnish-3.0/el6/x86_64/varnish/">http://repo.varnish-cache.org/redhat/varnish-3.0/el6/x86_64/varnish/</a>

下载最新版本的rpm文件

varnish-3.0.5-1.el6.x86_64.rpm

varnish-docs-3.0.5-1.el6.x86_64.rpm

varnish-libs-3.0.5-1.el6.x86_64.rpm

然后执行:

yum localinstall *.rpm --nogpg

就可以直接安装了。

参考:

<a target="_blank" href="https://www.varnish-cache.org/forum/topic/140">https://www.varnish-cache.org/forum/topic/140</a>

配置启动:

<a target="_blank" href="http://blog.csdn.net/freewebsys/article/details/17448679">http://blog.csdn.net/freewebsys/article/details/17448679</a>

继续阅读