./configure --prefix=/usr/common/varnish 安装varnish报出如下错误
configure: error: rst2man is needed to build Varnish, please install python-docutils.
解决方法链接如下
http://docutils.sourceforge.net/README.html#installation
安装docutils 包 docutils-snapshot.tgz
-
Open a shell.
-
Go to the directory created by expanding the archive:
cd <archive_directory_path>
-
Install the package (you may need root permissions to complete this step):
su (enter admin password) python setup.py install
之后make install 报错如下
varnishadm.c:48:33: error: editline/readline.h: No such file or directory
解决如下
yum install *readline-devel*
yum install libedit libedit-dev*
如果你要禁用 -S/PSK认证,指定'-S'一个空的参数给varnishd:
http://my.oschina.net/monkeyzhu/blog/413059
Varnish安装与配置
本文介绍了在安装Varnish过程中遇到的两个常见问题及解决方案。首先,如果缺少rst2man工具,需要安装python-docutils包;其次,若出现editline/readline.h文件缺失,则需通过安装readline-devel包来解决。此外,还提供了禁用-S/PSK认证的方法。
1518

被折叠的 条评论
为什么被折叠?



