Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Windows Ï Apache Mysql PHP µÄ°²×°

Ò»  Apache µÄ°²×°
 1  Apache µÄ°²×°
2 ͬÒâЭÒé
3 ½Ó×Å "Next "
4  Ìîд ÓòÃû(network domain) ·þÎñÆ÷µÄÃû³Æ (Server Name) ¹ÜÀíÕßÓÊÏä(Administrator's Email)
5 °²×°ÀàÐÍ
6 Ñ¡Ôñ°²×°Â·¾¶
7 µã»÷“install ” ¼ÌÐø
8 ¿ªÊ¼°²×°
9  °²×°½áÊø
¶þ   MySqlµÄ°²×°
1 ¿ªÊ¼°²×°
2 Ñ¡Ôñ°²×°ÀàÐÍ
3 Ñ¡Ôñ°²×°Â·¾¶
4 °²×°Ïà¹ØÐÅÏ¢
 5 °²×°½ø³Ì¿ªÊ¼
 6 °²×°Íê³É
 7 ¿ªÊ¼ÅäÖÃMysql
 8 °´ÏÂ “NEXT”
 9 Ñ¡Ôñ“ÏêϸÅäÖÔ »¹ÊÇ “±ê×¼ÅäÖÔ
 10 Ñ¡Ôñ·þÎñÆ÷ÀàÐÍ
      Developer ¿ª·¢Õß ÄÚ´æÕ¼ÓÃÁ¿×îС
      Server       ·þÎñÆ÷ ÄÚ´æÕ¼ÓÃÁ¿ÖеÈ
      Mysql   רÓ÷þÎñÆ÷ ÄÚ´æÕ¼ÓÃÁ¿×î´ó
 11 Êý¾Ý¿âÀàÐÍ
      Multifunctional Database  ͨÓö๦ÄÜ
      Transactional Database only  ÊÂÎïרÓà 
      Non-transactional Databases Only  ·ÇÊÂÎñרÓà Ö÷Òª×öһЩ¼à¿Ø¡¢¼ÇÊýÓÃ
12  InnoDB °²×°Â·¾¶
13 ·þÎñÆ÷²¢·¢Á¬½ÓÊý£¨Í¬Ê±Á¬½ÓMysql£©
     ¾ö²ßÖ§³Ö
     ÔÚÏßÊÂÎñ´¦Àí
     ÊÖ¶¯É趨
 14  Ñ¡ÔñÍøÂç¶Ë¿Ú
 15 ×Ö·û¼¯µÄÑ¡Ôñ(ΪÁ˸üºÃµÄ´¦ÀíÖÐÎÄ×Ö·û¼¯)
 16 launch the Mysql Server automaticall  ÊÇ·ñ×Ô¶¯Æô¶¯
      Include bin Directory in windows Path ÊÇ·ñ½«°²×°Ä¿Â¼¼ÓÈëµ½»·¾³±äÁ¿PATHÖÐ
    
 17 Enable root access from remote machines ÊÇ·ñÔÊÐírootÓû§Ô¶³ÌµÇ¼
      Create AN  Anonymous Accout  ´´½¨ÄäÃûÕË»§
 18 ×¼±¸Ö´ÐÐ
 19 ÅäÖÃÍê³É
 Èý PHP µÄ°²×°
½«PHPѹËõ°ü ½âѹµ½Öƶ¨µÄĿ¼ ¼´¿É


Ïà¹ØÎĵµ£º

MysqlµÄIP´¦Àíº¯Êýinet_aton()ºÍinet_ntoa()


INET_ATON(expr)
¸ø³öÒ»¸ö×÷Ϊ×Ö·û´®µÄÍøÂçµØÖ·µÄµãµØÖ·±íʾ£¬·µ»ØÒ»¸ö´ú±í¸ÃµØÖ·ÊýÖµµÄÕûÊý¡£µØÖ·¿ÉÒÔÊÇ4»ò8±ÈÌصØÖ·¡£
mysql> SELECT INET_ATON('209.207.224.40');
+-----------------------------+
| INET_ATON('209.207.224.40') |
+-----------------------------+
| 3520061480 |
+-------------------- ......

¿ªÆôMYSQLÈÕÖ¾ÅäÖÃ

ÔÚ[mysqld] ÏÂÌí¼Ó²ÎÊýÈçÏÂ
 #´íÎóÈÕÖ¾Êä³ö·¾¶(ʹÓÃ/×÷Ϊ·Ö¸î¶ø²»ÊÇ\)
log-error="your error-log path"
log="Your mysql log path"
log-show-queries="Your slowquery path"
#É趨³¬Ê±Ê±¼ä ´Ë´¦ÉèÖÃΪÁ½Ãë
long_query_time=2
Ok save my.ini
next
#Í£Ö¹mysql ·þÎñ
net s ......

Á¬½ÓMysqlÊý¾Ý¿âС³£Ê¶

1.¼ÓÔØmysqlÇý¶¯°üProperties->java Build Path->Libraries->Add External JARs...
2.Class.forName("com.mysql.jdbc.Driver");
conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/Êý¾Ý¿âÃû?user=root&password=ÃÜÂë"); ......

FreeBSDÀûÓÃports°²×°MySQL+Apache+PHP

ʹÓÃPorts·½Ê½ÔÚFreeBSDÏÂÅäÖÃMySQL,Apache,PHP
ÓôÃÆÁ˺ü¸Ìì,ÖÕÓÚÔÚFreeBSDϽ«MySQL,Apache,PHPµÄ»·¾³ÅàÖ²ºÃÁË.ϱ߰ÑÅäÖò½ÖèºÍ×¢ÒâµãÂÞÁÐÔÚϱß,ºÍ´ó¼Ò·ÖÏí.
 
 FreeBSD°æ±¾ÊÇ7.3,MySQL°æ±¾ÊÇ5.0.90,Apache°æ±¾ÊÇ2.2.14£¨1.3.42£©,PHP°æ±¾ÊÇ5.2.12.Îҵݲװ˳ÐòÊÇÏÈMySQL,È»ºó°²×°ApacheºÍPHP,Ò»°ãÊÇ°²×°Í ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ