How to Install Updates on Unmanaged Server

August 4, 2023 / Servers, Hosting & Email

In this guide, we will explain how to install updates on unmanaged server. Up-to-data server is very important for best performance, stability, and safety. Unmanaged server allows you to have full control over server administration, so, it becomes your responsibility to install the latest updates.

Let us follow the steps:

  1. First of all, activate a safe connection so that you can remotely manage your server’s operating system. For this log in to SSH or you can use PuTTY to get a secure connection if you are a Windows user.
  2. Backup your data before starting any updates. Make server’s data backup for emergencies.
  3. Now, update and upgrade package repositories before updating your unmanaged server and then install it. Execute the following command; the command may differ depending upon the Linux distribution you are using.
    1. You can run the command as a root user on Ubuntu/Debian-based systems-
      apt -get update && apt -get upgrade
    2. To install updates with any user involvement, you can use the below command-
      apt-get -y update && apt-get -y upgrade
    3. The above outlined commands procure the up-to-date package info from the repositories and will upgrade on your server. Using the below command you can confirm the updates-
      apt list –upgradable
    4. Use the following command as a root for CentOS based systems-
      yum -y update
      All the updates will be installed without any user intervention.
  4. Once the updates are installed, you should reboot your server to make sure that all the changes are taking effect. Simply, make use of the following command in Ubuntu/Debian-based systems and also for CentOS systems-
    reboot

Hope you liked our article. Feel free to get help from our support staff.

Spread the love