How to Install server updates on an unmanaged server

August 10, 2023 / cPanel & WHM

In this article, we will provide you the instructions for updating an unmanaged server, emphasising the crucial role of keeping your server secure by regularly applying the latest patches and fixes.

Please adhere to the suitable procedures according to your server’s operating system.

CentOS and Fedora-

  1. To download and install the latest updates, enter the following command as the root user:
    yum update
  2. Instead of running the previous command in interactive mode, allowing user input at certain points during the update process, you can install updates without any user intervention by using the following command:
    yum -y update

Note 1: You have the option to include this command in a cron job, enabling your server to undergo automatic updates at designated intervals.

Debian and Ubuntu-

  1. For searching the repositories for updates and promptly installing them, enter the following command as the root user:
    apt-get update && apt-get upgrade
  2. The preceding command operates in interactive mode, requiring your input at specific junctures throughout the update process to determine whether you wish to proceed. For a user intervention-free update installation, enter the subsequent command:
    apt-get -y update && apt-get -y upgrade

Note 2: Automate your server’s updates at specific intervals by incorporating this command into a cron job.

Using this approach, you can easily install server updates on an unmanaged server.

Dominos Search