Error Pada Saat Refresh Varnish – Varnish merupakan sebuah Plugin Web Server (cPanel/WHM) yang dapat meminamilisir penggunaan Memory dan juga mempercepat akses website. Varnish sapa seperti plugin web server lainnya seperti Nginx, Lighttpd & Litespeed yang dapat di gunakan pada Apache. Ditambah lagi Varnish memberikan harga yang murah dan terjangkau untuk biaya license tiap bulannya. Varnish juga memberikan Trial selama 15 Hari untuk anda mencoba Plugin Web Server ini.Adapun beberapa keunggulan dari Varnish:
- FASTER than Nginx, Litespeed, and Lighttpd*
- Serves pages FASTER from MEMORY instead of disks.
- Absolutely free 14-day trial. UNIXY customers get it for Free!
- Reduces server load to levels never seen before.
- No Apache Virtual Hosts or Rewrite rules voodoo. Keep Apache & PHP.
Berikut ini adalah cara untuk menginstall Plugin Varnish:
[root@varnish ~]# cd /usr/src
[root@varnish src]# file varnish.unixy.net-1.4.5rc.tar.zip
varnish.unixy.net.tar.zip: Zip archive data, at least v2.0 to extract
[root@varnish src]# tar -xzf varnish.unixy.net-1.4.5rc.tar.zip[root@varnish src]# cd varnish.unixy.net-1.4.5rc[root@varnish src]# vi unixyvarnish.license # Enter the license key string in this file before proceeding[root@varnish varnish.unixy.net-1.4.5rc]# python installvarnish

ERR: Traceback (most recent call last): ERR: File “varnish.unixy.net-1.4.5rc1/fs_x86_64/cpanel/scripts/purgealldoms.py”, line 76, in ? ERR: File “/usr/lib64/python2.4/telnetlib.py”, line 292, in write ERR: self.sock.sendall(buffer) ERR: File “”, line 1, in sendall ERR: socket.error: (104, ‘Connection reset by peer’)
# cd# nano varnish
cat /var/cpanel/users/*|grep ^DNS|awk -F’=’ ‘{print $2}’|while read d;do
/usr/bin/python /scripts/purgeonehostname ${d}
done
# sh varnish
root@namaserver [~]# sh varnishLicense status: Active
Purging bexxxxxxxating.com… DONE
License status: Active
Purging sxxxxxxng.com… DONE
License status: Active
Purging sxxxil.com… DONE
License status: Active
Purging aaxxxxxnjuntak.com… DONE
License status: Active


