In this article, we will illustrate the process of updating an unmanaged server. Keeping your server up-to-date is crucial for optimal performance, stability, and security. With unmanaged servers, you have complete control over server administration, making it your responsibility to install the latest updates.
Follow these steps to install updates on unmanaged Server:
1. Log into your SSH or Putty.
2. Prioritize data backup before initiating updates to ensure preparedness for potential emergencies.
3. First, refresh and upgrade package repositories on your unmanaged server before proceeding with the installation. Use the appropriate command, which may vary based on your Linux distribution.
3.1 Run the command as a root user on Ubuntu/Debian-based systems:
apt -get update && apt -get upgrade
3.2 To install updates with any user involvement, you can use the below command:
apt-get -y update && apt-get -y upgrade
3.3 The commands described above fetch the latest package information from the repositories and perform upgrades on your server. To verify the updates, you can utilize the following command:
apt list –upgradable
3.4 following command as a root for CentOS based systems-
yum -y update
All the updates will be installed without any user intervention.
4. After installing the updates, it is important to reboot your server to ensure that all changes take effect. To do so, use the following command for Ubuntu/Debian-based systems, as well as for CentOS systems:
In this way, you can Install Updates on an Unmanaged Server. For more information, visit our bodHOST knowledge base section.