安装
目前varnish官 目前最新版本Varnish Cache 6.0.0,我选择安装Varnish Cache 5.2.1,需要依赖python-docutils,安装提示需要python最低版本python2.7,目前centos7的python版本才是python2.7,避免新安装的python影响系统目前python2;.6版本的运行,所以选择安装varnish-5.0.0.tgz,
varnish-5.0.0.tgz
cd varnish-5.0.0
./configure –prefix=/usr/local/varnish
提示configure: error: requires an X/Open-compatible Curses library
需要安装ncurses-devel
yum -y install ncurses-devel
接着编译提示
configure: error: neither libedit nor another readline compatible library found
缺少 libedit-devel
yum -y install libedit-devel
更多错误参考:http://blog.51cto.com/php2012web/1640182
make && make install
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!