JDP 發表於 2014-8-3 16:55:55

CentOS 6.5 upgrade to 7.0

#vi /etc/yum.repos.d/upgradetool.repo
加入以下內容

name=CentOS-$releasever - Upgrade Tool
baseurl=http://dev.centos.org/centos/6/upg/x86_64/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#yum install redhat-upgrade-tool preupgrade-assistant-contents
#preupg
#rpm --import http://isoredirect.centos.org/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7
#/usr/bin/redhat-upgrade-tool-cli --force --network 7 --instrepo=http://mirror.centos.org/centos/7/os/x86_64
#reboot
#cat /etc/centos-release

Reference:
TipsAndTricks/CentOSUpgradeTool - CentOS Wiki`
http://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool
CentOS 6 到 CentOS 7 的升级过程
http://www.igooda.cn/jzjl/20140727529.html
頁: [1]
查看完整版本: CentOS 6.5 upgrade to 7.0