找回密碼
 註冊
搜索
查看: 4733|回復: 0

[CentOS] CentOS 6.5 upgrade to 7.0

[複製鏈接]
發表於 2014-8-3 16:55:55 | 顯示全部樓層 |閱讀模式
#vi /etc/yum.repos.d/upgradetool.repo
加入以下內容
  1. [upg]
  2. name=CentOS-$releasever - Upgrade Tool
  3. baseurl=http://dev.centos.org/centos/6/upg/x86_64/
  4. gpgcheck=1
  5. enabled=1
  6. 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
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

Archiver|手機版|彩色筆小沛的知識庫

GMT+8, 2024-12-22 09:56 , Processed in 0.018477 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回復 返回頂部 返回列表