¼ÜÉè web ·þÎñÆ÷µÄÖ§³Öµ±È»Ê×Ñ¡ mysql,apache,php,Ñ¡¶¨Èí¼þºó¾Í´Ó±¾Õ¾µÄÏÂÔØÖÐÐÄÏÂÔØÁË mysql(2.23.37),apache(1.3.19),php(4.0.5)
À´°²×°.
ÎÒÑ¡ÔñµÄ°²×°Ë³ÐòΪ:1)mysql 2)apache 3)php
¿ÉÒÔ¿ªÊ¼°²×°ÁË,ÔÚ°²×°Èí¼þʱÑø³ÉÏÈ¿´¿´ ./configure --help µÄÏ°¹ßÊǷdz£ÖØÒªµÄ,ÒòΪ»áÓÐÐµĹ¦ÄÜ°²×°·½·¨Ìṩ.
------------------------------------------------------------
Ò»)mysql µÄ°²×°
1.ÏÂÔØÈí¼þ°üµ½ /usr/local/src ÄÚ
2.½âѹÈí¼þ°ü tar -zvxf mysql-2.23.37.tar.gz
3.½øÈë½âѹºóµÄĿ¼ /usr/local/src/mysql-2.23.37
4.ÔËÐа²×°ÅäÖÃ
#./configure --prefix=/usr/local --with-charset=gb2312 --with-extra-charsets=big5,latin1
ÅäÖõĵÚÒ»¸ö²ÎÊý²»ÓÃ˵ÁË,ÒòΪÎÒÃÇʹÓüòÌå,ËùÒÔÐèÒªÓÅ»¯¼òÌåµÄ²éѯ,ÎÒÃÇÕâÒ²ÐèÒª¶Ô·±ÌåºÍÓ¢ÎÄʹÓÃ,--with-charset ºÍ --with-extra-char-charsets ¾ÍÊǶÔÕâЩÐèÒª½øÐÐÅäÖÃ,ºÃÁË¿ÉÒÔ°´»Ø³µÁË!
5.±àÒë mysql
#make
Õâ¸÷¹ý³ÌÊÇÂþ³¤µÄ,¿ÉÒÔÐÝϢһϻòÕßÈ¥×öÆäËüµÄÊÂÇéÖ±µ½±àÒëÍê³É
6.°²×° mysql
#make install
7.°²×° mysql ¿â
#cd /usr/local/lib
#./mysql_install_db
8.Æô¶¯²âÊÔ mysql
#/usr/local/share/mysql/mysql.server start
9.ÔËÐÐ mysql
#/usr/local/bin/mysql
10.ΪÁËÔÚÈκÎĿ¼Ï¼üÈë mysql ¶¼ÄÜÔËÐÐ mysql ,ÐèÒª½« /usr/local/bin/mysql ÒÆÈë /usr/bin ºÍ /usr/sbin ÕâÁ½¸öĿ¼ÏÂ
#cp /usr/local/bin/mysql /usr/bin
#cp /usr/local/bin/mysql /usr/sbin
mysql °²×°Íê³É.^o^
------------------------------------------------------------
¶þ.°²×° apache
1.ÏÂÔØÈí¼þ°üµ½ /usr/local/src
2.½âѹÈí¼þ°ü
3.½¨Á¢ apache Ŀ¼
#cd /usr/local
#mkdir apache
4.½øÈë½âѹºóµÄĿ¼λÖÃ
#cd /usr/local/src/apache-1.3.19
5.ÔËÐа²×°ÅäÖÃ
#./configure --prefix=/usr/local/apache --enable-module=most --enable-shared=max
×¢Òâ´ÓÕ⿪ʼÓë´ó¶àÊýÊé±¾ºÍÎÄÕ½éÉܵݲװ·½·¨²»Í¬,²»±Ø php ºÍ apache ½»²æÅäÖÃ,ºóÃæ»á½éÉÜ php µÄ°²×°·½·¨! ÕâÀïµÄÅäÖÃÒâ˼ÊÇ apache ½øÐÐ×î´óºÍ×î¶àÄ£¿éÖ§³Ö°²×°
6.±àÒë apache
#make
7.°²×° apache
#make install
apache µÄ°²×°Íê³É
------------------------------------------------------------
Èý.°²×° php
1.ÏÂÔØÈí¼þ°üµ½ /usr/local/src
2.½âѹÈí¼þ°ü
3.½¨Á¢ php µÄĿ¼
#cd /usr/local
#mkdir php
4.½øÈë½âѹºóµÄĿ¼λÖÃ
#cd /usr/local/src/php-4.0.5
5.ÔËÐа²×°ÅäÖÃ
ÕâÀïµÄÅäÖýÏΪ¸´ÔÓ:
#./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local --enable-track-vars --disable-debug
ÌرðÒªÖ¸³öµÄÊÇÕâÅäÖÃÁË apache ×Ô¶¯¼ÓÔØ php Ä£¿é¹¦ÄÜºÍ mysql Êý¾Ý¿âÖ§³Ö¹¦ÄÜ
6.±àÒë php
#make
7.°²×° php
#make install
php °²×°Íê³É
------------------------------------------------------------
µ½Õâ mysql+apache+php °²×°Íê³É.ÎÒ»¹»á¼ÌÐø½éÉÜÈçºÎÅäÖà apache ·þÎñÆ÷ʹµÃ php,mysql ·¢»ÓËüÃdzöÉ«µÄ¹¦ÄÜ
mrhaigui ÓÚ 2006-10-11 14:40:50·¢±í:
Õâ°æ±¾Ò²Ì«ÀÏÁË°É
ÏÖÔÚmysql5¶¼³öÁË°¢