linux更新系统 风行天下

1、linux更新系统

https://www.jb51.net/os/RedHat/450223.html

仅更新系统,不更新内核

yum -y --exclude=kernel\* upgrade

或者  yum -y -x 'kernel*' upgrade

 https://www.cnblogs.com/zydev/p/7801584.html

centos7仅进行安全更新

https://jingyan.baidu.com/album/455a99504c9588a166277897.html?picindex=1

2、linux仅进行更新指定的软件包

使用yum update 查看更新的列表,然后再指定某一个更新的包,

格式为 yum update 包名。比如  [root@bogon ~]# yum update  net-tools

3、Linux/CentOS配置:使用yum update更新时不升级内核的方法

https://www.cnblogs.com/52php/p/5673220.html

4、使用yum-cron不更新内核

http://www.36nu.com/post/307

https://www.cnblogs.com/52php/p/5673220.html

https://blog.csdn.net/linuxprobe18/article/details/81230969

exclude=kernel*
# 和
exclude=centos-release*

 5、

yum --exclude=kernel* --exclude=centos-release* update -y

原文地址:https://www.cnblogs.com/yaok430/p/9207137.html