如何从centos6.0升级到centos6.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)

相关文章:

  • 2021-08-14
  • 2022-01-02
  • 2021-07-04
  • 2021-05-05
  • 2021-08-28
  • 2021-06-02
  • 2022-01-15
  • 2022-12-23
猜你喜欢
  • 2018-04-02
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
  • 2021-11-25
  • 2023-03-19
相关资源
相似解决方案