Open itseasy21 opened 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}
I used the previous install instruction from edit log, and they worked fine :D
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