apache / incubator-pagespeed-cpanel

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

README instructions are incorrect #3

Closed tecmark closed 11 years ago

tecmark commented 11 years ago

The first step in the README instructions places the repo in Cpanel/pagespeed

git clone git://github.com/pagespeed/cpanel.git /var/cpanel/easy/apache/custom_opt_mods/Cpanel/pagespeed

However the next line expects the repo to be in Cpanel/Easy. When I ran through the steps it failed, then WHM was not finding the custom module until I moved the tar file into Cpanel/Easy.

igrigorik commented 11 years ago

Doh, thanks! Could you confirm that this does the trick:

> git clone git://github.com/pagespeed/cpanel.git /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy/pagespeed
> cd /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy && tar -zcvf Speed.pm.tar.gz pagespeed
tecmark commented 11 years ago

Sorry no that didn't work for me. I've reset my system and tried again and the module didn't show up in easyapache.

The correct instructions were given in a previous issue: https://github.com/pagespeed/cpanel/issues/2#issuecomment-18094788

git clone http://github.com/pagespeed/cpanel.git /var/cpanel/easy/apache/custom_opt_mods/Cpanel/
cd /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy
tar -zcvf Speed.pm.tar.gz pagespeed
/scripts/easyapache
igrigorik commented 11 years ago

Awesome, thanks! Should be fixed now.