Unmanaged-Server

Keeping an unmanaged server updated is important for security, stability, and performance. On an unmanaged server or VPS, you are responsible for system administration, including installing package updates and security patches.

This guide explains how to update an unmanaged Linux server using SSH, with commands for Ubuntu/Debian and CentOS-based systems.

Why You Should Update an Unmanaged Server

Regular updates help you:

  • Patch known security vulnerabilities
  • Improve system stability
  • Keep installed packages current
  • Reduce the risk of service issues caused by outdated software

Since unmanaged servers do not include full managed maintenance, these updates must be applied manually.

Before You Begin

Complete these checks first:

  1. Back up your data
    Take a snapshot or backup of important files, databases, and configurations before updating.
  2. Access the server with root or sudo privileges
    You need administrative access to install system updates.
  3. Connect through SSH
    Use a terminal on Linux/macOS, or a tool such as PuTTY on Windows.

Example SSH login:
ssh root@your-server-ip

How to Install Updates on an Unmanaged Server

Step 1: Log in to the server
Connect to your server over SSH using root or a sudo-enabled user.

Step 2: Back up important data
Before applying updates, make sure you have a recent backup or server snapshot. This helps you recover quickly if something unexpected happens.

Step 3: Update package repositories and install upgrades
Use the commands that match your Linux distribution.

For Ubuntu / Debian systems:
apt-get update && apt-get upgrade

To run the update without interactive prompts:
apt-get -y update && apt-get -y upgrade

To check which packages can still be upgraded:
apt list –upgradable

For CentOS / RHEL-based systems:

On older CentOS systems:
yum -y update

On newer systems such as AlmaLinux, Rocky Linux, or modern RHEL-based distributions:
dnf -y update

These commands refresh package information from the repositories and install available updates.

Step 4: Reboot the server if required
Some updates, especially kernel updates, need a reboot to take effect.

After the server comes back online, reconnect through SSH and confirm that services are running normally.

Step 5: Verify the system after updating
After reboot, check that critical services are active, such as:

  • Web server (Apache/Nginx)
  • Database services
  • Application services
  • Firewall rules

If anything does not start correctly, review service status logs and restore from backup if needed.

Useful Tips for Safer Updates

  • Update during a low-traffic window when possible
  • Keep a remote console or provider panel access available in case SSH is interrupted
  • Do not close the terminal while package upgrades are still running
  • Review major OS upgrade paths separately; full release upgrades need extra planning
  • Monitor disk space before updating, especially on smaller VPS plans

Common Issues After Updating

Server needs reboot, but services look offline: Wait a few minutes after reboot, then reconnect and check service status.

Packages are held back: Some packages may require a more complete upgrade process depending on the distribution.

SSH disconnects during upgrade: Use a stable connection, and if needed, reconnect and check whether the update process completed.

Updating an unmanaged server is a basic but essential maintenance task. By backing up first, applying package updates through SSH, and rebooting when required, you can keep your server more secure and stable.

If you manage Ubuntu, Debian, CentOS, or related Linux distributions on an unmanaged VPS, following a regular update routine helps reduce security risks and unexpected downtime.

For more server management guides, visit the bodHOST knowledge base.

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

Reset Plesk’s Admin Password on Windows Server

Reset Plesk’s admin password on Windows Server: Log in to windows server via RDP as…

How to change the language in your WHM

This tutorial will teach you how to change the language of the WHM interface. The…

How to Find the Missing htaccess File?

What is an .htaccess file? A .htaccess (Hypertext Access) file is a directory-level configuration file…