commit | 46914713bd8a33d28622c2f946b802e37f21ddf2 | [log] [tgz] |
---|---|---|
author | Prajith <prajithpalakkuda@gmail.com> | Tue Oct 06 11:04:15 2015 +0530 |
committer | Prajith <prajithpalakkuda@gmail.com> | Tue Oct 06 11:04:15 2015 +0530 |
tree | 445ab572eba9d19270273630b194dcddd8770599 | |
parent | 19844fe7921bf99c8a13312bd79459f5e6fe8101 [diff] |
Delete old rpm file if it already there
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.
$> /usr/local/cpanel/3rdparty/bin/git clone https://github.com/pagespeed/cpanel.git /var/cpanel/easy/apache/custom_opt_mods/Cpanel/
$> cd /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy $> tar -zcvf Speed.pm.tar.gz pagespeed $> rm -rf /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy/pagespeed/ $> rm -rf /var/cpanel/easy/apache/custom_opt_mods/Cpanel/{.git,LICENSE,README.md}
/scripts/easyapache
). Rebuild the Apache server, reboot it, and you're good to go!The installation script will copy a default pagespeed.conf file into /usr/local/apache/conf/
on your server. Please consult the following pages to customize your configuration:
For example of the different filters in action and detailed documentation for each, please see modpagespeed.com