通过源码包安装了varnish之后想执行varnishstat命令,竟然没找到。在网上找到答案:
如果是RedHat/CentOS系统,在安装varnish的时候首先要安装以下软件包
automake
autoconf
libtool
ncurses-devel
libxslt
groff
pcre-devel
pkgconfig
这些安装包直接用yum安装即可。
yum install -y automake autoconf libtool ncurses-devel libxslt groff pcre-devel pkgconfig
现在可以重新编译、安装varnish了。