You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pagespeed.apache.org by ju...@apache.org on 2017/12/30 04:41:50 UTC
[39/50] [abbrv] incubator-pagespeed-cpanel git commit: Merge
d5600e2dcc0c59855ba394dc662d3a8c5d954b5e into
bb268e14d4deac7d9a3eeee7329be1ab3185c73c
Merge d5600e2dcc0c59855ba394dc662d3a8c5d954b5e into bb268e14d4deac7d9a3eeee7329be1ab3185c73c
Project: http://git-wip-us.apache.org/repos/asf/incubator-pagespeed-cpanel/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-pagespeed-cpanel/commit/17958261
Tree: http://git-wip-us.apache.org/repos/asf/incubator-pagespeed-cpanel/tree/17958261
Diff: http://git-wip-us.apache.org/repos/asf/incubator-pagespeed-cpanel/diff/17958261
Branch: refs/pull/43/merge
Commit: 1795826184f7754c47d72e61b528ab47b39b53a2
Parents: bb268e1 d5600e2
Author: Andrew Pietila <a....@cpanel.net>
Authored: Tue Jun 21 16:56:47 2016 +0000
Committer: GitHub <no...@github.com>
Committed: Tue Jun 21 16:56:47 2016 +0000
----------------------------------------------------------------------
README.md | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-pagespeed-cpanel/blob/17958261/README.md
----------------------------------------------------------------------
diff --cc README.md
index c5fcd6e,849d5e4..15158a4
--- a/README.md
+++ b/README.md
@@@ -27,37 -29,8 +29,37 @@@ $> mv Speed.pm Speed.pm.tar.gz -t /var/
$> cd && rm -rf /tmp/pagespeed
```
- 3. 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!
+ 3\. 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!
+## Updating instructions
+
+If you are using EasyApache3, run `easyapache` to upgrade mod_pagespeed to the
+latest version.
+
+If you are running EasyApache4, follow these steps to upgrade.
+
+ - create file `/etc/rpm/macros.apache2` with the following contents
+
+ ```
+ %_httpd_mmn 20120211x8664
+ %_httpd_apxs /usr/bin/apxs
+ %_httpd_dir /etc/apache2
+ %_httpd_bindir %{_httpd_dir}/bin
+ %_httpd_modconfdir %{_httpd_dir}/conf.modules.d
+ %_httpd_confdir %{_httpd_dir}/conf.d
+ %_httpd_contentdir /usr/share/apache2
+ %_httpd_moddir /usr/lib64/apache2/modules
+ ```
+
+ - then run the following commands
+
+ ```bash
+ rm -rf /root/rpmbuild/RPMS/x86_64/
+ wget https://github.com/pagespeed/cpanel/raw/master/EA4/ea-apache24-mod_pagespeed-latest-stable.src.rpm
+ rpmbuild --rebuild ea-apache24-mod_pagespeed-latest-stable.src.rpm
+ rpm -Uvh /root/rpmbuild/RPMS/x86_64/ea-apache24-mod_pagespeed*.rpm
+ /etc/init.d/httpd restart
+ ```
## Configuring mod_pagespeed