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

linux+ngnix+php °²×°ÅäÖÃ

 Èí¼þÏÂÔØµØÖ·£º
pcre£ºhttp://www.pcre.org/ 
Nginx£ºhttp://nginx.net/
spawn-fcig: http://redmine.lighttpd.net/projects/spawn-fcgi/news
ÀûÓà wget ÃüÁîÏÂÔØÏàÓ¦µÄ °²×°°ü
²½Öè
1¡¢°²×°pcre
     ngnix ÐèÒª°²×°pcre¿â£º
    wget http://sourceforge.net/project/showfiles.php?group_id=10194
  
   ½âѹpcre£º tar xzvf ÎļþÃû
   ./configure   
     make 
     make install
2¡¢°²×°ngnix
    wget http://sysoev.ru/nginx/nginx-0.8.28.tar.gz
  
   tar xzvf ngnix-0.8.28.tar.gz
   cd ngnix-0.8.28.tar.gz
   ./configure   
     make 
     make install
3¡¢°²×°php
     ÕâÀï²»ÐðÊö
4¡¢°²×° spawn-fcig
   ÒòΪ ngnixÏ php ÒªÒÔcgi·½Ê½Æô¶¯¡£
  °´ÕÕÉÏÃæÏàͬµÄ ²½Öè ÏÂÔØ°²×° spawn-fcgi¡£
 ÀûÓà spawn-fcgiÀ´Æô¶¯php£¬Ö´ÐÐÒÔÏÂÃüÁî
  /usr/local/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -C 5 -f /usr/bin/php-cgi


Ïà¹ØÎĵµ£º

ʵս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Çý¶¯¿ª·¢Ñ§Ï°µÄһЩ±ØÒª²½Öè

 1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......

linuxÏÂgcc±àÒësinº¯Êý³ö´íµÄÎÊÌâ

 
Q:
I
keep getting
errors due to library functions being undefined,
but I'm #including all
the right header files.
A:
In the general case of calling code in an
external library,
using #include
to pull in
the right header file(s) is only half
of the story; you also have to tell th ......

WindowsÓëVmwareϵÄLinuxÎļþ¹²Ïí·½Ê½×ܽá

WindowsºÍLinux¼äÓкܶàÎļþ¹²ÏíµÄ·½Ê½£¬ÕâÀï×ܽáÁËһϡ£¼ÙÉèÄãµÄHost¼ÆËã»úÊÇWindows,GuestÊÇLinux¡£
1.ÓÃvmware tools¹¤¾ß
SharedFoldersÊÇVmware4 µÄÒ»¸öй¦ÄÜ£¬¸ü¼Ó·½±ãÁËÔÚHost£¬Guest²Ù×÷ϵͳ¼ä¹²ÏíÎļþ¡£µ«ÊÇʹÓÃǰ
Òª°²×°vmware tools.
µã»÷setting->vmware tools install
mount /dev/cdrom /mnt/cdr ......

linuxÉ豸Çý¶¯¿ª·¢Ïê½â——globalmem

³£¼ûµÄÁ½ÖÖ´íÎó£º
1.ÔÚ²åÈëÄ£¿éµÄʱºò³öÏÖÈçÏÂÎÊÌ⣺
# insmod globalmem.ko insmod: error inserting 'globalmem.ko': -1 Device or resource busy
ANSWER:Ö÷É豸ºÅ±»Õ¼ÓÃÁË£¬»»ÁíÒ»¸ö¡£ Äã°Ñglobalmem.cÎļþÀïÃæµÄºê¶¨ÒåÄÇÀï¸ÄΪ226»òÆäËû£¬È»ºóÔÙ±àÒë¾Í¿ÉÒÔ²åÈëÁË£¡
ÌØ±ð×¢Ò⣺      ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ