Knowledge Base

How To Update CentOS7, Ubuntu 18.04 and Debian 8

This guide will probably discuss the most common and popular Linux-based operating systems. When you start setting up a new Linux-based server, it is recommended that you first update the kernel of the system and other packages for the latest stable version. Here we can figure out how you can upgrade CentOS 7, Ubuntu 18.04 LTS or Debian 8. For this you need: VPS on which CentOS 7 will be supported for Ubuntu 16.04, or Debian 8 and access to the sudo user.

On CentOS 7

First you need to set up EPEL YUM repo

sudo yum install epel-release -y

Next, perform the system update. After the update, you need to apply all the changes that have occurred in the system, thereby restarting it:

sudo yum update -y && sudo shutdown -r now

On Ubuntu 18.04 and Debian 8

The same manual is used for these two operating systems. To get started, you need to update the list of all packages:

sudo apt-get update -y

Then, you need to install the updates, and then apply them. To do this, enter the following command: