The minimum set of fonts required for RHEL/CentOS 6

You try and keep X11 off your servers, but sometimes there is that one application.  If it’s a RHEL/CentOS application there is a good chance you can get away with installing only two fonts.

yum install dejavu-sans-fonts dejavu-serif-fonts

Note: It is possible other packages will be installed as dependencies.

Redhat Announces Red Hat Enterprise 6 Now Available

At a press conference today, Red Hat announced the availability of the latest version of their enterprise server, Red Hat Enterprise Server 6.  You can read the full press release at

Adding Samba's ldap schema to CentOS Directory Server

Adding Samba’s ldap schema to CentOS Directory Server is a short how-to describing how to add Samba’s LDAP schema to CentOS’s Directory Server.  This how-to is permanently stored at This how-to is based on the information found in and


CentOS Directory Server is a bit of a different beast.  Unlike OpenLDAP,  Directory Server does not use regular scheme files.  Instead it stores its schema files in LDIF format.  This means you cannot just drop in schema files like you can with OpenLDAP.   Instead you have to convert the schema files to LDIF format.  Fortunately there is already a Perl script out there to do that,


  • CentOS Directory Server is installed and functional. You’ll need the instance name.
  • You have Samba’s LDAP schema on hand. The schema is included in the samba package.
  • A copy of, available at
  • Perl installed so you can run

Converting and installing the Samba Schema

  • In the following steps, our directory server instance is named dirserv1.
  • Directory Server stores it’s schema files in /etc/dirsrv/slapd-<instance name>/schema.
  1. Download the scriptif you haven’t already.
    # wget
  2. Convert the schema file to ldif format and put in in the directory server’s schema directory
    # perl ./ -b /usr/share/doc/samba-3.0.33/LDAP/samba.schema > /etc/dirsrv/slapd-dirserv1/schema/61samba.ldif
  3. Restart the directory server
    # service dirsrv restart

iSCSI Cheat Sheet for Linux

I’ve just added my iSCSI cheat sheet for linux to the wiki.  It’s short and to the point but it works (between two CentOS 5.3 VMs anyways).  You can check it out at

Thanks to the guys at nixCraft who’s tutorials I based it on.  Theirs are the clearest tutorials I could find on the subject.   If you have never been to nixCraft before, I suggest you check it out.  They have a large list of useful tutorials.