cd gd-version ./configure --prefix=/usr/local/gd-2.0--with-png=/usr/local/lib --with-jpeg=/usr/local/lib --with-freetype=/usr/local/freetype
make
make intall
tar -zxf jakarta-tomcat-connectors-jk-VERSION
cd jakarta-tomcat-connectors-jk-VERSION/jk/native ./buildconf.sh ./configure --with-apxs=/usr/local/httpd/bin/apxs
make
make install
##### create mod_jk.conf & put the line: #####
# Tomcat Module vi /usr/local/httpd/conf/mod_jk.conf
--- SNIP --
# Load mod_jk module # Update this path to match your modules location LoadModule jk_module modules/mod_jk.so
# Where to find workers.properties # Update this path to match your conf directory location (put workers.properties next to httpd.conf) JkWorkersFile /usr/local/httpd/conf/workers.properties
# Where to put jk shared memory # Update this path to match your local state directory or logs directory JkShmFile /usr/local/httpd/logs/mod_jk.shm
# Where to put jk logs # Update this path to match your logs directory location (put mod_jk.log next to access_log)