介绍
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/