CentOS6 升级到CentOS7

yum -y update
cat>/etc/yum.repos.d/upgradetool.repo<<EOF                                           
[upg]
name=CentOS-$releasever - Upgrade Tool
baseurl=https://buildlogs.centos.org/centos/6/upg/x86_64/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
EOF

主要是这一步,现在网速都是说用http://dev.centos.org/centos/6/upg/x86_64/,这个地址。但是这个地址是不可用了,需要换成https://buildlogs.centos.org/centos/6/upg/x86_64/

Linux最后更新:2020-7-31
  • 本文由 发表于 2019年8月24日17:48:58
  • 除非特殊声明,本站文章均为原创,转载请务必保留本文链接
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: