Welcome to Centmin Mod Community
Register Now

Nginx PageSpeed Pagespeed didn't work for me

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Maester Aemon, Mar 24, 2016.

  1. Maester Aemon

    Maester Aemon New Member

    20
    3
    3
    Mar 24, 2016
    Ratings:
    +5
    Local Time:
    12:22 PM
    1.9.12
    Pagespeed version included in the centmin.sh did not work for me.


    It never got recognized when trying to start nginx.
    If anyone is having the same problem, try changing the version to
    Code:
    NGXPGSPEED_VER='1.9.32.13-beta'
    NGINX_PAGESPEEDPSOL_VER='1.9.32.13'
    That fixed it for me.
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    9:22 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. Maester Aemon

    Maester Aemon New Member

    20
    3
    3
    Mar 24, 2016
    Ratings:
    +5
    Local Time:
    12:22 PM
    1.9.12
    I used this to install centminmod
    Code:
    yum -y install git wget nano bc unzip
    cd /usr/local/src
    git clone https://github.com/centminmod/centminmod.git centminmod
    cd centminmod      
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    9:22 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  5. Maester Aemon

    Maester Aemon New Member

    20
    3
    3
    Mar 24, 2016
    Ratings:
    +5
    Local Time:
    12:22 PM
    1.9.12
    Do you think that I may encouter problems with my solution?
    Should I go with 123.09 and re-install it?
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    9:22 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    don't need to reinstall if you already loaded data onto vps server - just follow 1st post instructions at Beta Branch - Centmin Mod .09 beta branch Testing | Centmin Mod Community to update to 123.09beta01. However, if it's virgin vps with no data, a reload of OS and reinstall of 123.09beta01 would be better :)

    Upgrading Centmin Mod Code to Latest Version



    Getting Started Guide step 19 outlines also how to keep Centmin Mod code updated or how to switch version branches.

    Centmin Mod LEMP stack's script code is constantly updated for improvements, bug fixes and security fixes so keeping the Centmin Mod code up to date is important. With Centmin Mod 1.2.3-eva2000.08) (123.08stable) and higher releases, a newly added centmin.sh menu option 23 allows much easier code updates and version branch swicthing via Git backed environment you can setup. For full details read the following links:
    Upgrading Centmin Mod involves 2 parts.
    1. Upgrading the actual Centmin Mod code outlined at Upgrade Centmin Mod. This is heart of Centmin Mod where the code is the engine that runs centmin.sh shell based menu and all the automation you're accustomed to. You can easily update within a Centmin Mod version branch or switch version branches via centmin.sh menu option 23 outlined here.
    2. Upgrade software that Centmin Mod installed or manages. For this part following outline at How to upgrade Centmin Mod software installed on your server.
    So essentially, you can upgrade from .07 to .08 in place, but not everything is upgraded as some things like server initial environment setup isn't changed i.e. how swap, tmp setup and allocation are created etc. The main parts from part 2 above are what in place upgrades do i.e. Nginx and PHP-FPM compilation and config/settings parameters and MariaDB version from 5.5 to 10.0.x. If you want the full environment changed including tmp and swap setup to .08's configuration, then you would need a fresh OS install and fresh .08 initial install. You can think of it like upgrading Windows 7 to Windows 8. An in place upgrade will upgrade code but won't change your computer environment from when you installed Windows 7 i.e. disk configuration and partition sizes won't change from when you initially installed Windows 7. Only way to change that would be fresh Windows 8 install.