commit | 1b1f6cc43d3b15a633d65a279c0982b269f1fed3 | [log] [tgz] |
---|---|---|
author | Ilya Grigorik <ilya@igvita.com> | Wed Dec 16 21:19:27 2015 -0800 |
committer | Ilya Grigorik <ilya@igvita.com> | Wed Dec 16 21:19:27 2015 -0800 |
tree | e237450d4115621b44b731aa197fd3ebe34109f9 | |
parent | b0b97e9282d71f2db797360bc0aadda87dad506c [diff] | |
parent | 15c0b44150db8168286c8319efd44ec1977e7796 [diff] |
Merge pull request #37 from Prajithp/master Add suport for EasyApache4
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.
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
$> /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