linux
root登陆
yum check-update 查看可升级的系统软件
yum upgrade 升级所有可升级的系统软件
等待执行完成,完成后, 再登录阿里云服务器的控制台,进行验证。等待大概3-5分钟的时间,刷新页面。
如果还剩一个kernel的高危漏洞,是因为没有重启服务器,需要重启服务器。
常用升级命令
阿里云系统级漏洞还得购买才能看到修复命令,真好!
让我知道大佬都是花钱解决问题,然而我自己解决问题
0.0 1.RHSA-2018:0008: kernel security update漏洞修复 修复方式:yum update kernel yum update kernel-devel yum update kernel-headers reboot
2.RHSA-2017:0574: gnutls security, bug fix, and enhancement update漏洞修复 修复方式:yum update gnutls
3.RHSA-2016:0496: git security update漏洞修复 修复方式:yum update openssh yum update openssh-askpass yum update openssh-clients yum update openssh-server yum update git4.RHSA-2015:259
4: libpng security update (Moderate)修复方式: yum update libpng5.RHSA-2015:1482: libuser security update (Important) 修复方式:yum update libuser
6.RHSA-2017:0641: openssh security and bug fix update (Moderate) 修复方式:yum update openssh yum update openssh-clients yum update openssh-server
7.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
8.RHSA-2016:2141: bind security update (Important) 修复方式:yum update bind-libs yum update bind-utils
9.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
10.RHSA-2015:1634: sqlite security update (Moderate) 修复方式:yum update sqlite
11.RHSA-2016:0780: ntp security and bug fix update (Moderate) 修复方式:yum update ntp yum update ntpdate
12.RHSA-2015:1447: grep security, bug fix, and enhancement update (Low) 修复方式:yum update grep
13.RHSA-2015:2549: libxml2 security update (Moderate) 修复方式:yum update libxml2
14.RHSA-2015:2504: libreport security update (Moderate) 修复方式:yum update libreport
15.RHSA-2016:0996: openssl security update (Important) 修复方式:yum update openssl
16.RHSA-2015:1633: subversion security update (Moderate) 修复方式:yum update subversion
17.RHSA-2015:1840: openldap security update (Important) 修复方式:yum update openldap
18.RHSA-2017:1100: nss and nss-util security update (Critical) 修复方式:yum update nss-util yum update nss
19.RHSA-2016:2972: vim security update (Moderate) 修复方式:yum update vim-common yum update vim-enhanced yum update vim-minimal
20.RHSA-2016:1547: libtiff security update (Important) 修复方式:yum update libtiff
21.RHSA-2016:2674: libgcrypt security update (Moderate) 修复方式:yum update libgcrypt
22.RHSA-2016:1626: python security update (Moderate) 修复方式:yum update python
以上命令借鉴于:http://ju.outofmemory.cn/entry/350851
如有疑问请参考原文
windows
进入控制面板->windows update 升级需要升级的即可
也可以手动下载升级
http://www.catalog.update.microsoft.com/Search.aspx?q=KB4054522
搜索需要的版本,下载安装
网友评论