1. Deploy new server with cPanel application
  2. Login to https://IP:2087/ using “root” and server password
  3. Complete WHM install.
  4. Update WHM
  5. Install Lets Encrypt
    1. /scripts/install_lets_encrypt_autossl_provider
  6. Set AutoSSL to Lets Encrypt
  7. Add Hosting Packages
  8. Allow Temp URLs
    1.  Navigate to ‘Security Center’.
    2. Click on the icon ‘Apache mod_userdir Tweak’.
    3. Uncheck the option ‘Enable mod_userdir Protection
    4. Click Save
  9. Increase max upload sizes.
    • Tweak Settings
      • cPanel PHP max POST size = 100MB
      • cPanel PHP max upload size = 100MB
  10. Add PHP 7.1 and 7.2 or newer to EasyApache 4.
    • Update file permissions in /etc/logrotate.d to 644
      • error: Ignoring alt-php70-newrelic-daemon
        error: Ignoring alt-php70-newrelic-php5
        error: Ignoring alt-php71-newrelic-daemon
        error: Ignoring alt-php71-newrelic-php5
        error: Ignoring alt-php72-newrelic-daemon
        error: Ignoring alt-php72-newrelic-php5
  11. Install CloudLinux
  12. Install CageFS
  13. Install alt-php/ea-php
    • Set ea-php72 as system default and set PHP-FPM status to on.
  14. Install Nginx and set it up
    • Use https://engintron.com/
      • Add server IP (Needed or wont work with CloudFlare)
        • WHM>Engintron for cPanel/WHM
        • Edit your coustom_rules for Nginx
        • Add IP, remove #, Save and reboot.
  15. Install CloudLinux Patch to fix CPU only showing 0 in CageFS.
  16. Update cURL to at least version 7.60.0
    • curl – V to check the version
    • HOW TO PENDING – broke yum and php-fpm
  17. Setup OPcache
  18. Install  Kernel Care
  19. Install Imunify360
  20. Add hostname (CNAME) to primary domain DNS to access by subdomain.
  21. Access through the hostname and secure with SSL.
  22. Migrate accounts.
in Server

Related Articles