commit | d29f95fef26d6ae01bc80b31e0a7e417a7c4d453 | [log] [tgz] |
---|---|---|
author | Ilya Grigorik <ilya@igvita.com> | Mon Sep 15 10:34:24 2014 -0700 |
committer | Ilya Grigorik <ilya@igvita.com> | Mon Sep 15 10:34:24 2014 -0700 |
tree | 3062c7a4a9abc87f79f8b82f59a394f8ce10e151 | |
parent | 7de05a2224e007dceabf7cdcf6964bf7086da4ea [diff] |
update install instructions, closes #17
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 /tmp/pagespeed/
$> 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
/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