yum update 排除升级内核,方法有两个:
1.修改yum的配置文件 vi /etc/yum.conf,在[main]的最后添加exclude=kernel*
2.直接在yum的命令行执行如下的命令:
yum --exclude=kernel* update