1 頁 (共 1 頁)

upgrade 6.5 to 7

發表於 : 2014-08-06 11:44:26
yehlu
http://linuxsysconfig.com/2014/07/upgrade-to-centos-7/

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
Install preupgrade assistant

代碼: 選擇全部

yum localinstall preupgrade-assistant-*
Run preupgrade assistant

代碼: 選擇全部

preupg
Install redhat-upgrade-tool

代碼: 選擇全部

yum localinstall redhat-upgrade-tool-0.7.22-3.el6.centos.noarch.rpm
Import the CentOS 7 rpm gpg key

代碼: 選擇全部

rpm --import http://ftp.plusline.de/centos/7.0.1406/os/x86_64/RPM-GPG-KEY-CentOS-7
Run the upgrade tool

代碼: 選擇全部

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