You can get the advice from IT HELP DESK

SYSTEM[LINUX] Update glibc

Robert
16 Jan 2019
<head>Disk Management, Server Monitoring, System management, server monitoring, server management, system management, system monitoring, </head>

[LINUX] Update glibc

Hello ~!

Let's take a look at glibc!

The GNU C Library (glibc for short) is the GNU Project's implementation of the C standard library

The Google security team found a vulnerability in the Linux GNU C library (glibc) that could potentially allow remote code execution. This vulnerability could be secured by update glibc.


The update method can be divided into the case where the Internet connection is possible and the case where it is impossible


1. Internet connection possible (Update by yum command)

  1) Check glibc version

#rpm -qa | grep glibc


  2) Run yum update

# yum -y update glibc*


  3) Recheck glibc version

# rpm -qa | grep glibc



2. If you can not connect to the Internet (Update by rpm file )

  1) Download the rpm file

Go to https://www.centos.org/  to get the update appropriate for glibc. 


  2) Update File.

After uploading the file to /home/, Go to /home/path

# cd /home/


  3) Installing rpm

# rpm -Uvh glibc-common-2.12-1.166.el6_7.7.x86_64.rpm glibc-2.12-1.166.el6_7.7.x86_64.rpm glibc-headers-2.12-1.166.el6_7.7.x86_64.rpm glibc-devel-2.12-1.166.el6_7.7.x86_64.rpm


  4) Check rpm version

# rpm -qa | grep glibc


* Precautions

Test results have no effect, But the environment may be different depending on the environment in which you are running, Make sure that the monitoring completes after the patch has been completed.