Long overdue first commit with content
This commit is contained in:
parent
f63ce5bdd8
commit
6cc9d8c72a
92 changed files with 2031 additions and 97 deletions
11
content/en/blog/miscellaneous/clean-old-centos-kernels.md
Normal file
11
content/en/blog/miscellaneous/clean-old-centos-kernels.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
title: "Clean old centos kernels"
|
||||
linkTitle: "Clean old centos kernels"
|
||||
date: 2016-02-03
|
||||
description: >
|
||||
Clean old centos kernels
|
||||
---
|
||||
|
||||
There is a setting in `/etc/yum.conf` that does exactly that : `installonly_limit=`. The value of this setting is the number of older kernels that are kept when a new kernel is installed by yum. If the number of installed kernels becomes greater than this, the oldest one gets removed at the same time a new one is installed.
|
||||
|
||||
This cleaning can also be done manually with a command that belongs to the yum-utils package : `package-cleanup –oldkernels –count=2`
|
Loading…
Add table
Add a link
Reference in a new issue