Clean Your YUM Out!



yum-package-manager-red-hat

YUM is a package manager and updater service for Red Hat Linux, and if you’re part of the Red Hat Network, you’re likely already using the offering to keep your applications fresh. YUM makes sure your various server components are as up to date as they can be, bringing you the latest and greatest in Red Hat without much fuss.

That being said, your YUM repositories aren’t set in stone. These are the places the service goes to when it needs to find new packages, or compare your existing software to the latest releases. These files can be edited in a number of ways, and if you haven’t messed with them before, you should likely follow the steps mentioned below to keep your Red Hat cruising along at maximum capacity.

Know How To Disable A Source

The repositories that YUM trolls can be found at the following file directory within your main server installation:

/etc/yum.repos.d

Within this directory, you’ll find a myriad of files listed as repository sources. Each of these can be edited to your hearts content, and if you want to disable a source for your YUM updater, this is the way to go. Once you’ve located a source you’d like to disable, simply change the appropriate line of code within the file to:

enable = 0

This will disable the source, but only in the sense that YUM will no longer pull information from it. The repository file is still stored on your system, which is good if you’d ever like to return to that source again. However, if you’d like to permanently disable a repository, simply delete the appropriate file from your system.

Clean Your Cache, Captain!

If you’ve been messing about with downloading and installing third party repositories, and have subsequently deleted your explorations, what you may not know is that your old files may still be junking up your repository cache. To clear the thing out, and speed up your server, commit the following lines to terminal:

yum clean packages

Be sure to type this as root, and once that’s managed, go back and enter this line, as well:

yum clean headers

 This completely purges your system, removing any old packages that may have been left lingering about. The second line ensures your header repositories are purged as well. If you’re feeling particularly gung-ho, you can always enter this line to perform both functions in one fell swoop:

yum clean all



Linux Server Logs Explained

web hosting

It’s a jungle out there, and when things go wrong in web hosting, they often go terribly wrong. It’s a tragic fact of life that not all technology is full-proof (or fool-proof) but just because you’ve encountered a problem doesn’t mean it’s...

Sep 20th, 2011 Read more

Add-Ons That Will Save Your Web Hosting Business

web hosting

To quote my grandfather, “Things is heating up all over!” Yep, Pappy, this economic climate sure is a nasty one: Advertising spots are being put on a premium, stiff competition from small-time hosts is getting nasty, and more and more users...

Sep 15th, 2011 Read more

DesignContest.com – Perfect Design or your Money Back (100% Guaranteed)!

designcontest

DesignContest.com is your one stop crowd sourcing shop for all custom graphic designs needs. DesignContest.com designers from all over the world compete for clients business resulting in amazing custom graphics. Many new and existing business owners...

Aug 17th, 2011 Read more

Do-it-yourself Virtualization

ServerBeach

ServerBeach Limited is a Vancouver, Canada-based web hosting provider that recently began offering the “optional platform” to technically knowledgeable customers who desire additional control over their servers. Statement from ServerBeach The General...

Aug 15th, 2011 Read more

Summer Web Hosting Coupons

web hosting

As a global provider of quality shared, VPS, reseller and dedicated servers, Host Color recently announced several new discount codes for money off of web hosting packages. The coupons apply to a variety of hosting products and services including the...

Jun 29th, 2011 Read more

Google +1 Button is Here! Add It to Your Website!

web hosting

What exactly is Google +1 Button? The +1 button is shorthand for “this is pretty cool” or “you should check this out.” In other words, the +1 button is pretty much similar in purpose to the Facebook “Like” button, yet +1 buttons...

Jun 1st, 2011 Read more

Page 2 of 212