Clean Old Kernels on CentOS

Posted Hello未来

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Clean Old Kernels on CentOS相关的知识,希望对你有一定的参考价值。

1. Check Installed Kernels

$ rpm -q kernel

2. Clean Old Kernels

## need Install yum-utils ##

## Package-cleanup set count as how many old kernels you want left ##

$ sudo package-cleanup --oldkernels --count=2

3. Make Amount of Installed Kernels Permanent

Edit /etc/yum.conf and set installonly_limit:

以上是关于Clean Old Kernels on CentOS的主要内容,如果未能解决你的问题,请参考以下文章

linux cent os 6.5安装Nginx

gradle clean can't delete file on Windows

php [php:廉价修复乱码chars] Attension on old code。 #PHP

Teacher Posts Video of Him Kissing 17 Year Old Pupil on QQ

[探究] dsu on tree,一类树上离线问题的做法

Tableau sever 日常运维18Detected the old version of Tableau Server takes precedence on the system PATH