CentOS bug修复指令集(阿里云漏洞修复方法)
阿里云服务器经常会提示有漏洞,如 RHSA-2018:0423: kernel security, bug fix, and enhancement update (Moderate),如何修复呢?可以参考下面的修复方案:
yum update kernel
yum update kernel-devel
yum update kernel-firmware
yum update kernel-headers
RHSA-2017:1308: kernel security, bug fix, and enhancement update (Important)
软件: kernel-tools 3.10.0-514.el7
命中: kernel-tools version less than 0:3.10.0-514.21.1.el7
yum update kernel-tools
yum update kernel-tools-libs
yum update python-perf
依次在控制台输出即可,会提示下载,到最后有一个 Y/N,选择Y即可。
最后显示Complete! 完成了。
另阿里云的46个漏洞所有修复命令
yum update kernel
yum update kernel-devel
yum update kernel-firmware
yum update kernel-headers
yum update openssh
yum update openssh-clients
yum update openssh-server
yum update ntp
yum update ntpdate
yum update libxml2
yum update libxml2-devel
yum update libxml2-python
yum update ntp
yum update ntpdate
yum update openssh
yum update openssh-clients
yum update openssh-server
yum update grep
yum update libreport
yum update libreport-cli
yum update libreport-compat
yum update libreport-plugin-kerneloops
yum update libreport-plugin-logger
yum update libreport-plugin-mailx
yum update libreport-plugin-reportuploader
yum update libreport-plugin-rhtsupport
yum update libreport-python
附阿里云漏洞修复帮助:
漏洞修复方法记载如下:
RHSA-2015:2594: libpng security update (Moderate)
修复方式:
yum update libpng
RHSA-2015:1482: libuser security update (Important)
修复方式:
yum update libuser
RHSA-2017:0641: openssh security and bug fix update (Moderate)
修复方式:
yum update openssh
yum update openssh-clients
yum update openssh-server
RHSA-2017:0817: kernel security, bug fix, and enhancement update (Moderate)
修复方式:
yum update kernel
yum update kernel-devel
yum update kernel-firmware
yum update kernel-headers
RHSA-2016:2141: bind security update (Important)
修复方式:
yum update bind-libs
yum update bind-utils
RHSA-2017:1480: glibc security update (Important)
修复方式:
yum update glibc
yum update glibc-common
yum update glibc-devel
yum update glibc-headers
yum update nscd
RHSA-2015:1634: sqlite security update (Moderate)
修复方式:
yum update sqlite
RHSA-2016:0780: ntp security and bug fix update (Moderate)
修复方式:
yum update ntp
yum update ntpdate
RHSA-2015:1447: grep security, bug fix, and enhancement update (Low)
修复方式:
yum update grep
RHSA-2015:2549: libxml2 security update (Moderate)
修复方式:
yum update libxml2
RHSA-2015:2504: libreport security update (Moderate)
修复方式:
yum update libreport
RHSA-2016:0996: openssl security update (Important)
修复方式:
yum update openssl
RHSA-2015:1633: subversion security update (Moderate)
修复方式:
yum update subversion
RHSA-2015:1840: openldap security update (Important)
修复方式:
yum update openldap
RHSA-2017:1100: nss and nss-util security update (Critical)
修复方式:
yum update nss-util
yum update nss
RHSA-2016:2972: vim security update (Moderate)
修复方式:
yum update vim-common
yum update vim-enhanced
yum update vim-minimal
RHSA-2016:1547: libtiff security update (Important)
修复方式:
yum update libtiff
RHSA-2016:2674: libgcrypt security update (Moderate)
修复方式:
yum update libgcrypt
RHSA-2016:1626: python security update (Moderate)
修复方式:
yum update python
加微信交流