Want more timely Centmin Mod News Updates?
Become a Member

Upgrade Nginx Redis Insight Guide Where to keep track of when to update CentOS & Centmin Mod

Discussion in 'Centmin Mod Insights' started by marc3000, Mar 12, 2017.

  1. marc3000

    marc3000 Member

    37
    9
    8
    Feb 2, 2017
    Ratings:
    +19
    Local Time:
    9:28 PM
    I always know when there is a new version of xenforo because i go to their websites and inside the announcements forum, they put when there is a new version , so thats how i know when to update

    but i'm confused about centOS & Centmin mod


    when there is a new version of Cenmin Mod, will it update all 4 features in one shot? (CentOS, nginx, mariaDB & php)?

    or do i have to upgrade them individually?

    also, where exactly do i go to find out when there is a new version available, on the centos website, php website, mariadb website, and nginx website?


    i'm a little confused
     
  2. Jimmy

    Jimmy Well-Known Member

    1,778
    388
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +987
    Local Time:
    9:28 PM
    No.

    Yes.

    Yes.

    One of the reasons @eva2000 took the time to create the FAQ.
    FAQ - CentminMod.com LEMP Nginx web stack for CentOS

    I highly suggest that you read the entire centminmod.com website before using centminmod. It explains pretty much everything.
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    11:28 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    For Centmin Mod updates think of it like Windows updates and software updates. They are separate items so involve 2 parts.

    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 one version branch to another i.e. 123.08stable to 123.09beta01 or higher 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.
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    11:28 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    best place is watching/subscribe to the software news forums all nginx, php and centos relevant updates especially for security get posted to them https://community.centminmod.com/categories/software-news.17/. Each forum has a RSS icon next to it's last thread linked name, so you can even subscribe within your RSS feed aggregator/app or mobile/desktop etc.

    Just look at past threads posted for nginx, php, mariadb, centos security, openssl, libressl updates as an example. Also if it's security or critical updates, I will send out a forum mailing to all forum members, then to web push browser notifications if you subscribed and then to all Centmin Mod social media accounts (top right header of forum has links).

    If you use Centmin Mod 123.09beta01, there's also in shell native updater alerts when you log in via SSH for yum and centmin mod updates as well as when you exit centmin.sh menu

    example of exiting centmin.sh menu option 24 when there are system yum updates
    Code (Text):
     checking for YUM updates... please wait...
    
    -------------------------------------------------------------
      New YUM Updates available for host xeon.centminmod
    -------------------------------------------------------------
      To list available YUM Updates type:
    -------------------------------------------------------------
      yum list updates --disableplugin=priorities --enablerepo=remi
    
    -------------------------------------------------------------
      To update 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...
    -------------------------------------------------------------
    

    example of when you log into Centmin Mod 123.09beta01 server when no Centmin Mod code updates in /usr/local/src/centminmod are available
    Code (Text):
    ===============================================================================
     Centmin Mod local code is up to date at /usr/local/src/centminmod
     no available updates at this time...
    ===============================================================================
    

    when updates are available
    Code (Text):
    ===============================================================================
     Centmin Mod code updates available for /usr/local/src/centminmod
     to update re-run centmin.sh menu option 23 submenu option 2
    ===============================================================================
    

    if updates for Centmin Mod code available can use centmin.sh menu option 23 submenu option 2 or just git pull from command line as both do same thing i.e.
    Code (Text):
    cd /usr/local/src/centminmod
    git stash
    git pull
    
     
    Last edited: Mar 12, 2017