How to install updates on unmanaged server

Maintaining an up-to-date server is vital for ensuring optimal performance, security, and stability. In the case of an unmanaged server, where you have complete control over server administration, it becomes your responsibility to install updates. In this article, we will guide you on how to install updates on an unmanaged server.

 

Step: -1 Establish a Secure Connection: 

To begin, establish a secure connection to your unmanaged server using SSH or any other remote access method supported by your server. You can use PuTTY to get a secure connection if you are a Windows User. This allows you to remotely manage your server's operating system.

 

Step: -2 Back up your data:

Backup Your Data: Before initiating any updates, create a backup of your server's data. This precaution ensures that you have a restore point in case anything goes wrong during the update process.

 

Step: -3 Update and upgrade Package Repositories: 

The first step in updating your unmanaged server is to update the package repositories and then install them. Depending on the Linux distribution you are using; the command may vary.

 

For example, on Ubuntu/Debian-based systems, you can run the command as a root user:

apt -get update && apt -get upgrade

 

To install updates with any user intervention, you can use the following commands as a root user:

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

 

These commands fetch the latest package information from the repositories and will upgrade on your server.

you can verify the updates with the following command:

apt list --upgradable

 

For CentOS-based systems type the following command as a root user:

yum -y update

 

This command will install all the updates without any user intervention.

 

Step: -4 Reboot the server:

After the updates are installed, it is recommended to reboot your server to ensure that all updates take effect. You can use this command in Ubuntu/Debian-based systems and also for CentOS systems. Use the following command:

reboot

 

If you have any questions or need assistance, we are here 24/7 to help! You can submit a ticket, chat live with us, or call us at 1-604-265-0333 or 1-866-886-NSIX (Toll-Free)

Visit our support page, N6 cloud hosting knowledgebase: N6 Cloud!


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 48