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:
- 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.
- Backup your data before starting any updates. Make server’s data backup for emergencies.
- 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.
- You can run the command as a root user on Ubuntu/Debian-based systems-
apt -get update && apt -get upgrade - To install updates with any user involvement, you can use the below command-
apt-get -y update && apt-get -y upgrade - 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 - Use the following command as a root for CentOS based systems-
yum -y update
All the updates will be installed without any user intervention.
- You can run the command as a root user on Ubuntu/Debian-based systems-
- 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.