Centos6.6升级到Centos7:
step 1:
0 1 2 3 4 5 |
[root@localhost ~]# cat /etc/yum.repos.d/upgrade.repo [upgrade] name=upgrade baseurl=http://dev.centos.org/centos/6/upg/x86_64/ enable=1 gpgcheck=0 |
step 2:
0 |
[root@localhost ~]# yum install preupgrade-assistant-contents redhat-upgrade-tool preupgrade-assistant |
step 3:
0 |
[root@localhost ~]# preupg |
step 4:
0 1 2 3 4 5 6 7 8 |
[root@localhost ~]# rpm --import http://mirrors.163.com/centos/7.0.1406/os/x86_64/RPM-GPG-KEY-CentOS-7 [root@localhost ~]# redhat-upgrade-tool --network 7.0 --instrepo http://mirrors.163.com/centos/7.0.1406/os/x86_64/ (265/266): zlib-1.2.7-13.el7.x86_64.rpm | 89 kB 00:00 (266/266): zlib-devel-1.2.7-13.el7.x86_64.rpm | 49 kB 00:00 testing upgrade transaction rpm transaction 100% [==============================================================================================================] rpm install 100% [==================================================================================================================] setting up system for upgrade Finished. Reboot to start upgrade. |
setp 5:
0 1 2 3 |
[root@hz /]# ll /etc/locale.conf -rw-r--r--. 1 root root 19 Nov 21 2014 /etc/locale.conf [root@hz ~]# ll /etc/sysconfig/i18n -rw-r--r-- 1 root root 33 Nov 30 2012 /etc/sysconfig/i18n |
THE ENDSourceByrd's Weblog-https://note.t4x.org/environment/centos6x-update-centos7x/ SourceByrd's Weblog-https://note.t4x.org/environment/centos6x-update-centos7x/
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!