Linix / Centos Experts? - Problem Installing "mod_pagespeed" on Centos 6.6

I have been trying to install (google) mod_pagespeed on my Centos 6.6 server

Numerous problems.

I have run:
wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpmz

When I attempt to run the following command.....
rpm -U mod-pagespeed-*.rpm

I get the following error:
error: Failed dependencies:
      httpd >= 2.2 is needed by mod-pagespeed-stable-1.9.32.4-7251.x86_64

Anyone with experience that can help... please ask for whatever further info might help.
arthur_raft2Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hieloCommented:
The message is essentially telling you that your version of apache does not support that module -- that you need to upgrade apache first.  Open a terminal and type:
httpd -v

and you should see what version you currently have installed.  See if you there is a later version available:
yum list available | grep httpd

If you are on a test server, and you want to upgrade, then try:
yum update httpd

FYR:
https://access.redhat.com/sites/default/files/attachments/rh_yum_cheatsheet_1214_jcs_print-1.pdf
0
arthur_raft2Author Commented:
Hey, thanks Hielo - I recall you, you are a legend here.

Well:

/$ httpd -v
Server version: Apache/2.2.29 (Unix)
Server built:   Jul 22 2015 14:54:10
Cpanel::Easy::Apache v3.30.3 rev9999

and:

/$ yum list available | grep httpd
libmicrohttpd.i686                        0.9.33-4.el6                   base  
libmicrohttpd.x86_64                      0.9.33-4.el6                   base  
libmicrohttpd-devel.i686                  0.9.33-4.el6                   base  
libmicrohttpd-devel.x86_64                0.9.33-4.el6                   base  
libmicrohttpd-doc.noarch                  0.9.33-4.el6                   base


I have followed numerous "installation" steps for mod_pagespeed... roadblocks with all.

When I attempt to run EasyApache, the mod_pagespeed option is visible - See below.

However, when running EasyApache, I get errors - See the log/text file attached.

would be awsome if you could help.
mod-pagespeed-easyapache-view.PNG
easy-apache-build.1437561686.txt
0
hieloCommented:
Arthur!  I remember you too.  You had a problem feeding data from a database for a chart plugin of sorts.

As for your problem, some digging led me to:
https://developers.google.com/speed/pagespeed/module/faq#missing-dependency

You did mention cPanel, so follow the cPanel based installation.  I don't have cPanel so I won't be able to replicate your environment. Hopefully that will remedy your problem it is something that has come up before, hence the suggestions.

Regards,
Hielo
0
SandyCommented:
Login to your shell terminal as root, then use git to clone the installation script into your cPanel server.

$> /usr/local/cpanel/3rdparty/bin/git clone https://github.com/pagespeed/cpanel.git /tmp/pagespeed/

$> cd /tmp/pagespeed/Easy
$> tar -zcvf PageSpeed.pm.tar.gz pagespeed
$> mkdir -p /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy
$> mv Speed.pm PageSpeed.pm.tar.gz -t /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy/
$> cd && rm -rf /tmp/pagespeed

Now Login into your cPanel WHM > EasyApache and look for "mod_pagespeed" option. Alternatively, you can run the easyapache installer from command line (/scripts/easyapache). Rebuild the Apache server, reboot it, and you're good to go!

TY/SA
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gheistCommented:
Just use "yum install" instead of rpm -U ?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.