How to Update CentOS, Ubuntu and Debian

Important: When running any update, do not interrupt the process as it can cause your VPS to break

On CentOS:

Perform the system update and then apply system modifications by restarting the system:

yum update

To reboot the system,


On Ubuntu or Debian:

Update the list of packages which can be updated:

apt-get update

Then install updates and then apply them by restarting the system:

apt-get dist-upgrade

To reboot the system,