前端之家收集整理的这篇文章主要介绍了
CentOS6.9升级7,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
CentOS6.9
升级7
[upgrade]
name=upgrade
baseurl=http://dev.centos.org/centos/6/upg/x86_64/
enable=1
gpgcheck=0
yum -y install preupgrade-assistant-contents redhat-upgrade-tool preupgrade-assistant 安装
升级工具
preupg
升级前的检查
yum install w3m w3m-img w3m-el
rpm --import http://centos.excellmedia.net/7.3.1611/os/x86_64/RPM-GPG-KEY-CentOS-7
redhat-upgrade-tool --network 7.3 --instrepo http://centos.excellmedia.net/7.3.1611/os/x86_64/
centos-upgrade-tool-cli --network 7 --instrepo=http://vault.centos.org/centos/7.2.1511/os/x86_64/
rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm
yum --disablerepo="*" --enablerepo="elrepo-kernel" list available
yum --enablerepo=elrepo-kernel install kernel-ml
本文为原创,如果您当前访问的域名不是surenpi.com,请访问“
素人派”。
查看原文:
http://surenpi.com/2017/07/14/centos6-9-to-7/ 原文链接:https://www.f2er.com/centos/376779.html