Join the community today
Become a Member

Centmin Mod 124.00stable & 130.00beta01 Releases

Discussion in 'Centmin Mod News' started by eva2000, May 8, 2022.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    53,484
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    1:04 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Centmin Mod has new stable and beta version branch released now. The documentation is lagging behind but thought I'd get them out now. This thread will be updated with more info as the week goes by. To subscribe or register on the forums to be able to watch this thread and get notifications of updates.

    As of May 8th, 2022, Centmin Mod versions are undergoing a transition version branch wise:
    1. The previous 123.08stable is now moving to 124.00stable. 124.00stable is essentially based on the well-tested 123.09beta01 branch. All development and changes made in 123.09beta01 are now in 124.00stable.
    2. Previous 123.09beta01 code is now in 124.00stable
    3. A new 130.00beta01 branch has started and this is also based on the 123.09beta01 branch but with additional development and code to eventually support EL8+ operating systems like CentOS 8, Alma Linux 8 and Rocky Linux 8. This branch will take over from 123.09beta01 as the development beta branch. EL8+ operating system support isn't fully complete as at May 8th, 2022. So installation on CentOS 7.x is recommended. However, as of November 1, 2023 - Centmin Mod 130.00beta01 now has public beta out for testing for EL8+ support i.e. AlmaLinux or Rocky Linux https://community.centminmod.com/th...almalinux-8-rocky-linux-8-beta-testing.24227/
    Centmin Mod 124.00stable
    Centmin Mod 130.00beta01
    Fresh installations use the same method as previous stable and beta versions as outlined at Centmin Mod LEMP Stack Install Nginx on CentOS

    A Centmin Mod 124.00stable fresh install with PHP 7.4 default will use install command
    Code (Text):
    yum -y update; curl -O https://centminmod.com/installer.sh && chmod 0700 installer.sh && bash installer.sh
    

    And Centmin Mod 130.00beta01 fresh install with PHP 7.4 default will use install command
    Code (Text):
    yum -y update; curl -O https://centminmod.com/betainstaller.sh && chmod 0700 betainstaller.sh && bash betainstaller.sh
    

    Centmin Mod 130.00beta01 fresh install with PHP 8.0 default
    Code (Text):
    yum -y update; curl -O https://centminmod.com/betainstaller80.sh && chmod 0700 betainstaller80.sh && bash betainstaller80.sh
    

    Centmin Mod 130.00beta01 fresh install with PHP 8.1 default
    Code (Text):
    yum -y update; curl -O https://centminmod.com/betainstaller81.sh && chmod 0700 betainstaller81.sh && bash betainstaller81.sh
    


     
  2. eva2000

    eva2000 Administrator Staff Member

    53,484
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    1:04 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    How To Update from 123.09beta01 to 124.00stable



    To update from Centmin Mod 123.09beta01 to 124.00stable run these commands which:
    1. First updates cmupdate tool to support 124.00stable and 130.00beta01 updating.
    2. Then runs cmupdate update-stable command to switch to 124.00stable
    3. cmdir is the command shortcut equivalent of
      Code (Text):
      cd /usr/local/src/centminmod
    4. centmin is command shortcut equivalent of running centmin.sh from /usr/local/src/centminmod directory.
    Code (Text):
    cmupdate
    cmupdate update-stable
    cmdir
    centmin
    

    example for output for cmupdate update-stable command which does the actual switching to 124.00stable branch.
    Code (Text):
    cmupdate update-stable
    No local changes to save
    Already up-to-date.
    Switching local code branch to 124.00stable
    
    Cloning into 'centminmod'...
    remote: Enumerating objects: 635, done.
    remote: Counting objects: 100% (635/635), done.
    remote: Compressing objects: 100% (510/510), done.
    remote: Total 635 (delta 191), reused 333 (delta 102), pack-reused 0
    Receiving objects: 100% (635/635), 23.49 MiB | 0 bytes/s, done.
    Resolving deltas: 100% (191/191), done.
    
    Completed. Fresh /usr/local/src/centminmod code base in place
    To run centmin.sh again, you need to change into directory: /usr/local/src/centminmod
    cd /usr/local/src/centminmod
    

    As 124.00stable and 123.09beta01 are essentially the same code right now, there are no real changes other than version number if you're already using 123.09beta01.

    Running centmin (centmin.sh) command shell based menu
    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 124.00stable 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: zstd,pigz,pbzip2,lbzip2
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Data Transfer (TBA)
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 
    
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,484
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    1:04 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    How To Update from 123.09beta01 to 130.00beta01



    To update from Centmin Mod 123.09beta01 to 130.00beta01 run these commands which:
    1. First updates cmupdate tool to support 124.00stable and 130.00beta01 updating.
    2. Then runs cmupdate update-beta command to switch to 130.00beta01
    3. cmdir is the command shortcut equivalent of
      Code (Text):
      cd /usr/local/src/centminmod
    4. centmin is command shortcut equivalent of running centmin.sh from /usr/local/src/centminmod directory.
    Code (Text):
    cmupdate
    cmupdate update-beta
    cmdir
    centmin
    

    example for output for cmupdate update-beta command which does the actual switching to 130.00beta01 branch.
    Code (Text):
    cmupdate update-beta
    No local changes to save
    Already up-to-date.
    Switching local code branch to 130.00beta01
    
    Cloning into 'centminmod'...
    remote: Enumerating objects: 637, done.
    remote: Counting objects: 100% (637/637), done.
    remote: Compressing objects: 100% (508/508), done.
    remote: Total 637 (delta 198), reused 338 (delta 106), pack-reused 0
    Receiving objects: 100% (637/637), 23.51 MiB | 0 bytes/s, done.
    Resolving deltas: 100% (198/198), done.
    
    Completed. Fresh /usr/local/src/centminmod code base in place
    To run centmin.sh again, you need to change into directory: /usr/local/src/centminmod
    cd /usr/local/src/centminmod
    

    As 130.00beta01 and 123.09beta01 are essentially the same code right now, there are no real changes other than version numbers for Centmin Mod itself and for wget if you're already using 123.09beta01. For wget custom version installed by Centmin Mod, 130.00beta01 updated wget from 1.20.3 to 1.21.2 so when you run centmin command (centmin.sh) for the first time it will auto update wget to 1.21.2 version.

    When you run centmin (centmin.sh) command right after cmupdate update-beta run will give
    Code (Text):
    centmin
    /usr/local/src/centminmod /usr/local/src/centminmod
    
    update wget 1.21.2 & pcre 8.45 version... one time task
    

    and you'd end up with wget 1.21.2 installed at /usr/local/bin/wget beside system default wget at /usr/bin/wget - which for CentOS 7 is wget 1.14.
    Code (Text):
    wget --version
    GNU Wget 1.21.2 built on linux-gnu.
    
    -cares +digest -gpgme +https +ipv6 -iri +large-file -metalink +nls
    +ntlm +opie -psl +ssl/openssl
    
    Wgetrc:
        /usr/local/etc/wgetrc (system)
    Locale:
        /usr/local/share/locale
    Compile:
        ccache gcc -std=gnu11 -DHAVE_CONFIG_H
        -DSYSTEM_WGETRC="/usr/local/etc/wgetrc"
        -DLOCALEDIR="/usr/local/share/locale" -I. -I../lib -I../lib -I
        /usr/local/include -I /usr/include -DHAVE_LIBSSL -DNDEBUG -O2 -g
        -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
        -fstack-protector-strong --param=ssp-buffer-size=4
        -grecord-gcc-switches -m64 -mtune=generic
    Link:
        ccache gcc -std=gnu11 -I /usr/local/include -I /usr/include
        -DHAVE_LIBSSL -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
        -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
        -grecord-gcc-switches -m64 -mtune=generic -L /usr/local/lib -lpcre
        -luuid -L /usr/lib64 -lssl -lcrypto -lz ftp-opie.o openssl.o
        http-ntlm.o ../lib/libgnu.a
    
    Copyright (C) 2015 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later
    <http://www.gnu.org/licenses/gpl.html>.
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    
    Originally written by Hrvoje Niksic <hniksic@xemacs.org>.
    Please send bug reports and questions to <bug-wget@gnu.org>.
    


    Running centmin (centmin.sh) command shell based menu
    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 130.00beta01 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: zstd,pigz,pbzip2,lbzip2
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Data Transfer (TBA)
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 
    
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,484
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    1:04 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    How To Update From 123.08stable to 124.00stable/130.00beta01



    Centmin Mod 123.08stable was created before the convenient cmupdate command was added to 123.09beta01 and newer versions. As such you'd need to update the old fashion way via git command lines. Once, you have updated to 124.00stable or 130.00beta01, you will be able to use cmupdate command for future updates.

    You will do a fresh Centmin Mod code replacement by backing up and moving /usr/local/src/centminmod using below commands.

    Replace branchname variable below with branch you want either 124.00stable or 130.00beta01. The cp copy commands backup the key files/vhost/ssl etc first as ALOT of changes have been made from 123.08stable's creation.
    Code (Text):
    branchname=124.00stable
    cp -a /etc/my.cnf /etc/my.cnf-old
    cp -a /usr/local/lib/php.ini /usr/local/lib/php.ini-old
    cp -a /usr/local/etc/php-fpm.conf /usr/local/etc/php-fpm.conf-old
    cp -a /etc/centminmod /etc/centminmod-old
    cp -a /usr/local/nginx/conf /usr/local/nginx/conf-old
    cd /usr/local/src
    mv centminmod centminmod-old
    git clone -b ${branchname} --depth=1 https://github.com/centminmod/centminmod.git centminmod
    cd /usr/local/src/centminmod
    ./centmin.sh

    The last run for centmin.sh syncs any needed changes and will auto update any version numbers for software it sees as needing updating i.e. custom wget version, cache compiler cache version etc.

    Then you can compare all the new and old directory and files manually if needed. For sdiff commands if you only want to see differences side by side add the -s flag after sdiff
    Code (Text):
    sdiff /etc/my.cnf /etc/my.cnf-old
    sdiff /usr/local/lib/php.ini /usr/local/lib/php.ini-old
    sdiff /usr/local/etc/php-fpm.conf /usr/local/etc/php-fpm.conf-old
    diff -qr /etc/centminmod /etc/centminmod-old
    diff -qr /usr/local/nginx/conf /usr/local/nginx/conf-old
    diff -qr /usr/local/src/centminmod /usr/local/src/centminmod-old
    

    example if file differs
    Code (Text):
    diff -qr /etc/centminmod /etc/centminmod-old
    Files /etc/centminmod/email-primary.ini and /etc/centminmod-old/email-primary.ini differ

    then use sdiff to see what the actual difference is

    sdiff side by side view
    Code (Text):
    sdiff /etc/centminmod/email-primary.ini /etc/centminmod-old/email-primary.ini

    sdiff side by side view only differences flag -s
    Code (Text):
    sdiff -s /etc/centminmod/email-primary.ini /etc/centminmod-old/email-primary.ini

    Code (Text):
    sdiff /etc/centminmod/email-primary.ini /etc/centminmod-old/email-primary.ini
    3                                                             | 1


    Again, once, you have updated to 124.00stable or 130.00beta01, you will be able to use cmupdate command for future updates.
     
Thread Status:
Not open for further replies.