【参加讨论】cp /mysql/share/mysql/mysql.server /etc/rc.d/init.d/mysql
cd /etc/rc.d/rc3.d
ln -s ../init.d/mysql s70mysql
系统启动时加载mysql
#) apache 的预编译
cc="egcs" \
optim="-o9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro \
-march=pentiumpro -fomit-frame-pointer -fno-exceptions" \
cflags="-ddynamic_module_limit=0" \
./configure \
--prefix=/apache \
#) php的预编译
cc="egcs" \
optim="-o9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro \
-march=pentiumpro -fomit-frame-pointer -fno-exceptions" \
./configure \
--prefix=/usr \
--with-apache=../apache_1.3.12 \
--enable-safe-mode \
--with-mm \
--enable-inline-optimization \
--enable-memory-limit \
--enable-track-vars \
--with-mysql=/mysql \
#) 安装php
make
make install
make clean
#) mode_perl 的预编译
perl makefile.pl \
everything=1 \
apache_src=../apache_1.3.12/src \
use_apaci=1 \
do_httpd=1
#) 安装mod_perl
make
make install
make clean
#) 编译apache
eapi_mm=system \
cc="egcs" \
optim="-o9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro \
-march=pentiumpro -fomit-frame-pointer -fno-exceptions" \
cflags="-ddynamic_module_limit=0" \
./configure \
--prefix=/apache \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4 \
--activate-module=src/modules/perl/libperl.a \
--enable-module=perl
#) 安装apache
make
make install
make clean
cp /apache/bin/apachectl /etc/rc.d/init.d/httpd
cd /etc/rc.d/rc3.d
ln -s ../init.d/httpd s80httpd
系统启动时加载apache
#) 安装eperl
perl makefile.pl
make
make test
make install
make clean
-frame-pointer -fno-exceptions" \
cflags="-ddynamic_module_limit=0" \
./configure \
--prefix=/apache \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4 \
--activate-module=src/modules/perl/libperl.a \
--enable-module=perl
#) 安装apache
make
make install
make clean
cp /apache/bin/apachectl /etc/rc.d/init.d/httpd
cd /etc/rc.d/rc3.d
ln -s ../init.d/httpd s80httpd
系统启动时加载apache
#) 安装eperl
perl makefile.pl
make
make test
make install
make clean
make
make test
make install
make clean
make clean