Discover Centmin Mod today
Register Now

Upgrade 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 New Member

    25
    8
    3
    Feb 2, 2017
    Ratings:
    +13
    Local Time:
    12:12 AM
    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 Premium Member Premium Member

    1,114
    247
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +596
    Local Time:
    12:12 AM
    1.13.x
    MariaDB 10.1.x
    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.
     
    • Like Like x 2
  3. eva2000

    eva2000 Administrator Staff Member

    30,195
    6,789
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,144
    Local Time:
    2:12 PM
    Nginx 1.13.x
    MariaDB 5.5
    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.
     
    • Like Like x 2
  4. eva2000

    eva2000 Administrator Staff Member

    30,195
    6,789
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,144
    Local Time:
    2:12 PM
    Nginx 1.13.x
    MariaDB 5.5
    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
    • Like Like x 1