Get the most out of your Centmin Mod LEMP stack
Become a Member

131.00stable & 140.00beta01 Release With AlmaLinux/Rocky Linux Support

Discussion in 'Centmin Mod News' started by eva2000, Jul 1, 2024.

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

    eva2000 Administrator Staff Member

    52,657
    12,071
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,597
    Local Time:
    5:07 AM
    Nginx 1.25.x
    MariaDB 10.x
    Centmin Mod 131.00stable and 140.00beta01 branch versions have been released with official AlmaLinux 8/9 and Rocky Linux 8/9 operating support. Example Centmin Mod AlmaLinux 8 install can be see here. Both these branch versions are initially based off of the same 130.00beta01 code base and overtime will diverge where 140.00beta01 will have more bleeding edge features and changes. While 131.00stable will generally stay the same.

    If you use and/or appreciate the work that goes into Centmin Mod development, please considering supporting Centmin Mod ;)

    What's New




    As of July 1, 2024, Centmin Mod versions are undergoing a transition version branch wise:
    1. The previous 124.00stable is now moving to 131.00stable. 131.00stable is essentially based on the well-tested 130.00beta01 branch. All development and changes made in 130.00beta01 are now in 131.00stable.
    2. A new 140.00beta01 branch has started and this is also based on the 130.00beta01 branch but with additional development for the future.
    3. Both 131.00stable and 140.00beta01 have been configured for automated Github Workflow based Centmin Mod LEMP stack installation testing for AlmaLinux 8/9, Rocky Linux 8/9, Oracle Linux 8/9 and CentOS 9 Stream. As most web hosts only offer AlmaLinux or Rocky Linux, those are the recommended operating systems for Centmin Mod LEMP stack installations. There are now 600+ automated tests being conducted :)
    Centmin Mod 131.00stable
    Centmin Mod 140.00beta01

    131.00stable and 140.00beta01 Changes



    Full Commit Change Logs

    Operating System Support
    • CentOS 7 (EL7) is now end of life (EOL) after June 30, 2024 and CentOS 8 (EL8) end of life even earlier in 2021. This means after June 30, 2023, CentOS 7 will not receive any more bug fix or security updates through official YUM repository package management system. If you run YUM commands and get errors on CentOS 7, read note outlined here.
    • If you have existing CentOS 7 related issues or questions, please start a new thread in forum at https://community.centminmod.com/forums/centos-redhat-oracle-linux-news.31/.
    • The migration path for CentOS 7 users is to either EL8 or EL9 based AlmaLinux 8/9 or Rocky Linux 8/9 operating systems.
    • CentOS 7 users will need to migrate to a new server running either AlmaLinux or Rocky Linux with Centmin Mod 131.00stable or 140.00beta01.
    • Centmin Mod has been extensively beta testing support for EL8 and EL9 operating systems for AlmaLinux and Rocky Linux.
    • However, EL8 OSes support a minimum PHP 7.2 version and EL9 OSes support a minimum PHP 7.4. So ensure your web applications support at least PHP 7.2 for EL8 and at least PHP 7.4 for EL9.
    Operating System Minimum And Recommended Requirements

    The minimum and recommended memory requirements have increased due to the base EL8 and EL9 memory requirements increasing.
    1. For AlmaLinux and Rocky Linux 8, the minimum system requirements are 1GB memory and 20GB disk. The recommended system requirements are at least 2GB memory and 40GB disk.
    2. For Centmin Mod on AlmaLinux & Rocky Linux 8, the minimum system requirements are 2GB memory + 4GB swap disk and 40GB disk. using a swap disk when there's not enough memory will still allow Centmin Mod to operate, but it will be a lot slower - as slow as the swap disk's underlying disk performance. Centmin Mod will auto detect if your do not have swap disk or not enough swap disk size and create a swap disk automatically. Recommended system requirements are at least 4GB memory + 4GB swap disk and 60GB disk. If you plan to install any type of Linux anti-malware/virus scanning software, you would want to add at least another 1-4GB of memory on top of those requirements. The optimal CPU core/threads is between 2-4. Though 1 CPU core is fine. The more CPU cores/threads, the faster the Centmin Mod source compiled routines will complete and the more concurrent workloads your server stack will generally be able to handle.
    centmin.sh Menu Changes
    • Some of centmin.sh menu options have been removed or repurposed. centmin.sh menu options 6 and 21 have been repurposed (see below) and centmin.sh menu options 7, 8 and 9 have been removed and will be repurposed in future in 140.00beta01 development.

    Centmin Mod 131.00stable
    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 131.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).  MySQL User Database Management
    7).  Option Being Revised (TBA)
    8).  Option Being Revised (TBA)
    9).  Option Being Revised (TBA)
    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 ]
    


    Centmin Mod 140.00beta01
    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 140.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).  MySQL User Database Management
    7).  Option Being Revised (TBA)
    8).  Option Being Revised (TBA)
    9).  Option Being Revised (TBA)
    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 ]
    


    centmin.sh menu option 6 - MySQL User Data Management
    • It's basically the shell menu version of existing addons/mysqladmin_shell.sh script outlined at https://community.centminmod.com/threads/mysqladmin_shell-sh-shell-based-addon.543/
      Code (Text):
      ----------------------------------------------------------------
       MySQL User Database Management Sub Menu
      ----------------------------------------------------------------
       Command Line Version community.centminmod.com/threads/543/
      ----------------------------------------------------------------
      1). Create MySQL User and Database
      2). Add Database to Existing MySQL User
      3). Add Existing Database to Existing MySQL User
      4). Add Existing Database to New MySQL User
      5). Change MySQL User Password
      6). Delete MySQL User
      7). Show Grants for MySQL User
      8). Create Global MySQL User (access to all databases)
      9). Create Multiple MySQL Databases and Users from File
      10). Delete MySQL Database
      11). List All MySQL Databases and Users
      12). Return to Main Menu
      ----------------------------------------------------------------
      Enter option [ 1 - 12 ]: 
      
    centmin.sh menu option 21 - Centmin Mod Data Management
    • Centmin Mod's centmin.sh menu option 21 provides various data management functionalities, such as SSH key management, AWS CLI S3 profile credential management, data migration, backup, and transfer.
    • The new centmin.sh menu option 21 has a very detailed documentation outline at centminmod/datamanagement/centmin.sh-menu-21.readme.md at 130.00beta01 · centminmod/centminmod. The features are provided as is, so please read the documentation to understand how to use the features.
    Code (Text):
    --------------------------------------------------------
          Centmin Mod Data Management
    --------------------------------------------------------
          Docs: https://centminmod.com/menu21-131.00stable
    --------------------------------------------------------
    1).   Manage SSH Keys
    2).   Manage AWS CLI S3 Profile Credentials
    3).   Migrate Centmin Mod Data To New Centmin Mod Server
    4).   Backup Nginx Vhosts Data + MariaBackup MySQL Backups
    5).   Backup Nginx Vhosts Data Only (no MariaDB MySQL backups)
    6).   Backup MariaDB MySQL With MariaBackup Only (no Vhosts Data backups)
    7).   Backup MariaDB MySQL With mysqldump only (no Vhosts Data backups)
    8).   Transfer Directory Data To Remote Server Via SSH
    9).   Transfer Directory Data To S3 Compatible Storage
    10).  Transfer Files To S3 Compatible Storage
    11).  Download S3 Compatible Stored Data To Server
    12).  S3 To S3 Compatible Storage Transfers
    13).  List S3 Storage Buckets
    14).  Back to Main menu
    --------------------------------------------------------
    Enter option [ 1 - 14 ]
    


    Nginx
    • Centmin Mod Nginx support additional optional Nginx forks for Freenginx and Angie.
    • OpenSSL 1.1.1 is also end of life for Nginx compiled OpenSSL. So by default Centmin Mod installs for EL8/EL9 operating systems for AlmaLinux 8/9 or Rocky Linux 8/9 will default to using system OpenSSL versions for Nginx. EL8 OSes use system OpenSSL 1.1.1k which has backported security and bug fixes and keeps same version number for 10yr life of EL8 which end of life is June 2029. EL9 OSes use system OpenSSL 3.0.7 with same backported security and bug fixes and keeps same version number for 10yr life of EL9 which end of life is May 2032.
    • Centmin Mod Nginx improved support for additional crypto libraries responsible for allowing Nginx to support HTTPS with HTTP/2 HTTPS support with OpenSSL 1.1.1, 3.0, 3.1, 3.2, 3.2, and the following crypto libraries to allow optional Nginx HTTP/3 QUIC support with LibreSSL, BoringSSL, quicTLS OpenSSL 1.1.1, 3.0, 3.1, 3.2 and Amazon AWS-LC. You can switch between default EL8/EL9 system OpenSSL and custom crypto libraries for Centmin Mod Nginx.
    PHP-FPM
    • Centmin Mod now supports active PHP versions 8.1, 8.2, 8.3 and development support for PHP 8.4 arriving later. End users can change, upgrade, downgrade or reinstall their PHP versions via centmin.sh menu option 5.
    • Centmin Mod continues to backport security fixes to end of life PHP versions 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0. However, EL8 OSes support a minimum PHP 7.2 version and EL9 OSes support a minimum PHP 7.4. So ensure your web applications support at least PHP 7.2 for EL8 and at least PHP 7.4 for EL9.
    MariaDB MySQL
    • Centmin Mod EL8 based installs, will default to MariaDB 10.4 official MariaDB YUM repo versions right now to allow easier transition from CentOS 7 installs which also defaulted to official MariaDB 10.4 YUM repo versions. However, for new Centmin Mod EL8 installs you can change the default MariaDB 10.4 to MariaDB 10.6 LTS release via official MariaDB YUM repo as well by setting the following variables in persistent config file you create at /etc/centminmod/custom_config.inc before initial Centmin Mod installation
      Code (Text):
      MARIADB_INSTALLTENTHREE='n'
      MARIADB_INSTALLTENFOUR='n'
      MARIADB_INSTALLTENFIVE='n'
      MARIADB_INSTALLTENSIX='y'
      

      You can also choose to install Centmin Mod EL8 with default MariaDB 10.6 and then upgrade your existing Centmin Mod CentOS 7 MariaDB version to MariaDB 10.6 outlined here - prior to transferring data.
    • Centmin Mod EL9 based installs, will default to MariaDB 10.6 LTS release via official MariaDB YUM repo.
    • Support for MariaDB 10.11.x or 11.x higher MySQL versions will be developed and added to the Centmin Mod 140.00beta01 release at a later time.
     
    Last edited: Jul 1, 2024
  2. eva2000

    eva2000 Administrator Staff Member

    52,657
    12,071
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,597
    Local Time:
    5:07 AM
    Nginx 1.25.x
    MariaDB 10.x

    How To Update from 124.00stable or 130.00beta01 to 131.00stable



    To update from Centmin Mod 124.00stable or 130.00beta01 to 131.00stable run these commands which:
    1. First updates cmupdate tool to support 131.00stable and 140.00beta01 updating.
    2. Then runs cmupdate update-stable command to switch to 131.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 131.00stable branch.
    Code (Text):
    cmupdate update-stable
    No local changes to save
    Already up-to-date.
    Switching local code branch to 131.00stable
    
    Cloning into 'centminmod'...
    remote: Enumerating objects: 835, done.
    remote: Counting objects: 100% (835/835), done.
    remote: Compressing objects: 100% (563/563), done.
    remote: Total 835 (delta 343), reused 565 (delta 249), pack-reused 0
    Receiving objects: 100% (835/835), 23.86 MiB | 13.00 MiB/s, done.
    Resolving deltas: 100% (343/343), 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
    


    Running centmin (centmin.sh) command shell based menu
    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 131.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).  MySQL User Database Management
    7).  Option Being Revised (TBA)
    8).  Option Being Revised (TBA)
    9).  Option Being Revised (TBA)
    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

    52,657
    12,071
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,597
    Local Time:
    5:07 AM
    Nginx 1.25.x
    MariaDB 10.x

    How To Update from 124.00stable or 130.00beta01 to 140.00beta01



    To update from Centmin Mod 124.00stable or 130.00beta01 to 140.00beta01 run these commands which:
    1. First updates cmupdate tool to support 131.00stable and 140.00beta01 updating.
    2. Then runs cmupdate update-beta command to switch to 140.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-stable command which does the actual switching to 140.00beta01 branch.
    Code (Text):
    cmupdate update-beta
    No local changes to save
    Already up-to-date.
    Switching local code branch to 140.00beta01
    
    Cloning into 'centminmod'...
    remote: Enumerating objects: 835, done.
    remote: Counting objects: 100% (835/835), done.
    remote: Compressing objects: 100% (578/578), done.
    remote: Total 835 (delta 343), reused 537 (delta 234), pack-reused 0
    Receiving objects: 100% (835/835), 23.81 MiB | 14.32 MiB/s, done.
    Resolving deltas: 100% (343/343), 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
    


    Running centmin (centmin.sh) command shell based menu
    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 140.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).  MySQL User Database Management
    7).  Option Being Revised (TBA)
    8).  Option Being Revised (TBA)
    9).  Option Being Revised (TBA)
    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

    52,657
    12,071
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,597
    Local Time:
    5:07 AM
    Nginx 1.25.x
    MariaDB 10.x
    Centmin Mod installers for fresh AlmaLinux or Rocky Linux operating system based servers with minimum 4GB installed memory requirements.

    131.00stable install



    PHP 8.3.x default stable installer.
    Code (Text):
    yum -y update
    curl -O https://centminmod.com/installer83.sh && chmod 0700 installer83.sh && bash installer83.sh
    


    PHP 8.2.x default stable installer.
    Code (Text):
    yum -y update
    curl -O https://centminmod.com/installer82.sh && chmod 0700 installer82.sh && bash installer82.sh
    


    PHP 8.1.x default stable installer.
    Code (Text):
    yum -y update
    curl -O https://centminmod.com/installer81.sh && chmod 0700 installer81.sh && bash installer81.sh
    


    PHP 8.0.x default stable installer with backported security fixes.
    Code (Text):
    yum -y update
    curl -O https://centminmod.com/installer80.sh && chmod 0700 installer80.sh && bash installer80.sh
    


    PHP 7.4.x default stable installer with backported security fixes.
    Code (Text):
    yum -y update
    curl -O https://centminmod.com/installer74.sh && chmod 0700 installer74.sh && bash installer74.sh
    


    140.00beta01 install



    PHP 8.3.x default beta installer.
    Code (Text):
    yum -y update
    curl -O https://centminmod.com/betainstaller83.sh && chmod 0700 betainstaller83.sh && bash betainstaller83.sh
    


    PHP 8.2.x default beta installer.
    Code (Text):
    yum -y update
    curl -O https://centminmod.com/betainstaller82.sh && chmod 0700 betainstaller82.sh && bash betainstaller82.sh
    


    PHP 8.1.x default beta installer.
    Code (Text):
    yum -y update
    curl -O https://centminmod.com/betainstaller81.sh && chmod 0700 betainstaller81.sh && bash betainstaller81.sh
    


    PHP 8.0.x default beta installer with backported security fixes.
    Code (Text):
    yum -y update
    curl -O https://centminmod.com/betainstaller80.sh && chmod 0700 betainstaller80.sh && bash betainstaller80.sh
    


    PHP 7.4.x default beta installer with backported security fixes.
    Code (Text):
    yum -y update
    curl -O https://centminmod.com/betainstaller74.sh && chmod 0700 betainstaller74.sh && bash betainstaller74.sh
    
     
  5. eva2000

    eva2000 Administrator Staff Member

    52,657
    12,071
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,597
    Local Time:
    5:07 AM
    Nginx 1.25.x
    MariaDB 10.x
Thread Status:
Not open for further replies.