cara install cachewall atau xVarnish di cPanel

Cara install xVarnish (cachewall) di cPanel

xVarnish atau Cachewall merupakan salah satu dari sekian banyak applikasi cache yang bisa diintegrasikan dengan cPanel. Dari beberapa review, banyak yang menyatakan hasil bahwa cachewall atau xVarnish + Apache lebih bagus dibanding dengan Litespeed webserver.

Dari Pengalaman yang penulis rasakan, Penggunaan xVarnish sangat membantu menurunkan beban server. terbukti dengan Loading server yang sangat stabil diantara 0.00 – 1.xx, padahal sebelum menggunakan xVarnish, Loading server bisa mencapai belasan, bahkan disaat backup account bisa lebih dari itu.

Sebelum install xVarnish, kita perlu menginstall EA4 developer terlebih dahulu dengan perintah:

yum install ea-apache24-devel

Hasilnya kurang lebih seperti ini:

[root@sg-node01 ssh]# yum install ea-apache24-devel
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                     |  19 kB  00:00:00     
 * EA4: 203.174.85.202
 * cpanel-addons-production-feed: 203.174.85.202
 * base: mirror.hmc.edu
 * epel: mirror.sjc02.svwh.net
 * extras: mirror.rackspace.com
 * updates: mirror.web-ster.com
EA4                                                                      | 2.9 kB  00:00:00     
cpanel-addons-production-feed                                            | 2.9 kB  00:00:00     
base                                                                     | 3.6 kB  00:00:00     
cpanel-plugins                                                           | 2.9 kB  00:00:00     
epel                                                                     | 3.2 kB  00:00:00     
extras                                                                   | 3.4 kB  00:00:00     
kernelcare                                                               | 2.6 kB  00:00:00     
mysql-connectors-community                                               | 2.5 kB  00:00:00     
mysql-tools-community                                                    | 2.5 kB  00:00:00     
mysql57-community                                                        | 2.5 kB  00:00:00     
updates                                                                  | 3.4 kB  00:00:00     
(1/2): epel/x86_64/updateinfo                                            | 925 kB  00:00:01     
(2/2): epel/x86_64/primary                                               | 3.5 MB  00:00:08     
epel                                                                                12607/12607
Resolving Dependencies
--> Running transaction check
---> Package ea-apache24-devel.x86_64 0:2.4.33-8.8.1.cpanel will be installed
--> Processing Dependency: ea-apr-devel >= 1.6.3-1 for package: ea-apache24-devel-2.4.33-8.8.1.cpanel.x86_64
--> Processing Dependency: ea-apr-util-devel for package: ea-apache24-devel-2.4.33-8.8.1.cpanel.x86_64
--> Running transaction check
---> Package ea-apr-devel.x86_64 0:1.6.3-2.2.2.cpanel will be installed
---> Package ea-apr-util-devel.x86_64 0:1.6.1-4.4.2.cpanel will be installed
--> Processing Dependency: openldap-devel(x86-64) for package: ea-apr-util-devel-1.6.1-4.4.2.cpanel.x86_64
--> Running transaction check
---> Package openldap-devel.x86_64 0:2.4.44-15.el7_5 will be installed
--> Processing Dependency: cyrus-sasl-devel(x86-64) for package: openldap-devel-2.4.44-15.el7_5.x86_64
--> Running transaction check
---> Package cyrus-sasl-devel.x86_64 0:2.1.26-23.el7 will be installed
--> Processing Dependency: cyrus-sasl(x86-64) = 2.1.26-23.el7 for package: cyrus-sasl-devel-2.1.26-23.el7.x86_64
--> Running transaction check
---> Package cyrus-sasl.x86_64 0:2.1.26-23.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================
 Package                    Arch            Version                      Repository        Size
================================================================================================
Installing:
 ea-apache24-devel          x86_64          2.4.33-8.8.1.cpanel          EA4              206 k
Installing for dependencies:
 cyrus-sasl                 x86_64          2.1.26-23.el7                base              88 k
 cyrus-sasl-devel           x86_64          2.1.26-23.el7                base             310 k
 ea-apr-devel               x86_64          1.6.3-2.2.2.cpanel           EA4              208 k
 ea-apr-util-devel          x86_64          1.6.1-4.4.2.cpanel           EA4               79 k
 openldap-devel             x86_64          2.4.44-15.el7_5              updates          803 k

Transaction Summary
================================================================================================
Install  1 Package (+5 Dependent packages)

Total download size: 1.7 M
Installed size: 6.7 M
Is this ok [y/d/N]: y

Setelah itu baru kita mulai install xVarnish dengan command:

rpm -ivh https://repo.cachewall.com/cachewall-release.rpm
yum -y install cachewall

setelah proses install selesai, Anda bisa mengaktifkan cachewall dengan perintah:

/usr/local/xvarnish/bin/activate --key 

Lisensi bisa anda dapatkan secara GRATIS di web official xVarnish yaitu cachewall.com

Setelah itu, enable cachewal dan https cachewall dengan perintah berikut:

xvctl enable cachewall
xvctl enable https

Selamat mencoba

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

loading...