标签:升级系统
vi /etc/yum.repos.d/upgradtool.repo
[upg] 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 -y install redhat-upgrade-tool preupgrade-assistant-contents
rpm --import http://mirrors.neusoft.edu.cn/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7
redhat-upgrade-tool --force --network 7 --instrepo=http://mirrors.yun-idc.com/centos/7/os/x86_64/
reboot
本文出自 “技术成就未来” 博客,请务必保留此出处http://jishuweiwang.blog.51cto.com/6977090/1811594
标签:升级系统
原文地址:http://jishuweiwang.blog.51cto.com/6977090/1811594