commit | 8a1ad5150bac40ede287caa99a60b7c8804b9f52 | [log] [tgz] |
---|---|---|
author | Prajith <prajithpalakkuda@gmail.com> | Tue Dec 15 18:49:13 2015 +0530 |
committer | Prajith <prajithpalakkuda@gmail.com> | Tue Dec 15 18:49:13 2015 +0530 |
tree | 824f19a6c1f1d3e484d5ca38720c71976c9ca2a2 | |
parent | f694cc34fa14ddc8cd8de6415eb9a202503c8c56 [diff] |
EA4 readme update
If you are using EasyApache4, please follow the below steps to install mod_pagespeed.
$> yum install rpm-build cpio ea-apache24-mod_version $> wget https://github.com/Prajithp/cpanel/raw/master/EA4/ea-apache24-mod_pagespeed-1.9-32.11.src.rpm $> rpmbuild --rebuild ea-apache24-mod_pagespeed-1.9-32.11.src.rpm $> rpm -ivh /root/rpmbuild/RPMS/x86_64/ea-apache24-mod_pagespeed-1.9-32.11.x86_64.rpm $> /etc/init.d/httpd restart
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