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

[21/50] [abbrv] incubator-pagespeed-cpanel git commit: update install instructions, closes #17

update install instructions, closes #17

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

Branch: refs/heads/master
Commit: d29f95fef26d6ae01bc80b31e0a7e417a7c4d453
Parents: 7de05a2
Author: Ilya Grigorik <il...@igvita.com>
Authored: Mon Sep 15 10:34:24 2014 -0700
Committer: Ilya Grigorik <il...@igvita.com>
Committed: Mon Sep 15 10:34:24 2014 -0700

----------------------------------------------------------------------
 README.md | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-pagespeed-cpanel/blob/d29f95fe/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 96c8aaa..7ec2a17 100644
--- a/README.md
+++ b/README.md
@@ -6,15 +6,16 @@ A custom module for CPanel WHM using CPanel Easy Framework - allows easy install
 
 1. Clone the installation scripts onto your CPanel server:
 ```bash
-$> /usr/local/cpanel/3rdparty/bin/git clone https://github.com/pagespeed/cpanel.git /var/cpanel/easy/apache/custom_opt_mods/Cpanel/pagespeed/
+$> /usr/local/cpanel/3rdparty/bin/git clone https://github.com/pagespeed/cpanel.git /tmp/pagespeed/
 ```
 
 2. Create Speed.pm.tar.gz
 ```bash
-$> cd /var/cpanel/easy/apache/custom_opt_mods/Cpanel/pagespeed/Easy
+$> cd /tmp/pagespeed/Easy
 $> tar -zcvf Speed.pm.tar.gz pagespeed
-$> mv -v /var/cpanel/easy/apache/custom_opt_mods/Cpanel/pagespeed/Easy/Speed.pm /var/cpanel/easy/apache/custom_opt_mods/Cpanel/pagespeed/Easy/Speed.pm.tar.gz -t /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy/
-$> rm -rf /var/cpanel/easy/apache/custom_opt_mods/Cpanel/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
 ```
 
 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!