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/

centos-upgrade-tool-cli –network 7 –instrepo=http://vault.centos.org/centos/7.2.1511/os/x86_64/

http://vault.centos.org/centos/7.2.1511/os/x86_64/.treeinfo

  • 升级内核

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,请访问“素人派”。

发表评论

电子邮件地址不会被公开。 必填项已用*标注