Windows XP Windows 7 Windows 2003 Windows Vista Windows教程綜合 Linux 系統教程
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟件教程
 Windows教程網 >> Linux系統教程 >> 關於Linux >> CentOS 6.0手動升級為CentOS 6.2的方法

CentOS 6.0手動升級為CentOS 6.2的方法

日期:2017/1/25 10:34:53      編輯:關於Linux

  如果想要升級最新的CentOS系統,又或者系統自帶的更新不給力,就要手動去升級了,那麼CentOS 6.0要如何升級到CentOS 6.2呢?隨小編一起來看看吧。

 CentOS 6.0手動升級為CentOS 6.2的方法

  首先替換默認源為163源:

  mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

  wget http://mirrors.163.com/.help/CentOS6-Base-163.repo

  mv CentOS6-Base-163.repo /etc/yum.repos.d/

  升級系統:

  yum makecache

  yum update

  升級過程中報了一個key相關的錯誤,具體記不清了,重新執行yum update確定導入key即可。

  重啟,確認更新成功:

  [root@localhost ~]# uname -r

  2.6.32-220.7.1.el6.x86_64

  [root@localhost ~]# cat /etc/RedHat-release

  CentOS release 6.2 (Final)

  上面就是CentOS 6.0升級CentOS 6.2的方法介紹了,如果你在升級的過程中出現key相關錯誤,本文有介紹解決方法,希望對你有所幫助。

Copyright © Windows教程網 All Rights Reserved