Page 1 of 2 12 LastLast
Results 1 to 15 of 24

Thread: Install mod_pagespeed in cPanel using EasyApache

  1. #1
    Registered Member prajithp13's Avatar
    Join Date
    Jun 2012
    Location
    India
    Posts
    20
    cPanel/WHM Access Level

    Root Administrator

    Default Install mod_pagespeed in cPanel using EasyApache

    I have created mod_pagespeed custom module for CPanel WHM using CPanel Easy Framework. which will be then install using /scripts/easyapache on command line or easyapache from WHM on your choice whether to install it or not. You can install it by using following steps



    wget http://prajith.in/scripts/mod_pagespeed-cust-opts.tar.gz


    tar -C /var/cpanel/easy/apache/custom_opt_mods -xzf mod_pagespeed-cust-opts.tar.gz

    Thats it, now you can run

    /scripts/easyapache


    or



    Login into WHM and go to EasyApache Update



    It will show you the Mod_Pagespeed included in it and you can install it by checking the box.


  2. #2
    Registered Member albatroz's Avatar
    Join Date
    Mar 2003
    Location
    Virtual Orbis / Peru
    Posts
    210
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Install Mod_Pagespeed in WHM/cPanel using easyapache.

    Hello,
    I finished installing the module, but haven´t noticed any substancial speed improvement.

    How can I know if it is really working?

    BTW,
    Do you know if there is any conflict with Apache Booster (ngnix / varnish)
    I have found this thread that states that there is a problem with varnish and pagespeed

    /http://drupal.stackexchange.com/questions/4168/apache-2-2-mod-pagespeed-varnish
    Last edited by albatroz; 11-04-2012 at 06:57 AM.

  3. #3
    Registered Member Astral God's Avatar
    Join Date
    Sep 2010
    Location
    127.0.0.1
    Posts
    180
    cPanel/WHM Access Level

    Root Administrator

    Default

    Which is the default filters configuration ? https://developers.google.com/speed/docs/mod_pagespeed/filters

    Also, is there a GUI available on WHM after install ?

    Thanks.

  4. #4
    Registered User
    Join Date
    Aug 2007
    Posts
    2

    Default Re: Install Mod_Pagespeed in WHM/cPanel using easyapache.

    > I have found this thread that states that there is a problem with varnish and pagespeed
    > /http://drupal.stackexchange.com/questions/4168/apache-2-2-mod-pagespeed-varnish

    mod_pagespeed works fine with Varnish, and any other caching server or CDN in front - in fact, it will help these services! The thing to keep in mind is that mod_pagespeed intentionally turns off caching headers for your HTML files because these files are rewritten on the fly - all of the associated resources are cache extended. For a good explanation why, take a look here: Issue 232 - modpagespeed - Allow caching HTML files - Apache module for rewriting web pages to reduce latency and bandwidth - Google Project Hosting

    If you're ok with potentially serving slightly stale HTML out of your static cache (ex, you have a purge step, which is common..), then you can disable this behavior in your mod_pagespeed config: https://developers.google.com/speed/...CachingHeaders


    >> Which is the default filters configuration?

    Take a look here: https://developers.google.com/speed/...config_filters

    ... Finally. Prajith, awesome work! Would love to get your code up on our github repo @ /http://github.com/pagespeed. Would you be interested in contributing your code there? Ping me

  5. #5
    Registered User
    Join Date
    Nov 2012
    Posts
    1
    cPanel/WHM Access Level

    Reseller Owner

    Default Re: Install Mod_Pagespeed in WHM/cPanel using easyapache.

    igrigorik,

    There's an official Feature Request over here: As a Server Administrator, I want Mod_pagespeed integrated to EasyApache, so that ??? | cPanel Feature Requests

    You might be able to get a better response out of cPanel and the community if you can help improve the request - the original submission is a bit lacking. Once it's refined, more people will likely vote for it.

  6. #6
    Registered Member Astral God's Avatar
    Join Date
    Sep 2010
    Location
    127.0.0.1
    Posts
    180
    cPanel/WHM Access Level

    Root Administrator

    Default

    And how to correctly uninstall it ?

    I've followed EasyApache way (disable the checkbix, recompile) but a lot of pagespeed folders remain on the server and at Apache start i'm havin warns about 127.0.0.1 that don't have virtualhosts...

    Thanks.

  7. #7
    Registered Member prajithp13's Avatar
    Join Date
    Jun 2012
    Location
    India
    Posts
    20
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Install Mod_Pagespeed in WHM/cPanel using easyapache.

    Its is not related with the pagespeed module.

  8. #8
    Registered Member Duplika's Avatar
    Join Date
    Feb 2005
    Location
    Buenos Aires, Argentina
    Posts
    48
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Install Mod_Pagespeed in WHM/cPanel using easyapache.

    Great work prajithp13! Haven't test this myself but hopefully it brings enough attention from cPanel and can be officially enabled.

    Specially now that they have updated this recently to 1.2.
    Duplika :: Web Hosting en Argentina
    Hosting con 99,9% uptime por SLA, CloudLinux y SSD

  9. #9
    Registered Member
    Join Date
    Jul 2004
    Posts
    135

    Default Re: Install Mod_Pagespeed in WHM/cPanel using easyapache.

    Hi,

    I've installed the module but according to google by executing a command like: curl -D- /http://www.mydomain.com | less
    I need to see something like X-Mod-Pagespeed: 0.10.22.4-1633 which is not happening.

    Any ideas?

    - - - Updated - - -

    Hi,

    I've installed the module but according to google by executing a command like: curl -D- /http://www.mydomain.com | less
    I need to see something like X-Mod-Pagespeed: 0.10.22.4-1633 which is not happening.

    Any ideas?

  10. #10
    Registered Member
    Join Date
    Jun 2012
    Posts
    68
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Install Mod_Pagespeed in WHM/cPanel using easyapache.

    Hi,

    i speak English not well.

    Who can upgrade new version of mod_pagespeed? I cant use yum update mod_pagespeed for upgrade. Please help me. Thanks.

    Regards,

  11. #11
    Registered Member Duplika's Avatar
    Join Date
    Feb 2005
    Location
    Buenos Aires, Argentina
    Posts
    48
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Install Mod_Pagespeed in WHM/cPanel using easyapache.

    It seems the best approach on this is using /https://github.com/pagespeed/cpanel, but we haven't tested this out yet.
    Duplika :: Web Hosting en Argentina
    Hosting con 99,9% uptime por SLA, CloudLinux y SSD

  12. #12
    Registered User
    Join Date
    Jul 2013
    Posts
    0
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Install Mod_Pagespeed in WHM/cPanel using easyapache.

    Can someone tell me what paths are being used by this once it's installed using EasyApache?

    I've got several copies of pagespeed.conf and mod_pagespeed/cache/ directory and I need to know which are being used so they can be cleared and or edited as needed.

    Thanks.

  13. #13
    Registered Member
    Join Date
    Dec 2011
    Posts
    5
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Install Mod_Pagespeed in WHM/cPanel using easyapache.

    Module gets installed in : /usr/local/apache/modules/mod_pagespeed.so
    Page Cache: /var/mod_pagespeed/cache
    pagespeed.conf : /usr/local/apache/conf/pagespeed.conf

  14. #14
    Registered Member prajithp13's Avatar
    Join Date
    Jun 2012
    Location
    India
    Posts
    20
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Install Mod_Pagespeed in WHM/cPanel using easyapache.

    Mod_pagespeed cpanel EA script is now available on GitHub.

    /https://github.com/pagespeed/cpanel
    Prajith P | Linux Server Management - http://ndimensionz.com | http://prajith.in
    System Administration Expert

  15. #15
    Registered User
    Join Date
    Aug 2012
    Location
    Bucuresti, Romania
    Posts
    4
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Install Mod_Pagespeed in WHM/cPanel using easyapache.

    So prajithp13, is mod_pagespeed compatibile with apachebooster ? If not, which perform better cpanel + apachebooster OR cpanel + nginx + mod_pagespeed ?

    Can be mod_pagespeed configured for nginx in this configuration ?

    Regards.

Page 1 of 2 12 LastLast

Similar Threads

  1. Remove Mod_Pagespeed
    By nakatesanjay in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 08-08-2014, 12:42 AM
  2. How to install mod_pagespeed
    By pauloray in forum EasyApache
    Replies: 4
    Last Post: 01-27-2014, 07:43 AM
  3. mod_pagespeed and cPanel Support
    By logicalor in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 10-03-2013, 07:41 AM
  4. New Apache mod_pagespeed from Google
    By nochance in forum Feature Requests for cPanel & WHM
    Replies: 54
    Last Post: 10-20-2012, 01:59 AM
  5. Mod_pagespeed for cPanel
    By sh4ka in forum Optimization
    Replies: 1
    Last Post: 11-04-2010, 10:59 AM

Tags for this Thread

bargain