In this article, I will provide examples of updating cPanel and WHM.
For cPanel and WHM, you need to run the script as root user:
Force cPanel and WHM upgrade (WHM >> Home >> cPanel >> Upgrade to Latest Version):
You can check the current version with the command:
After the update, the log file can be found in the /var/cpanel/updatelogs/ directory.
If the cPanel license has expired, then in order to update it, you must renew it and renew the cPanel license with the command below:
cPanel uses port 2082 for http and 2083 for https.
In order not to receive update logs by email, you can find the job in cron and add at the end of the line:
To update the operating system (WHM >> Home >> Software >> System Update, similar to yum update):
WHM >> Home >> cPanel >> Manage cPAddons Site Software
WHM >> Home >> SQL Services >> MySQL/MariaDB Upgrade
WHM >> Home >> Software >> EasyApache 4
See my other articles about cPanel and WHM