Knowledge Base

How to set up updates for servers

Installing updates on an unmanaged server is explained in this article. One of the most crucial steps you can take to increase the security of your server is to keep it updated with the most recent patches and updates.

Depending on the operating system of your server, follow the steps listed below.

Fedora and Linux for Alma

Enter the following command as the root user to download and install the most recent updates right away:

yum update

Because the aforementioned command operates in interactive mode, you are prompted to continue or not at specific moments throughout the update process. Instead, enter the following command to install updates automatically:

yum -y update

Ubuntu and Debian

Enter the following command as the root user to check the repositories for updates and install them right away:

apt-get update && apt-get upgrade

Because the aforementioned command operates in interactive mode, you are prompted to continue or not at specific moments throughout the update process. Instead, enter the following command to install updates automatically:

apt-get -y update && apt-get -y upgrade

Different versions of Linux

For instructions on how to install updates for other Linux distributions, go to the manual.

Please rate this article to help us improve our Knowledge Base.

0 0