Creating a local Yum Repository

When it comes to package management on Red Hat based systems Yum (Yellowdog Updater, Modified) is my preferred method. It's a quick and easy way of installing desired rpm's and their dependencies as Yum will automatically resolve dependencies before installation. Most Red Hat base distributions include a public facing Yum repository that you can configure yum to use in order to save from having to maintain a local copy of every package on each system.

Advanced Linux System Statistics and Diagnostics with SystemTap

In one of the first posts of this blog I covered some basic SystemTap functionality from an email that I sent to members of my team, but I have always felt that I haven't given SystemTap as thorough of an article as this incredible tool deserves. Today I want to correct that. For today's article I will show how to compile SystemTap scripts on one server while running the compiled module on a production server without installing debug-info or devel packages in production.

Finding what installed a binary with YUM and RPM

Ever find yourself wondering what package installed a binary on your Red Hat or Red Hat like distro's? Well you can find that out pretty easily using yum or rpm. [[email protected] ~]# yum whatprovides /usr/bin/ssh Loaded plugins: langpacks, presto, refresh-packagekit Adding en_US to language list openssh-clients-5.5p1-21.fc14.2.i686 : An open source SSH client applications Repo : fedora Matched from: Filename : /usr/bin/ssh openssh-clients-5.5p1-24.fc14.2.i686 : An open source SSH client applications Repo : updates Matched from: Filename : /usr/bin/ssh openssh-clients-5.

rpm: Finding dependencies

Ever want to remove a package but needed to know what requires that package before going through dependency hell? # rpm -q --whatrequires kernel prelink-0.3.0-13 tcpdump-3.7.2-7.1 iptables-1.2.9-1.0 nfs-utils-1.0.6-1