Categories
Backup/Restore
4
CloudLinux (cPanel)
10
cPanel - Control Panel
24
Databases
11
Dedicated Servers
15
DirectAdmin
48
DNS - Nameservers
6
Domain Management
10
Email
17
FTP
9
Installing a Control Panel
6
Mail Filters & SPAM
8
Mobile
11
Others
3
PayPal
7
Plesk
47
Security
10
SiteWorx/InterWorx
58
Softaculous
69
SolusVM 1
18
SolusVM 2
16
SSL
5
Virtualizor
19
WHM
18
WordPress
17
Categories
Tag Cloud
BOOT PARTITION FILLING UP Print
- 0
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.
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