How to install mod_pagespeed on WHM?
$> yum install rpm-build cpio ea-apache24-mod_version
$> wget https://github.com/Prajithp/cpanel/raw/master/EA4/ea-apache24-mod_pagespeed-1.9-32.11.src.rpm
$> rpmbuild --rebuild ea-apache24-mod_pagespeed-1.9-32.11.src.rpm
$> rpm -ivh /root/rpmbuild/RPMS/x86_64/ea-apache24-mod_pagespeed-1.9-32.11.x86_64.rpm
2. After that restart Apache service using below command -$>/etc/init.d/httpd restart
3. Now you will need to clone the script in your cPanel server by below command -
/usr/local/cpanel/3rdparty/bin/git clone https://github.com/pagespeed/cpanel.git /tmp/pagespeed/4. Now 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/
$> cd && rm -rf /tmp/pagespeed
5. For verifying it you can login to WHM >> EasyApache >> Search for mod_pagespeed option.All done!
Was this answer helpful?
I was getting the following error when connecting to the Wordpress native plugin Jetpack to...
By default SMTP outgoing server is configured for port 25. If you would like to allow exim to...
I was getting the error while acccessing the http://yourdomainname/collat.php as below -Error...
EasyApache Software is included within your cPanel and WHM license which is very easy and useful...
After migrating the WordPress site on the cPanel server, the website was not loading, it was...
Powered by WHMCompleteSolution