centos 清理旧内核

 •  Filed under centos
sudo yum install yum-utils
sudo package-cleanup --oldkernels --count=1