1. 程式人生 > >CentOS7 升級到7.4

CentOS7 升級到7.4

oot root uil ber 最新 scrip lin roo lan

2 升級CentOS7.4

  • 自己電腦上的系統還是CentOS7.2,服務器是CentOS7.3, 打算統統升級到最新版

  • 升級前查看

    > lsb_release -a
    
    LSB Version:    :core-4.1-amd64:core-4.1-noarch
    Distributor ID: CentOS
    Description:    CentOS Linux release 7.3.1611 (Core) 
    Release:    7.3.1611
    Codename:   Core
  • 升級命令(需要root權限)

    yum clean all
    yum update
  • 升級後查看

    > lsb_release -a
    
    LSB Version:    :core-4.1-amd64:core-4.1-noarch
    Distributor ID: CentOS
    Description:    CentOS Linux release 7.4.1708 (Core) 
    Release:    7.4.1708
    Codename:   Core

CentOS7 升級到7.4