[== Software ==] Apache http://httpd.apache.org/ PHP http://www.php.net/ Perl http://www.perl.org/ MySQL http://www.mysql.com/downloads/mysql-4.0.html - http://www.mysql.com/doc/en/Upgrading-from-3.23.html [== Apache modules ==] Required: http://httpd.apache.org/docs-2.0/mod/mod_cgid.html http://httpd.apache.org/docs-2.0/mod/mod_info.html http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html Recommended: http://httpd.apache.org/docs-2.0/mod/mod_headers.html http://httpd.apache.org/docs-2.0/mod/mod_deflate.html - http://www.apachefreaks.com/apache2/mod/mod_deflate.html Optional: http://httpd.apache.org/docs-2.0/mod/mod_so.html http://httpd.apache.org/docs-2.0/mod/mod_dir.html http://httpd.apache.org/docs-2.0/mod/mod_status.html http://httpd.apache.org/docs-2.0/mod/mod_log_config.html http://httpd.apache.org/docs-2.0/mod/mod_vhost_alias.html -> http://httpd.apache.org/docs-2.0/vhosts/mass.html [== Tuning: server ==] http://people.redhat.com/alikins/system_tuning.html http://linuxperf.nl.linux.org/ [== Tuning: Apache ==] Apache Performance Tuning http://httpd.apache.org/docs-2.0/misc/perf-tuning.html [== Tuning: PHP ==] Tuning Apache and PHP for Speed on Unix http://phplens.com/phpeverywhere/tuning-apache-php A HOWTO on Optimizing PHP http://phplens.com/lens/php-book/optimizing-debugging-php.php How to Build, Install, Secure & Optimize PHP http://www.openna.com/documentations/articles/php/index.php [== Tuning: MySQL ==] MySQL Optimization http://www.mysql.com/doc/en/MySQL_Optimisation.html Getting maximum performance from MySQL http://www.f3n.de/doku/mysql/manual_10.html -------------------------------------------------------------------------- 1. Configure and install Apache2 # ./configure --enable-mods-shared="cgi dav dav_fs dir log_config rewrite status" --with-mpm=prefork --enable-so # make # make install 2. Configure and install MySQL # CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" ./configure --with-unix-socket-path=/tmp/mysql.sock --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --enable-assembler --without-debug 3. Configure and install PHP # ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-mysql-sock=/tmp/mysql.sock --with-gd --with-png --with-zlib --enable-inline-optimization --disable-debug --with-gettext --with-gdbm --with-pear=/usr/lib/php --with-config-file-path=/etc --enable-gd-native-ttf # make # make install Make sure to backup the old php.ini file in /etc and *REMEMBER* that you will need to hack a couple of things to make PHP working correctly.