Welcome to Centmin Mod Community
Become a Member

Upgrade PHP-FPM Beta Branch Centmin Mod .09 beta branch Testing

Discussion in 'Beta release code' started by eva2000, Aug 12, 2015.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    GCC 8 is experimental and still in beta so Centmin Mod support is not publicly available - only privately tested right now. GCC 7.2 has been tested for ages now so solid :)

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  4. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  5. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  6. Qu Don

    Qu Don Member

    79
    7
    8
    Aug 21, 2017
    Brooklyn, New York
    Ratings:
    +22
    Local Time:
    7:53 AM
  7. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yup it enables some of the optional persistent config settings too including enabling ngx_pagespeed by default
     
  8. Qu Don

    Qu Don Member

    79
    7
    8
    Aug 21, 2017
    Brooklyn, New York
    Ratings:
    +22
    Local Time:
    7:53 AM
    Thank you! (y)
     
  9. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  10. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    FYI for convenience a centmin mod 123.09beta01 cminfo update allows for doing debug-menuexit log run which is the more convenient automated way of running the manual debug centmin.sh menu option 24 cmds at Checking for yum updates every time you exit. Used for debugging slow centmin.sh menu 24 exits saving a debug log to /root/centminlogs/debug-menuexit.txt and calculating the yum check time/duration.
    Code (Text):
    cminfo debug-menuexit
    
    ------------------------------------------------------------------
    Debugging centmin.sh menu option 24 exit routine starting
    Please wait until complete...
    ------------------------------------------------------------------
    Full debug log saved at /root/centminlogs/debug-menuexit.txt
    
    Inspect Yum Check Times In debug-menuexit.txt log
    
    2018-04-12 06:36:59 + echo ' checking for YUM updates... please wait...'
    2018-04-12 06:36:59  checking for YUM updates... please wait...
    2018-04-12 06:36:59 + [[ -f /etc/yum.repos.d/remi.repo ]]
    2018-04-12 06:36:59 ++ /usr/bin/yum --disableplugin=priorities,versionlock -e 0 -d 0 check-update --enablerepo=remi '--exclude=nginx* php* mysql*'
    2018-04-12 06:37:33 ++ echo 100
    2018-04-12 06:37:33 + UPDATE_CHECK=100
    2018-04-12 06:37:33 + [[ 100 = \1\0\0 ]]
    
    Yum Check Duration: 34.00 seconds
    
    ------------------------------------------------------------------
    Debugging centmin.sh menu option 24 exit routine completed
    ------------------------------------------------------------------
     
  11. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  12. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  13. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Cloudflare using folks might want to use this newly added variable VHOSTCTRL_CLOUDFLAREINC to enable csfcf.sh cloudflare.conf include in newly created Nginx vhost config files as outlined at csfcf.sh - automate Cloudflare Nginx & CSF Firewall setups. In persistent config file /etc/centminmod/custom_config.in set
    Code (Text):
    VHOSTCTRL_CLOUDFLAREINC='y'
    

    Once set, just create nginx vhost normally via centmin.sh menu option 2, 22 or nv command.

    You would of needed to update Centmin Mod 123.09beta01 code first via SSH command
    Code (Text):
    cmupdate
    

    or via centmin.sh menu option 23 submenu option 2 then exit centmin.sh

    Full details at Beta Branch - add VHOSTCTRL_CLOUDFLAREINC & VHOSTCTRL_AUTOPROTECTINC variables
     
  14. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  15. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  16. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  17. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  18. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Updated 123.09beta01 with gitclean.txt control file gitclean.txt | Centmin Mod Community Support Forums

    • Update both centmin mod cmupdate and centmin.sh menu option 23 submenu option 2 to check whether or not Github repository has been cleaned and history rewritten due to maintenance tasks needed in the future. For example, reducing size of Github repo will involve rewriting the git repositories commit history.
    • Normal git pull updates won't work after commit history is rewritten so these updated changes will allow cmupdate.sh and centmin.sh menu option 23 submenu option 2 to check the gitclean.txt control file hosted on github.com repo to determine if a git pull is adequate or if a fresh git clone is required.
     
  19. BoostN

    BoostN Active Member

    134
    27
    28
    Aug 19, 2014
    Ratings:
    +42
    Local Time:
    6:53 AM
    1.13.6
    10.0.34
    If I use the beta installer command from the install page, am I getting the latest updates you're posting here?
     
  20. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    You get latest at time of install. To get subsequent updates, Getting Started Guide step 19 outlines also how to keep Centmin Mod code updated or how to switch version branches or you can run cmupdate command that was recently added.

    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 switching via Git backed environment you can setup.

    For 123.08stable that means centmin.sh menu option 23 submenu option 2 (if you previously ran submenu option 1) first, then exit centmin.sh, re-enter /usr/local/src/centminmod and re-run centmin.sh menu.

    For 123.09beta01 and higher that means running SSH command = cmupdate and then re-enter /usr/local/src/centminmod and re-run centmin.sh menu.

    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.