“CentOS更新”的版本间差异

来自Wikioe
跳到导航 跳到搜索
(建立内容为“category:CentOS == 步骤 == # 备份 # 检查你的CentOS版本。 #: <syntaxhighlight lang="bash"> cat /etc/redhat-release CentOS Linux release 7.1.1503 (C…”的新页面)
(没有差异)

2020年10月14日 (三) 02:53的版本


步骤

  1. 备份
  2. 检查你的CentOS版本。
    cat /etc/redhat-release
    CentOS Linux release 7.1.1503 (Core)
    
  3. 用yum更新升级。(yum clean all:清除YUM缓存)
    yum clean all
    yum update
    
  4. 用下面的命令重新启动服务器。
    reboot
    
  5. 确认您的系统已成功升级
    cat /etc/redhat-release
    CentOS Linux release 7.4.1611 (Core)