Fine Woodworking had a good article on ventilation for AV cabinets.
One solution is to leave them open backed or open fronted but you can drill holes in the base and the back (quite high up at the back) and it creates a chimney effect pulling in cooler at at the bottom and getting rid of the...