Sometimes, you just need to custom-compile things yourself, to get exactly what you want. Here are some of the things I've custom-compiled, and the painstakingly detailed notes I've made along the way.

Build Bugzilla and Apache and MySQL.

Build Apache and Subversion for secure repository access.

Build Apache with mod_jk so that Apache serves static stuff, and Tomcat serves dynamic stuff.