fedora

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.

Sysadmin Tools: Managing Linux from a Windows Desktop

While it is getting more common for companies to allow their IT staff to choose their own OS not every company allows this. In fact most companies require their IT staff to use Windows, as Windows has historically been the dominate OS for the business world. While I personally believe it is easier to administer Linux/Unix servers using a Linux desktop this doesn't mean that I get to be the exception to the rule; sometimes I have had to use a Windows desktop.

How to check if a cron job ran

Cron is a time based scheduled task daemon that runs on most common Unix/Linux distributions. Because cronjobs are time based sometimes it is necessary to validate that the job ran at the scheduled time. Sometimes people will configure a cron to send the output of the script to a user via system mail or redirect the output to a file; however not all crons are setup the same and many times they may be configured to send output to /dev/null hindering any ability to validate the job ran.

Yum: Search and Install

Yum is one of the easiest methods of installing packages on Red Hat and its variants. Here is a quick example of how to search and install a package. We will be installing irssi today. To search a package you simply use the search command. [[email protected] ~]# yum search irssi Matched: irssi irssi-devel.i686 : Development package for irssi irssi-otr.i686 : Off-The-Record messaging plugin for irssi irssi-xmpp.i686 : XMPP plugin into irssi irssi.