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.
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
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
For instructions on how to install updates for other Linux distributions, go to the manual.