Reset Plesk’s Admin Password on Windows Server
Reset Plesk’s admin password on Windows Server: Log in to windows server via RDP as…
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.
Regular updates help you:
Since unmanaged servers do not include full managed maintenance, these updates must be applied manually.
Before You Begin
Complete these checks first:
Example SSH login:
ssh root@your-server-ip
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:
If anything does not start correctly, review service status logs and restore from backup if needed.
Useful Tips for Safer Updates
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.
Explore more hosting insights, tips and industry updates.
Reset Plesk’s admin password on Windows Server: Log in to windows server via RDP as…
This tutorial will teach you how to change the language of the WHM interface. The…
What is an .htaccess file? A .htaccess (Hypertext Access) file is a directory-level configuration file…