Installing and Upgrading of Mod_Pagespeed on Centos
Steps to install Mod_Pagespeed on Centos:
Step-1: Determine the Linux distros and the version on the server with the help of the below command:
Step-2: You need to download the latest version of mod_pagespeed by visiting http://code.google.com/speed/page-speed/download.html
Here we will be considered as a 64 bits CentOS Linux system for the further procedure.
Step-3: Make use of the below command to install it:
rpm -i mod-pagespeed-*.rpm
Step-4: Confirmation of the installed files:
rpm -ql mod-pagespeed-beta
Step-5: Now you need to restart the Apache with the help of below mentioned command:
service httpd restart
Upgrading the mod_pagespeed on Centos:
For upgrading the mod_pagespeed module, you need to download the latest version and use the command “yum localinstall mod-pagespeed-*.rpm” for installation.
Make use of the below mentioned commands to upgrade the package :
sudo yum update
sudo /etc/init.d/httpd restart