| 導購 | 订阅 | 在线投稿
分享
 
 
 

Linux下安PHP,APACHE,MYSQL,PERL方法 4

來源:互聯網  2008-05-31 18:45:34  評論

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

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
󰈣󰈤
王朝萬家燈火計劃
期待原創作者加盟
 
 
 
>>返回首頁<<
 
 
 
 
 熱帖排行
 
 
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有