apache / incubator-pagespeed-cpanel

mod_pagespeed module for CPanel WHM
Other
144 stars 50 forks source link

Install issue - Not Found #16 #17

Closed Prajithp closed 9 years ago

igrigorik commented 9 years ago

My understanding was that the whole point checking out under /pagespeed directory was to work around the fact that some people may already have it in place, and have an error? This would revert to that same behavior..

Prajithp commented 9 years ago

Yes, the instruction will work fine if its already installed, but if you are doing this first time you will get the following error message.

mv: accessing `/var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy/': No such file or directory

igrigorik commented 9 years ago

Ok, this is confusing me now... how about this:

Doing a checkout into working direction doesn't feel right.

Prajithp commented 9 years ago

Yes, you are right and check out to /tmp make more sense. Do I need to send you another pull request with the changes?

igrigorik commented 9 years ago

Just update this pull?

On Mon, Sep 15, 2014 at 9:47 AM, Prajith notifications@github.com wrote:

Yes, you are right and check out to /tmp make more sense. Do I need to send you another pull request with the changes?

— Reply to this email directly or view it on GitHub https://github.com/pagespeed/cpanel/pull/17#issuecomment-55619790.

Prajithp commented 9 years ago

Here goes the updated instruction.

1 Clone the installation scripts onto your cPanel server:

$> /usr/local/cpanel/3rdparty/bin/git clone https://github.com/pagespeed/cpanel.git /tmp/pagespeed/

2 Create Speed.pm.tar.gz

$> 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/

3 Remove the tmp dir

$> cd /root
$> rm -rf /tmp/pagespeed