There are only few of things that really are interesting to us and they are quite similar (if not identical) to the ones on Mielikki.
A dump of KP-Lab SVN can be found at /var/kplab/src (or /usr/local/src/kplab which is a symbolic link of the previous). There are also some build scripts, but only the deployJetspeed is used or usable at the moment. You are welcome to update and enhance these as much as you like.
The actual SVN dump is under folder kplabportal.
NOTE! It is really important to keep these files belonging to user and group tomcat (its tomcat:tomcat with chown). If they wouldn't be the deployment or running/starting/stopping of Tomcat will give you errors.
Apache is not running on 2D.
Red5 is at /usr/local/red5-0.5. There is a script /usr/local/restart-sync-server.sh which ran as root will restart the Red5.
Tomcat installation is at /var/tomcat or at symbolink link /usr/local/tomcat.
NOTE! It is really important to keep these files belonging to user and group tomcat for the same reasons as the source code.