BOOT PARTITION FILLING UP

The boot partition can fill up with excess kernels causing the system to crash if the boot partition completely fills up.

With that in mind it is easy enough to adjust yum to keep only the last few kernels ...


Do the following to keep just the last 3 kernels on your server keeping the /boot partition clean

1 - Edit /etc/yum.conf and set the following parameter

installonly_limit=3

This will make your package manager keep just the 2 last kernels on your system(including the one that is running)

2 - Install yum-utils:

yum install yum-utils

3- Make an oldkernel cleanup:

package-cleanup --oldkernels --count=3



Completed as this will erase in a good fashion the old kernels, and, keep just the last 3 kernels through the following upgrades.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

WHAT WE MANAGE AND FIREWALL FALSE POSITIVES

Relevant to dedicated servers and answering an inquiry from a dedicated server client:Certainly...

ADDING MEMCACHED TO CENTOS 6.5+ AND CENTOS 7+

Step 1: SSH into your server and fire this command yum install memcached.x86_64 Step 2: Next...

APACHE NOBODY ATTACK SCRIPT

The Apache Nobody attack script is useful in stopping those that are victims of Apache Nobody...

CLOUDFLARE RAILGUN SERVER INSTALLATION

Installing CloudFlares RailgunThe following tutorial considers that one is already a CloudFlare...

FIREWALL MANAGEMENT

Note: 3 Aliens Web Hosting macro manages the firewalls and occasionally updates the Firewall Deny...

Powered by WHMCompleteSolution