标签:https nes centos6 upgrade ges 软件 本地yum源 版本 s系列
centos6.x/centos7.x各个主线内小版本的升级总结
题记:centos6-->7升级风险比较大,小版本升级风险很小!
centos6.3-->centos6-10 //可以升级到特定的小版本,只需要配置特定的yum源版本
联网在线更新小版本/离线更新(内网使用) //下载特定centos dvd版本制作本地yum源
[root@stack yum.repos.d]# uname -a
Linux stack 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@stack yum.repos.d]#
[root@stack yum.repos.d]# cat /etc/*release
CentOS release 6.3 (Final)
CentOS release 6.3 (Final)
CentOS release 6.3 (Final)
当前存在的备份下
mkdir /opt/repo_old
mv /etc/yum.repos.d/* /opt/repo_old
https://mirrors.cloud.tencent.com/help/centos.html //腾讯mirror centos
centos6
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.cloud.tencent.com/repo/centos6_base.repo //目前最新的小版本centos6-10
yum clean all && yum makecache
yum --help
update Update a package or packages on your system //更新小版本
upgrade Update packages taking obsoletes into account //升级软件包
yum install -y update
reboot
[root@stack ~]# cat /etc/*release
CentOS release 6.10 (Final)
CentOS release 6.10 (Final)
CentOS release 6.10 (Final)
[root@stack ~]# uname -a
Linux stack 2.6.32-754.29.1.el6.x86_64 #1 SMP Mon Apr 27 15:30:33 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
注意:centos系列小版本的更新,默认内核不会有太大的更新2.6.32
https://www.jianshu.com/p/f4c4086c9816
标签:https nes centos6 upgrade ges 软件 本地yum源 版本 s系列
原文地址:https://www.cnblogs.com/xiaochina/p/12900184.html