Conventions used in this document: # precedes a command // and /* */ are used for comments [ ] sqaure brackets indicate something optional < > enclosed in angle brackets is used to indicate you need to replace it with the version or system specific thing. The output of a command precedes the command on the following line(s) /************************REDHAT***************************************/ //the current server setup: redhat 8.0 /*********hardware***************/ Intel(R) Pentium(R) 4 CPU 3.06GHz 1008 MB Memory 1992 MB Swap two 120 GB hardrives one external 120 GB usb harddrive *******************************/ /*********OS and software***************/ shipped from dell, with redhat 8.0 // installed mysql, apache and php /* Apache 2.0 PHP 4 */ # mysql --version mysql Ver 11.18 Distrib 3.23.56, for pc-linux (i686) # uname -a Linux bgpdata 2.4.20-18.8smp #1 SMP Thu May 29 07:20:32 EDT 2003 i686 i686 i386 GNU/Linux ##### lab computers running redhat 9.0 ###### -bash-2.05b# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) stepping : 10 cpu MHz : 996.778 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse bogomips : 1985.74 -bash-2.05b# mysql --version mysql Ver 11.18 Distrib 3.23.54, for redhat-linux-gnu (i386) /************************GENTOO**********************************/ //this is setup for gentoo linux /*** if you don't have ufed for USE variables it is nice :) ***/ # emerge ufed # ufed //select mysql and save # emerge mysql apache mod_php php /*** configure mod_php with apache ***/ # ebuild /usr/portage/dev-php/mod_php/ config /*** edit using emacs (or your favorite editor) /etc/conf.d/apache ***/ // for php support # emacs /etc/conf.d/apache //uncomment APACHE_OPTS="..." should look like: APACHE_OPTS=" -D PHP4" /*** edit /etc/apache/conf/apache.conf ***/ //uncomment SeverName line, should be: ServerName /*optionally edit /etc/apache/conf/commonplace.conf and apache.conf*/ /* if you are comfortable with apache feel free, otherwise be careful! */ /*** mysql setup ***/ # mysql_install_db # /etc/init.d/mysql start # /usr/bin/mysqladmin -u root password 'newpassword' /*** verify that your hostname is in /etc/hosts ***/ # emacs /etc/hosts //127.0.0.1 localhost /*** start apache webserver ***/ # /etc/init.d/apache start /*** add mysql and apache to start at boot (if desired) ***/ # rc-update add apache default # rc-update add mysql default