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

Linux+Apache+Mysql+PHPµäÐÍÅäÖÃ


°æȨÉùÃ÷£º¿ÉÒÔÈÎÒâתÔØ£¬×ªÔØʱÇëÎñ±ØÒÔ³¬Á´½ÓÐÎʽ±êÃ÷ÎÄÕÂԭʼ³ö´¦ºÍ×÷ÕßÐÅÏ¢¼°±¾ÉùÃ÷
http://www.5ilinux.com/lamp01.html
¹Ø¼ü×Ö£ºapache+mysql+php apache mysql php ÅäÖà lamp ·þÎñÆ÷ web
Linux+Apache+Mysql+PHPµäÐÍÅäÖÃ
µ÷ÊÔ»·¾³£ºRedhat9.0 Apache1.3.29 Mysql3.23.58 PHP4.3.4
LinuxϵͳµÄ°²×°ÎҾͲ»½²ÁË£¬ÕâÊÇ»ù±¾¹¦£¬ÆäʵÕâƪÎÄÕÂÔÚÀàËÆRedhatµÄÆäËûlinuxÒ²Ó¦¸ÃͨÓ㬴ó¼ÒÖ»ÒªÕÆÎÕÎÒÌṩµÄ·½·¨¾ÍÐС£¼ÇµÃ°²×°Redhat9¡£0µÄʱºò²»Òª°²×°ÏµÍ³Ä¬ÈϵÄapache£¬mysqlºÍphpÒÔ¼°Ïà¹ØµÄÈí¼þ¡£ÒѾ­°²×°µÄÇëÓÃrpm -e * ɾ³ýÒѾ­°²×°µÄ°ü¡£
1.°²×°Mysql3.23.58
ÆäʵÀÏʵ˵ֱ½Ó°²×°Mysql¹Ù·½ÍøÕ¾ÌṩµÄrpm°üÒ²ÊÇÒ»¸ö±È½Ï¿ÉÐеİ취£¬ËûµÄ¹Ù·½ÍøÕ¾µÄrpm°üµÄÌṩ»ù±¾¸útar°ü·¢ÐÐÊÇͬ²½µÄ£¬ÕâµãÎұȽÏϲ»¶£¬ÖÁÉÙ°²×°rpm°üµÄÔÚºóÃæµÄµ÷ÊÔÖв»»á³öÏÖmysql¿âÎļþÕÒ²»µ½µÄÇé¿ö¡£µ«ÕâÀﻹÊÇÓбØÒª½²Ò»ÏÂ×Ô¶¨Òå°²×°µÄ²½Ö裬±Ï¾¹ÍøÓÑ×Ô¶¨Òå°²×°µÄ»¹ËµÍ¦¶àµÄ¡£
Èí¼þ»ñÈ¡£ºhttp://www.mysql.com/downloads/index.html
°²×°²½Ö裺
tar zxvf mysql-3.23.58.tar.gz
cd mysql-3.23.58
./configure --prefix=/usr/local/mysql --sysconfdir=/etc --localstatedir=/var/lib/mysql
make
make install
#prefix=/usr/local/mysql mysql°²×°µÄÄ¿±êĿ¼
#sysconfdir=/etc my.iniÅäÖÃÎļþµÄ·¾¶
#localstatedir=/var/lib/mysql Êý¾Ý¿â´æ·ÅµÄ·¾¶
°²×°ÍêÒÔºóÒª³õʼ»¯Êý¾Ý¿â£¬µ±È»ÄãÊÇÉý¼¶µÄ»°²»ÓÃ×öÕâ²½£»
/usr/local/mysql/bin/mysql_install_db
Èç¹ûϵͳûÓÐmysqlÕâ¸öÓû§µÄ»°£¬×îºÃ×öÒÔÏÂÕâ²½£º
useradd -M -o -r -d /var/lib/mysql -s /bin/bash -c "MySQL Server" -u 27 mysql
È»ºóÎÒÆô¶¯mysql
/usr/local/mysql/bin/safe_mysqld &
ok£¬ÏÈ¿´¿´mysqlÄÜ·ñÕý³£¹¤×÷
mysql -uroot mysql
Ò»°ãÇé¿ö϶¼ÊDz»ÄÜÕý³£Á´½ÓÊý¾Ý¿â£¬´íÎóÌáʾһ°ãΪ£º
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ÆäʵÍøÉÏ´ó¼ÒÎʵÄ×î¶àµÄ¶¼ÊÇÕû¸öÎÊÌ⣬˵ʲôÁ´½Ó²»µ½mysqld.sock£¬Æäʵ´ó¼Ò²»·Á¿´¿´mysqlµÄ´íÎóÈÕÖ¾¾ÍÃ÷°×Ôõô»ØÊ£¬ÎÒÕâÀïµÄ´íÎóÈÕÖ¾ÊÇÔÚ
/var/lib/mysql/*.err Äã»á·¢ÏÖmysqlÖ»ËùÒÔ²»ÄÜÆô¶¯£¬ÊÇÒòΪ/var/lib/mysqlµÄȨÏÞ²»ÔÊÐímysql·þÎñ·ÃÎÊ£¬Ó¢ÎÄmysqlĬÈÏÊǵ÷ÓÃmysqlÓû§À´Æô¶¯·þÎñµÄ£¬ºÃÁË£¬¼ÈȻ֪µÀÊÇʲôԭÒòÕÒµ½²»ÄÜÆô¶¯£¬ÄǾͼòµ¥ÁË¡£ÎÒÃÇÖ»Òª
chown -R mysql:mysql /var/lib/mysql


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

linux·þÎñÆ÷ÓÃlighttpd+mysql5+php5+SupeSite/X

Ò»¡¢°²×°ÏµÍ³»·¾³
1¡¢ÏµÍ³£ºcentos5
2¡¢²âÊÔÔÚvm5.5
×¼±¸Èí¼þ
lighttpd-1.4.18
ÏÂÔصØÖ·
mysql-5.0.41
part1ÏÂÔصØÖ·
part2ÏÂÔصØÖ·
part3ÏÂÔصØÖ·
php-5.2.3
ÏÂÔصØÖ·
SupeSite/X-Space
part1ÏÂÔصØÖ·
part2ÏÂÔصØÖ·
part3ÏÂÔصØÖ·
discuz
ÏÂÔصØÖ·
¶þ¡¢´î½¨web·þÎñÆ÷°²×°¹ý³Ì
1¡¢mysql5°²×°
$ tar zx ......

Linux¿ØÖÆ̨,ÖÐÎÄÏÔʾ,ÖÐÎÄÊäÈë

 Ò»¡¢Ç°ÑÔ
       
Linux×î³õµÄ¿ª·¢ÍêÈ«ÊÇΧÈÆASCII±àÂëÌåϵ½øÐеģ¬Ã»Óп¼ÂÇ·ÇÓ¢ÓïÓû§ÃæÁÙµÄÎÊÌ⣬Òò´Ëµ¼ÖÂÆäʹÓÃÃż÷½Ï¸ß£¬ÓÈÆä¶ÔÓÚÑÇÖÞÓû§¶øÑÔ£¬ÓÉÓÚ²ÉÓÃÏóÐÎ
ÎÄ×ÖµÄÌØÊâÐÔ£¨°üÀ¨ÖÐÎÄ¡¢º«ÎÄ¡¢ÈÕÎÄ£¬¼ò³ÆΪCJK£©£¬Ê¹µÃ¶ÔLinux½øÐб¾µØ»¯¸üΪÀ§ÄÑ¡£ÔÚÕâÑùµÄ±³¾°Ï£¬ejoyµÈÈË·¢Æð ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ