VPS
··2 minute readRunning updates on a Self Managed VPS
Updating a cPanel server
Updating a cPanel server is fairly easy, because cPanel/WHM has simple server update and management tools built-in. You can run updates by using the following tools in WHM:- WHM > Software > System Update
- WHM > Software > Update Server Software
Completing updates via the command line (non-cPanel server)
The process for completing server software updates via the command line can be different, depending on the operating system you have installed. This is because different Linux distributions use different package managers.CentOS/AlmaLinux
CentOS/AlmaLinux and other Red Hat-based Linux distributions use the yum package manager, and some of the newer versions of these operating systems use a package manager called dnf. Meaning that you can use the following basic commands to complete software updates:CentOS/AlmaLinux 8 and higher
dnf update
CentOS 7
yum update
Debian and Ubuntu
Debian and Ubuntu use the apt (aptitude) package manager. You can use the following commands to complete updates: Update the local package index:sudo apt update
Update any software on your server to the latest version (you must apt update first):
sudo apt upgrade