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

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Centmin Mod 123.09beta01 has Letsencrypt SSL integration in beta testing so is not enabled by default on centmin.sh menu option 2, 22 or nv command based Nginx vhost site creation routines. However, some new users are unaware thinking the self-signed SSL vhost questions at centmin.sh menu option 2 or 22 are fully web browser trusted SSL certificates. So to tackling this confusion, I've updated 123.09beta01's centmin.sh menu option 2 and 22 with additional notice message to detail this.

    Example centmin.sh menu option 2 run.

    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB MySQL Upgrade & Management
    12). Zend OpCache Install/Re-install
    13). Install/Reinstall Redis PHP Extension
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 2
    --------------------------------------------------------
    

    Code (Text):
    ---------------------------------------------------------------
    Important Information
    ---------------------------------------------------------------
    
    You are about to create an Nginx vhost site account with/without
    HTTPS/SSL support. Details of this process are outlined on site
    at centminmod.com/nginx_domain_dns_setup.html. Also read the
    continually updated Getting Started Guide for Centmin Mod usage
    at centminmod.com/getstarted.html which covers the pure-ftpd
    ftp username that is auto generated with the Nginx vhost site.
    ---------------------------------------------------------------
    403 Permission denied message handling
    if after vhost site setup you encounter 403 permission denied errors,
    check https://community.centminmod.com/threads/7308/ to see if your
    site needs tools/autoprotect.sh tweaking/whitelisting
    ---------------------------------------------------------------
    [ LETSENCRYPT_DETECT is not enabled ]
    Ignore this message if you do not want HTTPS based web site otherwise
    read below carefully.
    
    Free letsencrypt SSL certificates integration is in beta testing if
    you want to obtain free letsencrypt SSL certificate for HTTPS site,
    you will need to manually enable LETSENCRYPT_DETECT='y' outlined
    at https://centminmod.com/acmetool so exit this vhost routine first
    set LETSENCRYPT_DETECT='y' and update domain DNS A record first
    then re-run vhost site creation menu option
    ---------------------------------------------------------------
    
    Do you want to continue with Nginx vhost site creation ? [y/n] n
    
    aborting Nginx vhost setup..
    

    Here if user wanted free Letsencrypt SSL certificate, they can answer no to abort vhost setup, then follow instructions outlined at centminmod.com/acmetool/ to enabling LETSENCRYT_DETECT='y' and updating domain DNS A record to server IP address, and then re-running centmin.sh menu option 2 or 22 to create their Nginx vhost site + Letsencrypt SSL based HTTPS.

     
  2. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  4. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  5. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  6. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  7. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    CentOS 7 EPEL Fixes



    Updated both Centmin Mod 123.08stable and 123.09beta01 builds. Issue applies to CentOS 7 servers only. A recent EPEL libc-client & uw-imap-devel package bugged YUM updates may have broken both PHP updates and ability to properly do yum updates. It's important to update your Centmin Mod 123.08stable or 123.09beta01 local code on your server to fix this via centmin.sh menu option 23 submenu option 2 update + a re-run of centmin.sh after update to apply fix automatically. Without updating, you will not be able to properly do PHP upgrades or run YUM updates.

    For details for bug and fix outlined at Beta Branch - CentOS 7 workaround fix for EPEL uw-imap-devel & libc-client issues

    Fixed CentOS 7 systems should have version locked 2007f-16 based libc-client and uw-imap-devel EPEL yum packages listed from command
    Code (Text):
    yum versionlock list
    

    Code (Text):
    yum versionlock list
    Loaded plugins: fastestmirror, priorities, versionlock
    0:libc-client-2007f-16.el7.*
    0:uw-imap-devel-2007f-16.el7.*
    versionlock list done
    

    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:
     
    Last edited: Aug 3, 2017
  8. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  9. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Add new php 7.1.8+ default installer :D
    Code (Text):
    yum -y update; curl -O https://centminmod.com/betainstaller71.sh && chmod 0700 betainstaller71.sh && bash betainstaller71.sh
     
  10. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Updated Centmin Mod 123.09beta01 to do away with future imagick PHP complaints/errors when ImageMagick6 system packages are updated Beta Branch - update inc/imagick_install.inc - versionlock ImageMagick6. For existing 123.09beta01 users, just update via centmin.sh menu option 23 submenu option 2, exit centmin.sh, re-run centmin.sh with menu option 15 to lock in your ImageMagick6 versions.
     
  11. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  12. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  13. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Updated both Centmin Mod 123.08stable and 123.09beta01 builds to update Varnish Cache 4.1 yum repo hosting/url changes outlined at https://community.centminmod.com/threads/update-varnish-cache-4-1-yum-repo-setup-routine.12770/

    To update your Centmin Mod builds, use centmin.sh menu option 23 submenu option 2 and follow instructions at centminmod.com/upgrade.html and respective version threads below:
     
  14. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  15. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  16. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    MariaDB CentOS 7.4 Workaround Fix



    Updated both Centmin Mod 123.08stable and 123.09beta01 builds with permanent workaround fix for MariaDB MySQL server not restarting after CentOS 7.4 updates. The issue is CentOS 7.4 only issue and MariaDB 10.1 I believe as systemd protections didn't get added until MariaDB 10.1. So CentOS 6 and MariaDB 10.0.x users (123.08stable) would probably not experience the issue. Details here MariaDB MySQL Not Restarting After CentOS 7.4 Update Fix

    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:
    After updating Centmin Mod, run centmin.sh one more time for fix to auto populate to /etc/systemd/system/mariadb.service.d/protecthome.conf which should now contain
    Code (Text):
    [Service]
    ProtectSystem=false
    ProtectHome=false
    

    When you re-run centmin.sh on updated code, you will get a one time message like below:
    Code (Text):
    ./centmin.sh 
    
    Update MariaDB 10 setting for ProtectSystem=false addition
    
     
    Last edited: Sep 14, 2017
  17. Qu Don

    Qu Don Member

    79
    7
    8
    Aug 21, 2017
    Brooklyn, New York
    Ratings:
    +22
    Local Time:
    10:41 PM
    Is this the default beta installer that gives you all the latest version with fixes?

    Code:
    yum -y update; curl -O https://centminmod.com/betainstaller71.sh && chmod 0700 betainstaller71.sh && bash betainstaller71.sh
     
  18. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    that is PHP 7.1 default version

    for latest it's
    Code (Text):
    yum -y update; curl -O https://centminmod.com/betainstaller-latest.sh && chmod 0700 betainstaller-latest.sh && bash betainstaller-latest.sh
     
  19. Qu Don

    Qu Don Member

    79
    7
    8
    Aug 21, 2017
    Brooklyn, New York
    Ratings:
    +22
    Local Time:
    10:41 PM
    Thanks this is a lot easier for me
     
  20. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+