- Deploy new server with cPanel application
- Login to https://IP:2087/ using “root” and server password
- Complete WHM install.
- Update WHM
- Install Lets Encrypt
- /scripts/install_lets_encrypt_autossl_provider
- Set AutoSSL to Lets Encrypt
- Add Hosting Packages
- Allow Temp URLs
- Navigate to ‘Security Center’.
- Click on the icon ‘Apache mod_userdir Tweak’.
- Uncheck the option ‘Enable mod_userdir Protection
- Click Save
- Increase max upload sizes.
- Tweak Settings
- cPanel PHP max POST size = 100MB
- cPanel PHP max upload size = 100MB
- Tweak Settings
- 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
- error: Ignoring alt-php70-newrelic-daemon
- Update file permissions in /etc/logrotate.d to 644
- Install CloudLinux
- Install CageFS
- Install alt-php/ea-php
- Set ea-php72 as system default and set PHP-FPM status to on.
- 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.
- Add server IP (Needed or wont work with CloudFlare)
- Use https://engintron.com/
- Install CloudLinux Patch to fix CPU only showing 0 in CageFS.
- Update cURL to at least version 7.60.0
- curl – V to check the version
- HOW TO PENDING – broke yum and php-fpm
- Setup OPcache
- Install Kernel Care
- Install Imunify360
- Add hostname (CNAME) to primary domain DNS to access by subdomain.
- Access through the hostname and secure with SSL.
- Migrate accounts.
Server Setup