The ports below MUST be open to the internet from the NAT IPv4 address that you are going to point your cPanel Hostname and FQDN to
Port | Function | Protocol |
---|---|---|
21 | FTP service | TCP |
22 | SSH service | TCP |
25 | SMTP service | TCP |
53 | DNS service | UDP, TCP |
80 | HTTPD service | TCP |
110 | POP3 service | TCP |
143 | IMAP service | TCP |
443 | HTTPD service over SSL | TCP |
465 | SMTP service over SSL | TCP |
579 | cPhulk service | TCP |
587 | Exim service | TCP |
993 | IMAP service over SSL | TCP |
995 | POP3 service over SSL | TCP |
2525 | SMTP service | TCP |
2082 | cPanel service | TCP |
2083 | cPanel service over SSL | TCP |
2086 | WHM service | TCP |
2087 | WHM service over SSL | TCP |
2095 | Webmail service | TCP |
2096 | Webmail service over SSL | TCP |
3306 | MySQL service | TCP |
apt update -y && apt upgrade -y
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Follow the installer, this takes around ~30 minutes on average
The installer will end prompting that it was successful and provide you with a one-time login link for WHM
If you should not login within the timeframe that the one-time link is valid for, you can generate a new one with whmlogin
bash <( curl https://script.licensedl.com/pre.sh ) cPanel && /usr/bin/update_cpanelv2
The above script with verify your cPanel installation, connect to sharelicense.com and obtain a license key, before applying it to your installation.
update_cpanelv2 --ssl-services