Install mod_pagespeed module cPanel

A custom module for CPanel WHM using CPanel Easy Framework - allows easy installation of mod_pagespeed via /scripts/easyapache on command line or through easyapache from WHM web console.

Installation instructions

Clone the installation scripts onto your CPanel server:

$> /usr/local/cpanel/3rdparty/bin/git clone https://github.com/pagespeed/cpanel.git /tmp/pagespeed/

Create Speed.pm.tar.gz

$> cd /tmp/pagespeed/Easy
$> tar -zcvf Speed.pm.tar.gz pagespeed
$> mkdir -p /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy
$> mv Speed.pm Speed.pm.tar.gz -t /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy/
$> cd && rm -rf /tmp/pagespeed

Login into your cPanel WHM > EasyApache and look for "mod_pagespeed" option. Alternatively, you can run the easyapache installer from command line (/scripts/easyapache). Rebuild the Apache server, reboot it, and you're good to go!

For EasyApache4

yum install ea4-experimental
yum install ea-apache24-mod_pagespeed
Locate File Configuration

/etc/apache2/conf.modules.d/*_pagespeed.conf
  • 0 Pengguna Menemukan Ini Bermanfaat
Apakah ini membantu?

Related Articles

Clear EXIM Logs

Jika mendapatkan log EXIM yang cukup besar bisa menggunakan perintah berikut untuk...

Instalasi cPanel pada Server Centos

Langkah-langkah yang harus disiapkan. 1.Pastikan anda memiliki koneksi Internet yang stabil...

What ports are used by cPanel?

cPanel and its WebHost Manager use the following ports for the management of Dedicated and...

How to create backup Account via SSH?

Step 1: Log-in to the SSH as Root user. Step 2: Enter the following command string on the...

Install Mod_Sec Control di cpanel

1. install ConfigServer ModSecurity Control (cmc) http://www.configserver.com/cp/cmc.html untuk...