This is an old revision of the document!
Get c library from maxmind.com
compile it and install it.
Get mod_GeoIP from maxmid.com
install it using following command
/www/apache/bin/apxs -i -a -L /usr/local/lib -I /usr/local/include -lGeoIP -c mod_geoip.c
add following line to your config
<IfModule mod_geoip.c> GeoIPEnable On GeoIPDBFile /www/virtual/andrewt/.geoip/GeoIP.dat </IfModule>
restart apache.