Skip to content

Installing server updates

Keeping your server updated is one of the most critical steps in maintaining security and stability. Updates patch vulnerabilities, fix bugs, and improve performance. On unmanaged servers, you are responsible for applying updates manually.

  • Protect against newly discovered vulnerabilities (e.g., OpenSSL’s Heartbleed bug).
  • Ensure compatibility with modern applications.
  • Improve system performance and reliability.
  • Reduce risk of data breaches and downtime.
  1. Update package lists:

    Terminal window
    sudo apt update
  2. Upgrade installed packages:

    Terminal window
    sudo apt upgrade
  3. Apply full distribution upgrades:

    Terminal window
    sudo apt dist-upgrade
  4. Reboot if kernel updates were applied:

    Terminal window
    sudo reboot
  1. Update all packages:

    Terminal window
    sudo yum update

    or (on newer versions):

    Terminal window
    sudo dnf update
  2. Reboot if kernel updates were applied:

    Terminal window
    sudo reboot
  1. Log in to the server via Remote Desktop.
  2. Open Windows Update from the Control Panel or Settings.
  3. Check for updates and install all critical patches.
  4. Reboot the server to apply changes.