Control Web Panel

WebPanel => Apache => Varnish => Topic started by: Automata on December 28, 2019, 10:13:36 AM

Title: Update Varnish v5.2.1 to the latest Varnish v6.3.1 for CWP and CWP PRO !
Post by: Automata on December 28, 2019, 10:13:36 AM
Hi,

First of all i wish to congratulate all the programmers of both CWP (Centos Web Panel) and CWP (Centos Web Panel) PRO for the excellent work they do and for the excellent product they have created, truly excellent from all points of view.
Congratulations also for the new and beautiful official website of CWP and CWP PRO https://control-webpanel.com/

Having said that, please update Varnish HTTP Cache v5.2.1 outdated version released over 2 years ago on 14 November 2017 to the latest version of Varnish HTTP Cache v6.3.1 which was released on 21 October, 2019 for CWP (Centos Web Panel) and CWP PRO (Centos Web Panel Pro) for Centos 7 !

This is the official link for this latest and stable release of Varnish HTTP Cache v6.3.1:

https://github.com/varnishcache/varnish-cache/releases/tag/varnish-6.3.1

This is the official link for the changelog of this latest and stable release of Varnish HTTP Cache v6.3.1:

https://github.com/varnishcache/varnish-cache/blob/6.3/doc/changes.rst

Thanks in advance for the support.
Title: Re: Update Varnish v5.2.1 to the latest Varnish v6.3.1 for CWP and CWP PRO !
Post by: lefaek on April 19, 2020, 05:15:09 PM
Any help from members on how to update even manually
Title: Re: Update Varnish v5.2.1 to the latest Varnish v6.3.1 for CWP and CWP PRO !
Post by: ring_c on July 10, 2020, 04:09:53 AM
Would also appreciate to see an update to Varnish version.
Title: Re: Update Varnish v5.2.1 to the latest Varnish v6.3.1 for CWP and CWP PRO !
Post by: IvanAVM on August 15, 2020, 03:17:44 PM
+1 here. Any ETA about update here?
Title: Re: Update Varnish v5.2.1 to the latest Varnish v6.3.1 for CWP and CWP PRO !
Post by: CoriaWeb Hosting on August 16, 2020, 10:04:19 AM
Varnish 6.4 is already incorporated in centos 8: https://forum.mysterydata.com/topic/48/cwp-and-centos-8/8
Title: Re: Update Varnish v5.2.1 to the latest Varnish v6.3.1 for CWP and CWP PRO !
Post by: ring_c on September 10, 2020, 05:25:15 AM
Varnish 6.4 is already incorporated in centos 8: https://forum.mysterydata.com/topic/48/cwp-and-centos-8/8 (https://forum.mysterydata.com/topic/48/cwp-and-centos-8/8)
But CWP is still using CentOS7, right?
Title: Re: Update Varnish v5.2.1 to the latest Varnish v6.3.1 for CWP and CWP PRO !
Post by: CoriaWeb Hosting on September 10, 2020, 07:11:49 AM
Varnish 6.4 is already incorporated in centos 8: https://forum.mysterydata.com/topic/48/cwp-and-centos-8/8 (https://forum.mysterydata.com/topic/48/cwp-and-centos-8/8)
But CWP is still using CentOS7, right?

They already have available the option of centos 8, we have customers with CWP and centos 8, all of them have varnish 6.4.
Title: Re: Update Varnish v5.2.1 to the latest Varnish v6.3.1 for CWP and CWP PRO !
Post by: Starburst on July 06, 2021, 08:56:09 PM
Varnish 6.6 has been out for 4 months now.

I'm just curious how you can override the os= to say centos for the rebuild script for doing Nginx & Varnish & Apache rebuild.

Currently this is on an AlmaLinux box, and of course sending that OS name stops everything currently.

Thanks.
Title: Re: Update Varnish v5.2.1 to the latest Varnish v6.3.1 for CWP and CWP PRO !
Post by: sinaps1 on June 19, 2023, 07:34:54 AM
As far as I understand no one from the support team is mentioning the Centos 7 CWP and the update of Varnish Cache in this version. they stick with the "Centos 8 has already incorporated" please can you post a guideline what is the correct procedure to update the Varnish Cache on Centos 7 distro?
Title: Re: Update Varnish v5.2.1 to the latest Varnish v6.3.1 for CWP and CWP PRO !
Post by: upgradeinfo on August 11, 2023, 06:18:11 AM
for Centos 7
edit repository varnishcache_varnish5.repo

change the First baseurl=

from:
baseurl=https://packagecloud.io/varnishcache/varnish5/el/7/$basearch
to:
baseurl=https://packagecloud.io/varnishcache/varnish73/el/7/$basearch

and the Second  baseurl=

from:
baseurl=https://packagecloud.io/varnishcache/varnish5/el/7/SRPMS
to:
baseurl=https://packagecloud.io/varnishcache/varnish73/el/7/SRPMS


change the 2 gpgkey=
from:
gpgkey=https://packagecloud.io/varnishcache/varnish5/gpgkey
to:
gpgkey=https://packagecloud.io/varnishcache/varnish73/gpgkey

after save, Update cache for repository, and yum update

edit the file: /usr/lib/systemd/system/varnish.service
Code: [Select]
[Unit]
Description=Varnish Cache, a high-performance HTTP accelerator
After=network-online.target

[Service]
Type=forking
KillMode=process

# Maximum number of open files (for ulimit -n)
LimitNOFILE=131072

# Locked shared memory - should suffice to lock the shared memory log
# (varnishd -l argument)
# Default log size is 80MB vsl + 1M vsm + header -> 82MB
# unit is bytes
LimitMEMLOCK=85983232

# Enable this to avoid "fork failed" on reload.
TasksMax=infinity

# Maximum size of the corefile.
LimitCORE=infinity

ExecStart=/usr/sbin/varnishd -a :82 -f /etc/varnish/default.vcl -s malloc,256m
ExecReload=/usr/sbin/varnishreload

[Install]
WantedBy=multi-user.target

reboot the system