Join the community today
Become a Member

Install Letsencrypt how to install wordpress with ssl & cache

Discussion in 'Install & Upgrades or Pre-Install Questions' started by idanisur, May 22, 2019.

  1. idanisur

    idanisur New Member

    Apr 15, 2019
    Local Time:
    10:41 PM
    • hey i am new to centminmod
    • i am looking for step by step guide to setup wordpress with ssl, cache & others recommendation..

  2. EckyBrazzz

    EckyBrazzz Active Member

    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Local Time:
    1:41 PM
    Hi, Welcome at Centminmod. Run centmin from the command line and use option 22. Select one of the preferred installation (for example 1) and it will install SSL, Cache and other recommended plugins. It all depends on what you select on the installer for SSL.
  3. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    2:41 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    In context of Wordpress caching for menu option 22 wordpress auto installer for Centmin Mod 123.09beta01 and newer, you have 3 offered wordpress caching options:
    1. Redis Nginx Level Caching - menu option 22 will auto install redis if not detected if you choose this in menu option 22 setup. Otherwise, need to install redis yourself. Best combined with Autoptimize WP plugin
    2. KeyCDN Cache Enabler for full page static html caching (safest choice for balance of performance and reliability). Best combined with Autoptimize WP plugin
    3. WP Super Cache for full page static html caching. Best combined with Autoptimize WP plugin
    1. redis caching at nginx level can be fastest but needs fine tuning and deep understanding of your web app and it's plugins to get right i.e. woocommerce etc. So can be problematic too. Most caching is are for guest caching only.

    2. keycdn cache enabler wp plugin - better version of wp super cache for full page static caching of wordpress. Least problematic and closest to set and forget with maybe some tuning needed depending on wp plugins and site configuration. Config is for guest caching only.

    And regardless of caching method, having right server(s) hardware and configuration and LEMP stack and system TCP level configurations to handle the traffic is a must otherwise regardless of caching used, it won't scale. So you would want non-OpenVZ based VPS like KVM or dedicated. Choosing OpenVZ VPS will limit your scalability.

    FYI, all caching methods = generally higher memory consumption and sometimes higher cache related cpu consumption. The goal of caching in context of wordpress is usually to lessen the load placed on php/php-fpm as that is the weakest part of any LEMP/LAMP setup in terms of scalability. So sometimes caching isn't necessary faster just scales better in high concurrent traffic environments.

    You can see menu option 22 wordpress installed demo and benchmarks on my Wordpress7 demo site.

    As to SSL, there's generally 3 ways of setting up HTTPS SSL certificate for Centmin Mod Nginx HTTP/2 based HTTPS

    Method 1. The traditional way via menu option 2, 22 but ensuring you set LETSENCRYPT_DETECT='y' in persistent config file created at /etc/centminmod/ before you run menu option 2 or 22 for wordpress. You can do that using command below - only need to do this step once and every subsequent run of menu option 2 or 22 will have letsencrypt ssl certificate support enabled
    Code (Text):
    # enable letsencrypt ssl certificate integration
    touch /etc/centminmod/
    echo "LETSENCRYPT_DETECT='y'" >> /etc/centminmod/

    Method 2. Using and testing Centmin Mod 123.09beta01's new addons/ addon which is still in beta testing only for integrating Letsencrypt SSL certificates. And has both auto and manual methods.

    Method 3. Fully manual method for free Letsencrypt SSL certificates.
    Last edited: May 22, 2019