Want to subscribe to topics you're interested in?
Become a Member

Need Your Help custom_config.inc

Discussion in 'Install & Upgrades or Pre-Install Questions' started by MRY, Sep 23, 2020.

  1. MRY

    MRY Premium Member Premium Member

    6
    1
    3
    Sep 23, 2020
    Ratings:
    +2
    Local Time:
    3:19 PM
    CentOS Version: CentOS 7 64bit
    Centmin Mod Version Installed: 123.09beta01
    Nginx Version Installed: 1.19.2
    PHP Version Installed: 7.4
    MariaDB MySQL Version Installed: 10.3.24
    When was last time updated Centmin Mod code base ? : New Setup

    My new server features
    AMD EPYC 7502P
    128 GB DDR4 ECC
    960 GB NVMe SSD Datacenter Edition

    2x Wordpress Site PHP 7.4 (300.000 unique visitors daily)
    Cache plugin WP Rocket
    Sucuri WAF + Cloudflare PRO I use.

    What features do I need to enable (custom_config.inc) for Performance on my new server? What features should I enable or add? I want to take advantage of new technologies :)

    I was using this configuration on my old server

    Code (Text):
    cat /etc/centminmod/custom_config.inc
    
    LIBRESSL_SWITCH='n'
    CLANG='n'
    DEVTOOLSETSIX='n'
    DEVTOOLSETSEVEN='n'
    DEVTOOLSETEIGHT='y'
    NGINX_DEVTOOLSETGCC='y'
    NGINX_HPACK='y'
    CLOUDFLARE_ZLIBPHP='y'
    CLOUDFLARE_ZLIB='y'
    NGINX_DYNAMICTLS='y'
    PHP_PGO='y'
    PHPIONCUBE='y'
    ENABLE_MARIADBTENTWOUPGRADE='y'
    ENABLE_MARIADBTENTHREEUPGRADE='y'
    ENABLE_MARIADBTENFOURUPGRADE='y'
    SWITCH_PHPFPM_SYSTEMD='y'
    MEMCACHED_TLS='y'
    PHP_LIBZIP='y'
    PHP_ARGON='y'
    PHP_BROTLI='y'
    PHP_LZFOUR='y'
    PHP_LZF='y' 
    PHP_ZSTD='y'
    AUTODETECPHP_OVERRIDE='y'
    LETSENCRYPT_DETECT='y'
    ACMEDEBUG='y'
    GCCINTEL_PHP='y'
    DEVTOOLSET_PHP='y'
    PHP_MEMCACHE='y'
    MEMCACHED_INSTALL='y'
    CRYPTO_DEVTOOLSETGCC='y'
    PHPFINFO='y'
    PHPPGO_INDEXPATH_TWO='/home/nginx/domains/mywebsite.net/public/index.php'
    MARCH_TARGETNATIVE='n'
    
    
    
     
  2. eva2000

    eva2000 Administrator Staff Member

    45,441
    10,312
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,994
    Local Time:
    10:19 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    who's your web host ? nice 300k unique visitor/day !

    For advance install pretty up outlined at https://servermanager.guide/117/centmin-mod-advanced-customised-installation-guide/

    lots of your existing settings are already the default or not needed, so can boil down to below
    Code (Text):
    NGINX_HPACK='y'
    CLOUDFLARE_ZLIB='y'
    NGINX_DYNAMICTLS='y'
    PHP_PGO='y'
    PHPIONCUBE='y'
    ENABLE_MARIADBTENTWOUPGRADE='y'
    ENABLE_MARIADBTENTHREEUPGRADE='y'
    ENABLE_MARIADBTENFOURUPGRADE='y'
    PHP_LIBZIP='y'
    PHP_ARGON='y'
    PHP_BROTLI='y'
    PHP_LZFOUR='y'
    PHP_LZF='y'
    PHP_ZSTD='y'
    AUTODETECPHP_OVERRIDE='y'
    LETSENCRYPT_DETECT='y'
    ACMEDEBUG='y'
    PHPFINFO='y'
    PHPPGO_INDEXPATH_TWO='/home/nginx/domains/mywebsite.net/public/index.php'
    MARCH_TARGETNATIVE='n'
    
     
  3. MRY

    MRY Premium Member Premium Member

    6
    1
    3
    Sep 23, 2020
    Ratings:
    +2
    Local Time:
    3:19 PM
    First of all thank you very much for your answer.

    Hetzner Online GmbH

    If the recommended custom_config.inc is enough, no problem :)

    Is there a feature you recommend me to add? or are these enough?
     
  4. eva2000

    eva2000 Administrator Staff Member

    45,441
    10,312
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,994
    Local Time:
    10:19 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    The above pretty much covers it from Centmin Mod server perspective :)