1. cPanel Extended Help Menu
There are integrated functions with your cPanel license which will help you better manage parts of systems.
mylicenseCP -help
The above command will give you output like below-
List of available commands :
-wordpress-toolkit Install wordpress toolkit for cPanel
-fleetssl Install FleetSSL + generate valid FleetSSL license
-install-ssl-service Install SSL on all cPanel services (such as hostname , exim , ftp and etc)
-cpanel-update Update cPanel to latest version (Force mode)
-install-letsencrypt Install LetsEncrypt for AutoSSL
-locale Install custom locale language
You can use the following commands for the functions mentioned on the right by simply placing it after the main command.
To install WP Tool Kit use-
mylicenseCP -wordpress-toolkit
To install FleetSSL use-
mylicenseCP -fleetssl
To install SSL on hostname and systemwide use-
mylicenseCP -install-ssl-service
To update your cPanel to latest or specific version (with force mode) use-
mylicenseCP -cpanel-update
To install LetsEncrypt for AutoSSL use-
mylicenseCP -install-letsencrypt
2. Port Issues or Connection Refused
You might face connection refused issues or no response from the server on various services like webmail, cpanel etc. The master fix command will solve it all basic problems with your cPanel installation-
mylicenseCP -fix
If you still face no connection to your WHM login page or simply connection timeout occurs, its related to your firewall. It is strongly suggested that you disbale iptables before installation of your cPanel, but even after doing so, iptables becomes active. So the workarround in this case will be simply stop and disabling it.
Remember, after restart of the system, this problem might occur again even if you disable iptables. Simply do the same everytime till we get a fix from the cPanel officials.
systemctl disable iptables
systemctl stop iptables