apache / incubator-pagespeed-cpanel

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

Install issue - Not Found #16

Open itseasy21 opened 9 years ago

itseasy21 commented 9 years ago

Error is below :

root@786 [~]# /usr/local/cpanel/3rdparty/bin/git clone https://github.com/pagespeed/cpanel.git /var/cpanel/easy/apache/custom_opt_mods/Cpanel/pagespeed/ Cloning into '/var/cpanel/easy/apache/custom_opt_mods/Cpanel/pagespeed'... remote: Counting objects: 91, done. remote: Total 91 (delta 0), reused 0 (delta 0) Unpacking objects: 100% (91/91), done. Checking connectivity... done.

root@786 [~]# cd /var/cpanel/easy/apache/custom_opt_mods/Cpanel/pagespeed/Easy

root@786 [/var/cpanel/easy/apache/custom_opt_mods/Cpanel/pagespeed/Easy]# tar -zcvf Speed.pm.tar.gz pagespeed pagespeed/ pagespeed/mod_pagespeed/ pagespeed/mod_pagespeed/pagespeed.conf pagespeed/speed-install

root@786 [/var/cpanel/easy/apache/custom_opt_mods/Cpanel/pagespeed/Easy]# 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/ mv: accessing `/var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy/': No such file or directory

Prajithp commented 9 years ago

Please try the following installation steps.

1 Clone the installation scripts onto your CPanel server:

$> /usr/local/cpanel/3rdparty/bin/git clone https://github.com/pagespeed/cpanel.git /var/cpanel/easy/apache/custom_opt_mods/Cpanel/

2 Create Speed.pm.tar.gz

$> cd /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy
$> tar -zcvf Speed.pm.tar.gz pagespeed
$> rm -rf /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy/pagespeed/
$> rm -rf /var/cpanel/easy/apache/custom_opt_mods/Cpanel/{.git,LICENSE,README.md}
itseasy21 commented 9 years ago

I used the previous install instruction from edit log, and they worked fine :D