Learn about Centmin Mod LEMP Stack today
Register Now

Nginx Nginx 1.9.0 released

Discussion in 'Nginx and PHP-FPM news & discussions' started by rdan, Apr 29, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    44,750
    10,205
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,816
    Local Time:
    10:32 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    much easier way.. I've been updating most of my .07 servers to .08 beta 02 already via git command line method = Upgrade - Working with git command line for updating Centmin Mod local copies | Centmin Mod Community :)

    Once git command line method is in place, updating Centmin Mod .08 beta 02 is easy

    Code:
    [root@centmin-v1.2.3mod]# git stash; git pull; chmod +x centmin.sh 
    
    Saved working directory and index state WIP on 123.08centos7beta02: 8900dd5 nginx 1.8.0 default for .08 beta
    HEAD is now at 8900dd5 nginx 1.8.0 default for .08 beta
    Updating 8900dd5..bb29a8a
    Fast-forward
    centmin.sh               |   33 +++++++++++++++++++++++----------
    inc/compress.inc         |    4 ++--
    inc/nginx_configure.inc  |   16 ++++++++++++++--
    inc/pureftpd.inc         |    7 ++++---
    inc/xcache_reinstall.inc |    4 ++--
    inc/yuminstall.inc       |   10 ++++++++--
    6 files changed, 53 insertions(+), 21 deletions(-)
    
    checking last 8 commited changes to Centmin Mod .08 beta 02 branch
    Code:
    [root@centmin-v1.2.3mod]# git log -8
    commit bb29a8adcde011185315d2632347e2885ebdb4e2
    Author: George Liu <snipped>
    Date:   Fri May 1 21:33:10 2015 +1000
    
        update inc/compress.inc p7zip version
    
    commit d8d2b46cdebfe3434d3e039bfe7f32f15a0d96d8
    Author: George Liu <snipped>
    Date:   Wed Apr 29 16:14:58 2015 +1000
    
        ImageMagick-last remi dependency workaround for libwebp on el6
    
    commit c713cf23dd77f51a5e4b844ccd3a3eaa569696a7
    Author: George Liu <snipped>
    Date:   Wed Apr 29 16:14:26 2015 +1000
    
        disable nginx-sticky-module by default not compatible nginx 1.9
    
    commit 4300b82d05668a9b5ca29662345c9ab36d47c29c
    Author: George Liu <snipped>
    Date:   Wed Apr 29 15:00:37 2015 +1000
    
        add nginx 1.9 stream core module support in .08 beta
    
    commit 74e53cb766825061d52c00a08f1cccb35430e88b
    Author: George Liu <snipped>
    Date:   Wed Apr 29 03:32:43 2015 +1000
    
        nginx 1.9.0 default for .08 beta
    
    commit 637e629021e203075a35441c6092889fae8976e5
    Author: George Liu <snipped>
    Date:   Mon Apr 27 15:23:37 2015 +1000
    
        update centmin.sh fix misplaced curly bracket for .08 beta
    
    commit 636fa07c5199c0c504d622ee2a34c129cd6b06e2
    Author: George Liu <snipped>
    Date:   Sun Apr 26 19:54:27 2015 +1000
    
        update inc/pureftpd.inc pure-ftpd.pem location
    
    commit 148f044c64c9d5fc2eb288afc59e38d01086a5d3
    Author: George Liu <snipped>
    Date:   Sun Apr 26 19:14:34 2015 +1000
    
        Memcached server 1.4.24 default for .08 beta
    
     
    Last edited: May 2, 2015
  2. Eduardo

    Eduardo Member

    38
    3
    8
    Feb 7, 2015
    Ratings:
    +5
    Local Time:
    9:32 AM
    1.7.9
    there's any way to keep my settings when update? (centmin settings, not nginx)
     
  3. eva2000

    eva2000 Administrator Staff Member

    44,750
    10,205
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,816
    Local Time:
    10:32 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    You'll have to make note of your changes BEFORE update, and re-apply them after updating Centmin Mod code/script updates. But your nginx, php-fpm and mariadb mysql settings should all remain intact, just not your custom changes to centmin.sh and related Centmin Mod code/settings. If you're familar with git/github version management, you could setup your own github repo with custom centmin mod code via git clone of my official repo at centminmod/centminmod ยท GitHub and make changes to your own separate branch
     
  4. Eduardo

    Eduardo Member

    38
    3
    8
    Feb 7, 2015
    Ratings:
    +5
    Local Time:
    9:32 AM
    1.7.9
    why not create an geral config.inc to keep basic settings like pushover mail, timezone, install pagespeed or no, install nsd or no, etc...
     
  5. eva2000

    eva2000 Administrator Staff Member

    44,750
    10,205
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,816
    Local Time:
    10:32 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    yeah thinking about doing that for email at least just have an include file near button of all centmin.sh options which can override the centmin.sh set ones
     
  6. eva2000

    eva2000 Administrator Staff Member

    44,750
    10,205
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,816
    Local Time:
    10:32 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  7. Eduardo

    Eduardo Member

    38
    3
    8
    Feb 7, 2015
    Ratings:
    +5
    Local Time:
    9:32 AM
    1.7.9
    that was fast!
    it can override all variables?

    ie:
    NSD_INSTALL
    NGINX_PAGESPEED
     
  8. eva2000

    eva2000 Administrator Staff Member

    44,750
    10,205
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,816
    Local Time:
    10:32 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    yes any variables set in centmin.sh if placed in /etc/centminmod/custom_config.inc, will be overridden and persist between centmin mod code updates (details)