01-12-2011, 06:42 PM | #1 |
Administrator
Join Date: Jul 2010
Posts: 402
Rep Power: 10 |
Excluding packages with Yum
Many Linux servers are configured to update automatically. I never liked this, but some clients want it this way. You can however at least configure yum to exclude some packages from automatically updating. For my, I want to BE THERE when PHP, Kernel, Apache, or MySQL updates. Edit the /etc/yum.conf file and add this line at the end (if it isn't there):
Code:
exclude=kernel* php* httpd* MySQL* mysql* Code:
assumeyes=0 When it comes time to update manually, just do it like so: Code:
yum update --disableexcludes=all |
Reply With Quote |
Reply |
Tags |
configuring linux
,
linux how-to |
|
|