Welcome to Centmin Mod Community
Register Now

Install Centmin Mod 130.00beta01 release discussion

Discussion in 'Beta release code' started by eva2000, May 8, 2022.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  2. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    A very early alpha version can be previewed at GitHub - centminmod/centminmod-config-json not ready for production use, but gives you an idea of what's to come :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Updated 130.00beta01's MariaDB YUM repo routine today.

    Centmin Mod intends for el9 OSes like Rocky Linux 9 and Alma Linux 9 to default to MariaDB 10.6 LTS releases out of the box. MariaDB official YUM repos now have a RHEL 9 version for MariaDB 10.5 and 10.6+ which apparently works and is tested on Rocky Linux 9 right now. So update MariaDB 10.5 and 10.6 routines to use RHEL 9 YUM repos when EL9 OS is detected https://community.centminmod.com/threads/update-mariadb-yum-repos-for-el9-in-130-00beta01.23169/
     
  5. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  6. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  7. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  8. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    FYI, I just updated Centmin Mod 124.00stable and 130.00beta01 with a fix for missing pure-ftpd passive port range config in CSF Firewall due to CSF v14.18 default changes which came out ~August 18, 2023. This would only impact new Centmin Mod installs from August 18, 2023 onwards.

    You can run cmupdate command on your Centmin Mod install to update the code and then run and exit centmin.sh menu once to auto apply the fix and then run command
    Code (Text):
    egrep '^TCP_|^TCP6_|^UDP_|^UDP6_' /etc/csf/csf.conf

    to check if TCP_IN and TCP6_IN now show in comma separated list of whitelisted ports the pure-ftpd passive port range entry = 30001:50011
     
  9. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Updated Centmin Mod 130.00beta01 with optional NEEDRESTART_CHECK to MOTD at SSH login
    • add NEEDRESTART_CHECK='n' variable support in SSH login's MOTD (message of the day). Disabled by default. When set to NEEDRESTART_CHECK='y' in the persistent config file /etc/centminmod/custom_config.inc, when you log into server, it will run needs-restarting command only on Friday, Saturday and Sunday to check if any YUM updates require or recommend a server reboot and alert the user on SSH login. Not all YUM updates require server reboot Identify packages that will require a system reboot after an update - Red Hat Customer Portal
    • run cmupdate command to update your local Centmin Mod code for this update
    • Example message on CentOS 7 when SSH login with NEEDRESTART_CHECK='y' set. Centmin Mod modifies the message to add additional commands to run before rebooting server to ensure you do not corrupt your MySQL data and to recommend you schedule a time for server reboot
    Code (Text):
    Core libraries or services have been updated:
      kernel -> 3.10.0-1160.92.1.el7
      kernel -> 3.10.0-1160.83.1.el7
      kernel -> 3.10.0-1160.95.1.el7
      openssl-libs -> 1:1.0.2k-26.el7_9
      kernel -> 3.10.0-1160.90.1.el7
    
    Server Reboot is required to ensure that your system benefits from these updates.
    
    More information:
    https://access.redhat.com/solutions/27943
    
    Rather than reboot server for each YUM update, you can schedule a specific time
      i.e. on weekends
    
    To ensure all MySQL data in memory buffers is written to disk before reboot
    Run this command & wait 180 seconds before rebooting server:
      mysqladmin flush-tables && sleep 180
    
     
  10. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  11. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Updated 130.00beta01 with fix for Cloudflare zlib upstream updates which broke Nginx compilations https://community.centminmod.com/th...are-zlib-broken-update-in-130-00beta01.24139/

    Unlike, 124.00stable fix https://community.centminmod.com/th...le-release-discussion.22675/page-2#post-97335 which reverts to older working commit, the 130.00beta01 fix attempts to use the latest Cloudflare zlib upstream updates and correct the culprit which breaks Nginx compilations. So that Centmin Mod Nginx can build against latest Cloudflare zlib upstream updates.

    Existing users can run cmupdate command before, running centmin.sh menu option 4
     
  12. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  13. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  14. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Updated 130.00beta01 update to ensure CSF Firewall's initiall install's configured IP deny blocks for shodan, censys scanners etc are re-added to CSF Firewall deny IP list /etc/csf/csf.deny when it detects the number of IP denied entries is running within 100 entries of the preset CSF Firewall DENY_IP_LIMIT threshold in /etc/csf/csf.conf. Addresses the fact that these preset IP deny blocks will eventually get auto purged once reaching DENY_IP_LIMIT threshold https://community.centminmod.com/th...-range-list-in-123-09beta01.18710/#post-97617

    https://community.centminmod.com/th...-csf-blocks-sh-cronjob-in-130-00beta01.24224/

    Also improve tools/initial-csf-blocks.sh cronjob and add ability for Centmin Mod users to create /etc/centminmod/csf/csf-permaban.conf config file where can add your own permanent ban IP addresses one per line that you want to ensure the tools/initial-csf-blocks.sh cronjob re-adds to CSF Firewall /etc/csf/csf.deny list when this list is auto pruned once reaching CSF Firewall's preset DENY_IP_LIMIT max IPs banned.

    https://community.centminmod.com/th...-csf-blocks-sh-cronjob-in-130-00beta01.24225/
     
  15. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  16. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    The official MariaDB 10.3 YUM public mirror has now bee deprecated and removed as MariaDB 10.3 is end of life (EOL). MariaDB folks moved 10.3 YUM public mirror to archives mirror now.

    As MariaDB 10.3 yum mirrors are now deprecated as 10.3 is EOL:
    1. I updated Centmin Mod 124.00stable and 130.00beta01 to switch the MariaDB 10.3 yum mirror over to the archives mirror. You want to run cmupdate command to pull these update fixes to your local Centmin Mod install, and run and exit centmin.sh once to apply the fix updates.
    2. For Centmin Mod 124.00stable, like 130.00beta01, now has switched to MariaDB 10.4 initial fresh new installs. If you're using Centmin Mod with MariaDB 10.3, you'd want to run cmupdate command and then update to MariaDB 10.4 via centmin.sh menu option 11 submenu option 8 as outlined at https://community.centminmod.com/threads/mariadb-10-1-upgrades-to-mariadb-10-2-10-3-and-10-4.17793/
     
  17. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Added to 130.00beta01 optional freenginx forked Nginx support via variable FREENGINX_INSTALL='y' that you can optionally set in the persistent config file /etc/centminmod/custom_config.inc (disabled by default), which will have Nginx version build tagged with -freengx :)
     
  18. duderuud

    duderuud Premium Member Premium Member

    220
    78
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +166
    Local Time:
    12:29 PM
    1.25 x
    10.6
    Hesitant to use this. Will check back in a few months, want to see how this all develops.
     
  19. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  20. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    8:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    Maxmind GeoLite2 Database Download & Rate Limit Enforcement March 2024


    Centmin Mod 130.00beta01 has been updated to tackle Maxmind's latest changes in GeoLite2 database download policy and rate limits https://community.centminmod.com/th...ase-routines-for-nginx-in-130-00beta01.24815/. You can discuss these changes in existing thread at https://community.centminmod.com/th...eolite2-free-database-download-changes.18960/.