Discover Centmin Mod today
Register Now

Install Upgrade Repeating flags in /etc/centminmod/custom_config.inc

Discussion in 'Install & Upgrades or Pre-Install Questions' started by redbot, May 6, 2020.

  1. redbot

    redbot Dreaming of Debmin Mod Premium Member

    26
    5
    3
    Mar 30, 2020
    Ratings:
    +12
    Local Time:
    12:49 PM
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: i.e. 1.17
    • PHP Version Installed: i.e. 7.2.3
    • When was last time updated Centmin Mod code base ? : today
    • Persistent Config:
      Code:
      # enable PHP Argon2 support
      # https://community.centminmod.com/threads/14933/
      echo "PHP_ARGON='y'" >> /etc/centminmod/custom_config.inc
      
      # enable brotli compression https://community.centminmod.com/threads/10688/
      echo "NGINX_LIBBROTLI='y'" >> /etc/centminmod/custom_config.inc
      echo "NGXDYNAMIC_BROTLI='y'" >> /etc/centminmod/custom_config.inc
      
      # boost PHP 7 performance by enabling Profile Guided Optimisation flag
      # https://centminmod.com/perf/
      echo "PHP_PGO='y'" >> /etc/centminmod/custom_config.inc
      
      # mariadb 10.3 default install for private test server testing
      echo "MARIADB_INSTALLTENTHREE='y'" >> /etc/centminmod/custom_config.inc
      
      # install centmin mod latest beta with php-fpm 7.2 default
      # https://community.centminmod.com/threads/centmin-mod-09-beta-branch-testing.4128/
      #yum -y update; curl -O https://centminmod.com/betainstaller72.sh && chmod 0700 betainstaller72.sh && bash betainstaller72.sh
      NGXDYNAMIC_NGXPAGESPEED='y'
      NGINX_PAGESPEED='y'
      LETSENCRYPT_DETECT='y'
      AUDITD_ENABLE='y'
      AUDIT_MARIADB=n
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
      PHP_ARGON='y'
      NGINX_LIBBROTLI='y'
      NGXDYNAMIC_BROTLI='y'
      PHP_PGO='y'
      MARIADB_INSTALLTENTHREE='y'
    The config file repeats:
    PHP_ARGON='y'
    NGINX_LIBBROTLI='y'
    NGXDYNAMIC_BROTLI='y'
    PHP_PGO='y'
    MARIADB_INSTALLTENTHREE='y'

    I'm not sure why. When I remove all the repeats, they always reappear.
     
  2. eva2000

    eva2000 Administrator Staff Member

    44,163
    10,066
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,556
    Local Time:
    3:49 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    did you actually set in /etc/centminmod/custom_config.inc
    Code (Text):
    # enable PHP Argon2 support
    # https://community.centminmod.com/threads/14933/
    echo "PHP_ARGON='y'" >> /etc/centminmod/custom_config.inc
    
    # enable brotli compression https://community.centminmod.com/threads/10688/
    echo "NGINX_LIBBROTLI='y'" >> /etc/centminmod/custom_config.inc
    echo "NGXDYNAMIC_BROTLI='y'" >> /etc/centminmod/custom_config.inc
    
    # boost PHP 7 performance by enabling Profile Guided Optimisation flag
    # https://centminmod.com/perf/
    echo "PHP_PGO='y'" >> /etc/centminmod/custom_config.inc
    
    # mariadb 10.3 default install for private test server testing
    echo "MARIADB_INSTALLTENTHREE='y'" >> /etc/centminmod/custom_config.inc
    

    that is why if you did, you're meant to only run the echo commands in SSH command line which inserts the variables into

    i.e. run via SSH command line as root user
    Code (Text):
    echo "PHP_ARGON='y'" >> /etc/centminmod/custom_config.inc

    which inserts via echo piped via >> (append) the option PHP_ARGON='y' into /etc/centminmod/custom_config.inc

    If you actually added the the echo command in /etc/centminmod/custom_config.inc, then everytime you source the /etc/centminmod/custom_config.inc which centmin.sh does to read it, will execute that echo command and re-insert the option into /etc/centminmod/custom_config.inc heh
     
    • Winner Winner x 1
  3. redbot

    redbot Dreaming of Debmin Mod Premium Member

    26
    5
    3
    Mar 30, 2020
    Ratings:
    +12
    Local Time:
    12:49 PM
    I feel so silly now, thank you!