Author Topic: VARNISH update - tutorial for varnish 6.6  (Read 1098 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
VARNISH update - tutorial for varnish 6.6
« on: April 19, 2021, 05:57:27 PM »
How to make latest varnish on CWP 7 work

centos 7 cwp

first - backup

/etc/ld/so/conf.d/varnish-x86_64.conf
/etc/logorate.d/varnish
/etc/varnish *.* along with all conf.d vhost files

/usr/lib/systemd/system/ varnish.service   and varnishcsa.service



https://packagecloud.io/varnishcache/varnish66/install#bash-rpm

Code: [Select]
curl -s https://packagecloud.io/install/repositories/varnishcache/varnish66/script.rpm.sh | sudo bash
this will add repository with new 6.6 packages for centos 7

update varnish package via yum update or CWP panel

copy back all files from backup - restart varnish and voila

Code: [Select]
[root@vps ~]# varnishd -V
varnishd (varnish-6.6.0 revision ef54768fc10f5b19556c7cf9866efc88cfbda8ff)
Copyright (c) 2006 Verdens Gang AS
Copyright (c) 2006-2020 Varnish Software
[root@vps ~]#