Results 1 to 8 of 8

Thread: mod_pagespeed on Linux VPS (plesk)

  1. #1
    bigbang is offline Junior Member
    Join Date
    Apr 2011
    Location
    Dublin, Ireland
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default mod_pagespeed on Linux VPS (plesk)

    Hello all, I'm new to this forum, to SSH and VPS hosting.

    I’m trying to install Google’s mod_pagespeed for Apache on Linux (Debian) VPS hosting (with Plesk).

    I've tried the following;

    • Plesk > System > Modules > Manage Modules > Add Module > Upload New Module > mod-pagespeed-beta_current_amd64
      Error: The uploaded file is not a supported module package.

    • Plesk > Virtuozzo > SSH Connection > Login
      I can log in, but cannot type.

    • Putty
      After logging in I get an alert box - 'connection closed by remote host'

  2. #2
    blacknight's Avatar
    blacknight is offline Administrator Site Admin
    Join Date
    Aug 2003
    Location
    Ireland
    Posts
    939
    Thanks
    0
    Thanked 19 Times in 18 Posts

    Default

    Which user are you trying to SSH in as?

    The modules in Plesk are Plesk modules - not Apache modules
    Please do not send me PMs for support issues - thanks for your understanding.
    Blacknight Blog | VPS Hosting| Blacknight Technical Status Blog | Hosting Wiki |Speed Test|Find Great Domains|Personal Blog

  3. #3
    bigbang is offline Junior Member
    Join Date
    Apr 2011
    Location
    Dublin, Ireland
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Same login username and password as my account - seems to get me in through putty but then shuts me down.

  4. #4
    blacknight's Avatar
    blacknight is offline Administrator Site Admin
    Join Date
    Aug 2003
    Location
    Ireland
    Posts
    939
    Thanks
    0
    Thanked 19 Times in 18 Posts

    Default

    Ok

    That won't work

    In order to install anything onto a linux machine (or virtual machine) you need to be "root"

    HOWEVER

    Your VPS has Plesk, so please note that you may end up breaking Plesk if you install Apache modules that are not supported.
    Please do not send me PMs for support issues - thanks for your understanding.
    Blacknight Blog | VPS Hosting| Blacknight Technical Status Blog | Hosting Wiki |Speed Test|Find Great Domains|Personal Blog

  5. #5
    bigbang is offline Junior Member
    Join Date
    Apr 2011
    Location
    Dublin, Ireland
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default [Solved] mod_pagespeed on Linux VPS (plesk)

    Page Speed Downloads

    Login to SSH using root as username.
    Code:
    cd /usr/src/
    
    // Debian~Ubuntu
    wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-beta_current_amd64.deb
    
    // CentOS~Fedora
    wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-beta_current_x86_64.rpm
    
    dpkg -i mod-pagespeed-*.deb
    
    apt-get -f install

    Create a .php file containing the following and upload it to the server:
    PHP Code:
    <?php
    echo phpinfo();


    Plesk seems to be still working fine.

  6. #6
    blacknight's Avatar
    blacknight is offline Administrator Site Admin
    Join Date
    Aug 2003
    Location
    Ireland
    Posts
    939
    Thanks
    0
    Thanked 19 Times in 18 Posts

    Default

    Glad to hear it
    Please do not send me PMs for support issues - thanks for your understanding.
    Blacknight Blog | VPS Hosting| Blacknight Technical Status Blog | Hosting Wiki |Speed Test|Find Great Domains|Personal Blog

  7. #7
    joes is offline Junior Member
    Join Date
    Jan 2009
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hi BigBang,

    Thanks for the update above, good to know that it is possible and didn't affect Plesk.

    Just wondering how you are finding it? Do you notice much difference for the overall site speed and/or how many resources it is using for you on the VPS?

    Cheers,

    Joe

  8. #8
    bigbang is offline Junior Member
    Join Date
    Apr 2011
    Location
    Dublin, Ireland
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hey Joes,
    I've only just purchased VPS hosting and haven't finished setting up the server yet, I haven't had a great opportunity to test it fully and mess about with the config. Here's a link to the docs it looks to be highly configurable:
    Using mod_pagespeed

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Content Relevant URLs by vBSEO 3.6.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20