How to Install xVarnish (Cachewall) on WHM / cPanel

How to Install xVarnish (Cachewall) on WHM / cPanel

xVarnish or Cachewall is one of the many cache applications that can be integrated with WHM / cPanel. From some reviews, many stated that the results

How to Install Linux Ubuntu 16.04
How to view and Edit Image meta tag using linux command line
How to Enable Auto Login in Ubuntu

xVarnish or Cachewall is one of the many cache applications that can be integrated with WHM / cPanel. From some reviews, many stated that the results of cachewall or xVarnish + Apache web server are better than Litespeed web server.

From our experience, the use of xVarnish at WHM / cPanel is very helpful in reducing server load. Evidenced by the loading server that is very stable between 0.00 – 1.xx, even though before using xVarnish, loading server can reach dozens, even when the account backup process occurs can be more than that.

Before installing xVarnish, we need to install EA4 developer first with the command below:

yum install ea-apache24-devel

The result from above command are:

[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

After that we start installing xVarnish with the command:

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

after the installation process is complete, you can activate cachewall with this command:

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

You can get a license for FREE on the official xVarnish website (cachewall.com)

After that, you can enable Cachewal and https cachewall with the following command:

xvctl enable cachewall
xvctl enable https
Loading...
loading...

COMMENTS

WORDPRESS: 0
DISQUS: 0