Discover Centmin Mod today
Register Now

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,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:57 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    no 5.6.29 is default for betainstaller.sh but there's listed in 1st post of this thread a betainstaller-latest.sh which has php 7.0.14 so 2 separate install scripts

    php update is option 5 not 4 ;)

    is this bug repeatable or only happened once ? i can't reproduce this.

     
  2. Mask

    Mask Active Member

    108
    31
    28
    Nov 10, 2014
    Ratings:
    +37
    Local Time:
    9:57 PM
    Nginx 1.9.1
    MariaDB 10.0.19
    Is it supposed to check for updates every time we try to exit it ?? (with #24)
    I just rebooted and testing it again. I am not getting a loop but with doing nothing and going for #24 again checks for yum update which takes a while.
     

    Attached Files:

    • CMM.txt
      File size:
      2.2 KB
      Views:
      0
  3. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:57 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yes it is suppose to check for updates on exit every time and report if there is an update or not
     
  4. Mask

    Mask Active Member

    108
    31
    28
    Nov 10, 2014
    Ratings:
    +37
    Local Time:
    9:57 PM
    Nginx 1.9.1
    MariaDB 10.0.19
    Can we disable the update check ?
     
  5. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:57 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    no it's important otherwise you can break Centmin Mod LEMP stack due to most common imagemagick updates via remi repo and other updates

    if there's yum updates you should see
    Code (Text):
    
     checking for YUM updates... please wait...
    
    -------------------------------------------------------------
      New YUM Updates available for host sys.centminmod.com
    -------------------------------------------------------------
      To list available YUM Updates type: 
    -------------------------------------------------------------
      yum list updates --disableplugin=priorities --enablerepo=remi
    
    -------------------------------------------------------------
      To updates type: 
    -------------------------------------------------------------
      yum update --disableplugin=priorities --enablerepo=remi
    
    -------------------------------------------------------------
     Centmin Mod local code is up to date at /usr/local/src/centminmod
     no available updates at this time...
    -------------------------------------------------------------
    


    after you run suggested command
    Code (Text):
    yum update --disableplugin=priorities --enablerepo=remi
    

    no updates you should see
    Code (Text):
     checking for YUM updates... please wait...
     no YUM updates available
    -------------------------------------------------------------
     Centmin Mod local code is up to date at /usr/local/src/centminmod
     no available updates at this time...
    -------------------------------------------------------------
    
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:57 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Last edited: Jan 2, 2017
  7. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:57 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  8. RB1

    RB1 Active Member

    292
    75
    28
    Nov 11, 2016
    California
    Ratings:
    +122
    Local Time:
    8:57 AM
    Nginx 1.21.x
    MariaDB 10.1.x
    What happens when 123.09beta01 becomes stable version? Does a simple git update work or do we need to recompile?
     
  9. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:57 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    see 1st post on how to switch branch versions using centmin.sh menu option 23 submenu option 3. You are prompted for branch version you want to switch to ie.. 123.09beta01 and later 123.09stable :)
     
  10. RB1

    RB1 Active Member

    292
    75
    28
    Nov 11, 2016
    California
    Ratings:
    +122
    Local Time:
    8:57 AM
    Nginx 1.21.x
    MariaDB 10.1.x
    Ahh it's really that easy? Cool :)
    I know of that branch switching function but I wasn't sure if it was different when beta turns into stable.
     
  11. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:57 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yup that easier switching branches switches the code Centmin Mod runs, but may need to run a few centmin.sh menu options to use that code i.e. centmin.sh menu option 4,5 and 15 are some that I can think of you would want to run to make sure latest nginx, php and imagick php extensions are used after switching branches.

    Of course 123.09beta01 and higher had improvements to centmin.sh menu option 23 since 123.08stable https://community.centminmod.com/th...on-23-for-better-efficiency-performance.6113/ :)
     
  12. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:57 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  13. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:57 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    123.09beta01 CRYPTO_DEVTOOLSETGCC



    Add new variable CRYPTO_DEVTOOLSETGCC='n' which defaults to disabled. When set to CRYPTO_DEVTOOLSETGCC='y' in persistent config file /etc/centminmod/custom_config.inc and you recompile nginx via centmin.sh menu option 4 then LibreSSL (default used with LIBRESSL_SWITCH='y') or OpenSSL (alternate when LIBRESSL_SWITCH='n') source compile will use newer Intel GCC 5.2 via devtoolset-4 for CentOS 6/7 if it detects Intel processors.

    https://community.centminmod.com/th...e-support-for-libressl-or-openssl-com….10071/
     
  14. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    5:57 PM
    Nginx 1.17.9
    MariaDB 10.3.22
    Any benefitials for this?
     
  15. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:57 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    it's like NGINX_DEVTOOLSETGCC and GENERAL_DEVTOOLSETGCC

    When CRYPTO_DEVTOOLSETGCC enabled it uses newer GCC 5.3.1 compiler to compile LibreSSL/OpenSSL with intel cpu optimised options for potentially faster resulting LibreSSL/OpenSSL binaries compared to CentOS 6 GCC 4.4.7 and CentOS 7 GCC 4.8.5 compilers with may not support all modern Intel processor's new features. Difference doesn't seem much right now for my testing, hence disabled by default. But i don't have access to the newer Intel Xeon E3/E5 v4/v5 processors to test. If you use E3-12xx v5 or E5-16xx v4 or E5-26xx v4 maybe more useful
     
  16. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:57 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  17. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:57 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Added new variables to insert new Nginx and PHP GCC and CFLAG options via persistent config file + new variables to specifically enable -gsplit-dwarf flag for Nginx and PHP compiles to potentially lower memory and disk i/o usage and speed up compile link times when variables enabled https://community.centminmod.com/th...itdwarf-ngxextra_ccopt-phpextra_cflag….10269/. The discussion was at https://community.centminmod.com/posts/44072/

    Also added NGX_LDGOLD to enable ld.gold linker for nginx compiles https://community.centminmod.com/threads/10271/
     
    Last edited: Feb 1, 2017
  18. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:57 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  19. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:57 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  20. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:57 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+