EMI Site Bdii
The official link.

(0) Preliminaries
yum clean all
EMI installations seem to insist on these two packages to be present:
yum install yum-priorities
yum install yum-protectbase

(1) Get the repos
(a) EMI
wget emisoft.web.cern.ch/emisoft/dist/EMI/1/sl5/x86_64/updates/emi-release-1.0.1-1.sl5.noarch.rpm
rpm -i emi-release-1.0.1-1.sl5.noarch.rpm
(b) EPEL
The only link to the EPEL repos I could find is on the CREAM-CE admin guide.
rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

(2) Install the software
The known issues section suggests to use openldap2.4, so I get that first:
yum install openldap2.4-servers
yum install emi-bdii-site.x86_64

(3) Configuration
cd /opt/glite/yaim/
mkdir siteinfo
chmod 0700 siteinfo
(note: our bdii password is not really 'removed' ;-)
/opt/glite/yaim/bin/yaim -c -s /opt/glite/yaim/siteinfo/siteinfo-bdii03.def -n BDII_site
edit /etc/hosts.allow to add slapd: ALL

(4) Test
/usr/bin/ldapsearch -x -H ldap://bdii03.grid.hep.ph.ic.ac.uk:2170 -b mds-vo-name=UKI-LT2-IC-HEP,o=grid