CentOS-清理boot
- 清理过期内核文件
当执行yum upgrage
更新软件包时,CentOS系统的内核文件会被一同更新。不过,旧的内核文件却没有被删除,这个时候需要主动删除这些过期的内核文件。
1 |
|
- 设置旧内核的保留数目
https://unix.stackexchange.com/questions/105026/boot-partition-is-almost-full-in-centos
Edit/etc/yum.conf
and set the following parameter
1 |
|
CentOS-清理boot
https://dnacore.github.io/post/ff52f010-1333-4eb0-986f-76d6b11ba68e.html