How to update CPanel/WHM from shell command line (SSH) ...

It is highly recommended to *ONLY* do your control panel updates from the shell, whilst you are watching the screen.
Updating using the web-scripts is prone to failure, and dependant on YOUR connectivity to the internet.
You should *NEVER* just switch on automatic updates and hope for the best - letting someone else decide what and when to update your system, will lead to downtime.

Connect by SSH to your server/VPS, and su - to root then ...

# bring all cpanel scripts up to date

  • /scripts/updatenow
# update to the latest version of cpanel/whm
  • /scripts/upcp ---force
# upgrade mysql to the latest supported version
  • /scripts/mysqlup --force
# upgrade email to the latest version
  • /scripts/exim4 --force
# apply any new hotfixes
  • /scripts/fixeverything

 

Finally restart the Cpanel/WHM process with

  • /etc/init.d/cpanel restart

 

  • 52 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

Do your CPanel hosting accounts come with BoxTrapper ?

At present we do not offer a BoxTrapper based spam prevention solution. BoxTrapper is based...

How do I access the CPanel control panel ?

Your CPanel control panel is accessed by a web browser at http://{domain}/cpanel i.e. if your...

Setting up easy webmail (Horde) access on CPanel

Alternative ways of accessing webmail ... Our standard CPanel method of accessing the webmail...

Cannot publish site with Frontpage Extensions, front page reporting incorrect password

Problem: I can no longer publish a site with Frontpage Extensions it says I have the wrong...

What is the server path to my files ?

The path to your files will vary depending on the control panel you use... Plesk (linux)...

Powered by WHMCompleteSolution