Varnish Setup in Steps
Varnish
配置与编译
./autogen.sh
./configure
make
测试
cd bin/varnishtest && ./varnishtest tests/*.vtc
安装
make install
启动
/data/varnish/sbin/varnishd -a 0.0.0.0:80 -s file,/data/vcache/varnish_cache.data,20g -f /data/varnish/etc/vcl.conf -p thread_pool_max=1500 -p thread_pools=8 -p listen_depth=512 -P /data/varnish/sbin/varnish.pid
重新载入
kill -HUP `cat /data/varnish/sbin/varnish.pid`
关闭
killall varnishd
–
Liu Lantao
EMAIL: liulantao ( at ) gmail ( dot ) com ;
WEBSITE: http://www.liulantao.com/ .