Linux:°²×°ApacheÓëPHP
Linux:°²×°ApacheÓëPHP
1¡¢Apache
ÔÚÈçÏÂÒ³ÃæÏÂÔØapacheµÄfor Linux µÄÔ´Âë°ühttp://www.apache.org/dist/httpd/; ´æÖÁ/home/xxĿ¼£¬xxÊÇ×Ô½¨Îļþ¼Ð£¬ÎÒ½¨ÁËÒ»¸öwjµÄÎļþ¼Ð¡£
ÃüÁîÁÐ±í£º
cd /home/wj
tar -zxvf httpd-2.0.54.tar.gz
mv httpd-2.0.54 apache
cd apache
./configure --prefix=/usr/local/apache2 --enable-module=so
make
make install
°²×°apacheÖÁ/usr/local/apache ²¢ÅäÖÃapacheÖ§³Ödso·½Ê½
2¡¢PHP
ÔÚÈçÏÂÒ³ÃæÏÂÔØphpµÄfor Linux µÄÔ´Âë°ühttp://www.php.net/downloads.php;´æÖÁ/home/wjĿ¼
ÃüÁîÁÐ±í£º
cd /home/wj
tar -zxvf php-5.0.4.tar.gz
mv php-5.0.4 php
cd php
./configure --prefix=/usr/local/php5
--with-apxs2=/usr/local/apache2/bin/apxs
--with-config-file-path=/usr/local/lib
--enable-track-vars
--with-xml
--with-MySQL
make
make install
ÆäÖÐapacheºÍmysqlÊǸù¾ÝÄã°²×°µÄĿ¼Ãû±ä£¬ÎÒµÄÊÇ =/usr/local/apache2/bin/apxs ºÍMySQL
cp php.ini-dist /usr/local/lib/php.ini
ÒÔdso·½Ê½°²×°phpÖÁ/usr/local/php ÉèÖÃÅäÖÃÎļþĿ¼Ϊ/usr/local/lib ¿ªÆômysql,xmlÖ§³Ö
3¡¢ÅäÖÃ
vi /usr/local/apache/conf/httpd.conf
¶Ôapache×öÈçÏÂÅäÖÃ
#½«ServerAdmin mailto:linux@linuxidc.comÒ»ÐиÄΪÄúµÄÓÊÏ䵨ַ
#DocumentRoot "/home/httpd/html/" ´Ë´¦ÎªhtmlÎļþÖ÷Ŀ¼
Options FollowSymLinks MultiViews Ϊ°²È«Æð¼û£¬È¥µô"Indexes"
DirectoryIndex default.php default.phtml default.php3 default.html default.htm
AddType application/x-httpd-php .php .phtml .php3 .inc #ÉèÖÃapacheµÄĬÈÏÎļþÃû´ÎÐò
AddType application/x-httpd-php-source .phps #ÉèÖÃphpÎļþºó׺
´æÅÌÍ˳ö
vi /usr/local/lib/php.ini
#register-golbals = On
´æÅÌÍ˳ö
4¡¢Æô¶¯·þÎñ
/usr/local/apache/bin/apachectl start
5¡¢²âÊÔ
È»ºóд¸öphp²âÊÔÒ³info.php:ÄÚÈÝÈçÏÂ
¡´?phpphpinfo();?>
Õý³£µÄ»°£¬Ó¦¸ÃÄÜ¿´µ½phpµÄÐÅÏ¢ÁË£¬¹§Ï²ÄãµÄApche+Mysql+PHP°²×°³É¹¦¡£
6¡¢apache×Ô¶¯Æô¶¯- -
ÏÂÃæÓÃ×ÔÆô¶¯apacheΪÀý;
×ÔÆô¶
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌá¹©ÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
ÔÚ±¾ÎÄÖУ¬Ëùν“Â˰Ӕ£¨
Filtering
dam
£©ÊÇÖ¸ÍøÒ³ÄÚÈݵĹýÂ˼¼Êõ£¬ÄÇô£¬
Linux
Â˰Ӻδ¦Ñ°ÄØ£¿
½üÈÕ£¬½ÌÓý²¿·¢³ö֪ͨ£¬ ......
ÐÞ¸ÄipµØÖ·
¼´Ê±ÉúЧ:
# ifconfig eth0 192.168.0.20 netmask 255.255.255.0
Æô¶¯ÉúЧ:
ÐÞ¸Ä/etc/sysconfig/network-scripts/ifcfg-eth0
ÐÞ¸Ädefault gateway
¼´Ê±ÉúЧ:
# route add default gw 192.168.0.254
Æô¶¯ÉúЧ:
ÐÞ¸Ä/etc/sysconfig/network-scripts/ifcfg-eth0
ÐÞ¸Ädns
ÐÞ¸Ä/etc/resolv.conf
Ð޸ĺó¿É ......
Redhat LinuxµÄÍøÂçÅäÖ㬻ù±¾ÉÏÊÇͨ¹ýÐ޸öÅäÖÃÎļþÀ´ÊµÏֵģ¬ËäȻҲ¿ÉÒÔÓÃifconfigÀ´ÉèÖÃIP£¬ÓÃrouteÀ´ÅäÖÃĬÈÏÍø¹Ø£¬ÓÃhostnameÀ´ÅäÖÃÖ÷»úÃû£¬µ«ÊÇÖØÆôºó»á¶ªÊ§¡£
Ïà¹ØµÄÅäÖÃÎļþ
/ect/hosts ÅäÖÃÖ÷»úÃûºÍIPµØÖ·µÄ¶ÔÓ¦
/etc/sysconfig/network ÅäÖÃÖ÷»úÃûºÍÍø¹Ø
  ......