Special offer
+370 5 205 5502 sales@monovm.com

How to Update CentOS Kernel, Update CentOS 8, 7, 6 Linux Server

How to update CentOS 8, 7, 6, From very basic steps with tips and tricks integrated we discuss the whole procedure of updating your CentOS operating system.

27 Jun, 21 by Elizabet J 2 min Read

How to update CentOS 7

One of the most important issues in managing a server, as well as maintaining its security(Linux Server security), is to keep the server up to date which in turn will keep your servers in an A1 state with optimal speed and security. Now, in this article, we're going to provide Centos updates so you can keep your system up-to-date.

Before starting the updates it should be noted that downloading the server data and in particular the ones that are mentioned below are necessary for updating. This is because if you encounter problems with the services or the server itself, you can restore it.

A few points before updating the operating system

  • Backup all system partition information
  • Backing up configuration files for services like Apache, Nginx etc.
  • Backing up databases
  • Backing up website information if available
  • Backup the settings of running services

After ensuring backup, you can now upgrade your CentOS 7 operating system.

Updateing Centos 7

1- Connect to your server first through SSH.


2- Enter the following command to display the current operating system information and its version.

                cat / etc / redhat-release

The output of the above command will be the same as the following.

CentOS Linux release 7.3.1503 (Core)

The output command representing is the current CentOS version displayed with the number 7.3.1503. Now, if a newer version is released than this version, continue the steps to update your operating system.

3. Enter the following commands in order for the operating system to be cleaned and updated.

     yum clean all
     yum update

4. After completing the above steps, complete the following command to reboot the operating system.


5. After the server rises, you can now enter the following command to display the new version of CentOS 7.

         cat / etc / redhat-release

The output of the above command will be the same as below.

CentOS Linux release 7.4.1708 (Core)

In this tutorial, we updated our CentOS 7 operating system from version 7.3.1503 to version 7.4.1708.

You can also proceed with the same steps carefully to update your Linux server.


People are also reading:

Elizabet J

One OF my major goals is getting new experiences about ICT and what’s more making progress through this field.