Download required packages
代碼: 選擇全部
mkdir -p /root/upgrade
cd /root/upgrade
wget http://dev.centos.org/centos/6/upg/x86_64/Packages/preupgrade-assistant-1.0.2-33.0.3.el6.centos.x86_64.rpm
wget http://dev.centos.org/centos/6/upg/x86_64/Packages/preupgrade-assistant-contents-0.5.13-1.0.5.el6.centos.noarch.rpm
wget http://dev.centos.org/centos/6/upg/x86_64/Packages/preupgrade-assistant-ui-1.0.2-33.0.3.el6.centos.x86_64.rpm
wget http://dev.centos.org/centos/6/upg/x86_64/Packages/redhat-upgrade-tool-0.7.22-3.el6.centos.noarch.rpm
代碼: 選擇全部
yum localinstall preupgrade-assistant-*
代碼: 選擇全部
preupg
代碼: 選擇全部
yum localinstall redhat-upgrade-tool-0.7.22-3.el6.centos.noarch.rpm
代碼: 選擇全部
rpm --import http://ftp.plusline.de/centos/7.0.1406/os/x86_64/RPM-GPG-KEY-CentOS-7
代碼: 選擇全部
redhat-upgrade-tool --network 7.0 --instrepo http://mirror01.idc.hinet.net/CentOS/7.0.1406/os/x86_64/
redhat-upgrade-tool --network 7.0 --instrepo http://mirror01.idc.hinet.net/CentOS/7.0.1406/os/x86_64/ --force