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:47 UTC

[36/50] [abbrv] incubator-pagespeed-cpanel git commit: Cleaned up README.md

Cleaned up README.md


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/d5600e2d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-pagespeed-cpanel/tree/d5600e2d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-pagespeed-cpanel/diff/d5600e2d

Branch: refs/pull/43/head
Commit: d5600e2dcc0c59855ba394dc662d3a8c5d954b5e
Parents: 1b1f6cc
Author: Andrew Pietila <a....@cpanel.net>
Authored: Sun Feb 28 09:35:01 2016 -0600
Committer: Andrew Pietila <a....@cpanel.net>
Committed: Sun Feb 28 09:35:01 2016 -0600

----------------------------------------------------------------------
 README.md | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-pagespeed-cpanel/blob/d5600e2d/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 5c53a35..849d5e4 100644
--- a/README.md
+++ b/README.md
@@ -4,21 +4,23 @@ A custom module for CPanel WHM using CPanel Easy Framework - allows easy install
 
 ## Installation instructions
 
+### EasyApache 4
 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
+$> 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 -ivh /root/rpmbuild/RPMS/x86_64/ea-apache24-mod_pagespeed-latest-stable.x86_64.rpm
+$> /scripts/restartsrv_httpd
 ```
 
-1. Clone the installation scripts onto your CPanel server:
+### EasyApache 3
+1\. Clone the installation scripts onto your CPanel server:
 ```bash
 $> /usr/local/cpanel/3rdparty/bin/git clone https://github.com/pagespeed/cpanel.git /tmp/pagespeed/
 ```
 
-2. Create Speed.pm.tar.gz
+2\. Create Speed.pm.tar.gz
 ```bash
 $> cd /tmp/pagespeed/Easy
 $> tar -zcvf Speed.pm.tar.gz pagespeed
@@ -27,7 +29,7 @@ $> mv Speed.pm Speed.pm.tar.gz -t /var/cpanel/easy/apache/custom_opt_mods/Cpanel
 $> 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!
 
 
 ## Configuring mod_pagespeed