Linux¶àÏ̱߳à³ÌºÍLinux 2.6ϵÄNPTL
ÊÐÃæÉÏÓеÄÒ»±¾½éÉܶàÏ̵߳ÄÊ顶Posix ¶àÏ̱߳à³Ì¡·£¬ËüÊÇÓ¢Îİ桶Programming with POSIX Muiltthread¡·ÖÐÒë±¾£¬ÕâÒ²ÊÇ°ëÄêÇ°ÎÒËùÄÜÕÒµ½µÄΨһרÌâ½éÉܶàÏ̱߳à³ÌµÄÊé¡£ÎÒ¸öÈ˸оõÕâ±¾ÊéµÄÇ°Ãæ1/3Ö®Ò»µÄÄÚÈÝдµÄ»¹ÊDz»´íµÄ£¬µ«ÊǺóÃæµÄ¶«Î÷¾Í·Ç³£»Þɬ²¢ÇÒÓкܶàÃ÷ÏÔµÄÎÄ×Ö´íÎ󡣿´¿´Õâ±¾ÊéµÄ·ÒëÕßÊǺü¸¸öÈË£¬¹À¼Æÿ¸öÈ˵ķÒëÄÜÁ¦²»Í¬Ôì³ÉÁËÕâ±¾ÊéµÄ»¢Í·Éßβ¡£ Òò´ËÎÒ²»½¨Òé´ó¼ÒÈ¥ÂòÕâ±¾Êé×÷Ϊʥ¾Êղء£Õâ±¾ÊéÇ°°ë²½µÄÄÚÈÝÖ÷ҪΧÈÆPosixµÄ¶àỊ̈߳¬½éÉܵıȽϾ«²ÊµÄ¾ÍÊǼ¸¸ö¶àÏ̱߳à³ÌÄ£ÐÍ£¬°Ñ¶àÏ̵߳Ļ¥³âºÍͬ²½»úÖƽéÉܵÄͦº¨³©µÄ£¬ÍƼöÒ»¿´¡£ ÕâЩÄÚÈݲ¢·ÇÕâ±¾ÊéÊ×´´£¬ÔçÔÚ¡¶UNIXÍøÂç±à³Ì¡·µÚ¶þ¾í½ø³Ì¼äͨОÍÓÐÁËÕâЩ¾µäµÄ½éÉÜ£¬µ«ÊÇÄÜϵͳµÄ°ÑÕâЩ»úÖƽáºÏµ½¶àÏ̱߳à³ÌÖÐÀ´»¹ÊÇÓпÉȦ¿ÉµãÖ®´¦µÄ¡£´ËÍâ±Ï¾¹¡¶UNIXÍøÂç±à³Ì¡·Á½¾íÄÚÈÝÌ«ÀÏ£¬ÊéҲ̫ºñÁË£¬²¢²»ÊÇ´ó¶àÊý³ÌÐòÔ±ËùÄÜ×øÏÂÀ´Ï¸Ï¸¿´µÄ¡£ÕâÀïÎÒ»¹Ïë±í´ïһ϶Ô΢ÈíÔÚ¼¼ÊõÉϵIJ»×ã³âÔð¡£ÔÚmsdnÖÐplatform sdk²¿·ÖÖеÄwindows¶àÏ̱߳à³ÌµÄÄÚÈÝÕæÊǼòªµÄ¿ÉЦ£¬Ö»ÓÐɵÙâÙâµÄ½¨Á¢ºÍÍ˳öÏ̵߳ĺ¯Êý£¬¹ØÓÚ»¥³â£¬Ìõ¼þµÄ½éÉÜÒ»¸ÅÈ«ÎÞ¡£Ö»ÄÜÔÚËüµÄsample´úÂëÖÐ×Ô¼ºÈ¥ÕÒ£¬sample´úÂëÀïÃæµÄÏß³Ìͬ²½·½Ê½¾ÓÈ»ÊÇ×öÒ»¸öËÀÑ»·À´ËÀµÈ£¬Ò²²»ÖªµÀËü°ÑwindowsÂôÕâô¶àÇ®ÊǸÉʲô³ÔµÄ¡£ MFCÖжàÏ̵߳ķâ×°µ¹ÊÇ¿´ÉÏÈ¥ÏñÄÇôһ»ØÊÂÇéÁË£¬µ«ÊÇÎÒÏëÏó²»³öÔÚÈç´Ë¼òªµÄϵͳapiÉÏ΢Èíµ½µ×ÊÇÈçºÎʵÏÖ³öMFCÉÏÏ̹߳¦Äܵġ£Óµ»¤windowsµÄÈ˲»ÒªÔÚÕâÀïÔÒ¼¦µ°£¬×îºÃÒ²ÄÜдһƪwindowsÉϵĶàÏ߳̽éÉܳýÁË¡£Õâ±ÈÔÒ¼¦µ°À´µÃÓÐÒâÒå¶àÁË¡£ ºÃÁË£¬Êé¹éÕý´«¼ÌÐø˵LinuxÉϵĶàÏ̡߳£
ÔÚLinuxÉÏ£¬´ÓÄں˽ǶȶøÑÔ£¬»ù±¾Ã»ÓÐʲôÏ̺߳ͽø³ÌµÄÇø±ð££´ó¼Ò¶¼Êǽø³Ì¡£Ò»¸ö½ø³ÌµÄ¶à¸öÏß³ÌÖ»ÊǶà¸öÌØÊâµÄ½ø³ÌËûÃÇËäÈ»Óи÷×ԵĽø³ÌÃèÊö½á¹¹£¬È´¹²ÏíÁËͬһ¸ö´úÂëÉÏÏÂÎÄ¡£ÔÚLinuxÉÏ£¬ÕâÑùµÄ½ø³Ì³ÆΪÇáÁ¿¼¶½ø³ÌLight weight process¡£Ö´ˣ¬¾ÍÊǹØÓÚÏ̵߳Ä×ÜÌå¸ÅÄîÁË£¬ÎÒÃÇÍùÍù¾ÍÔÚÁ˽âÕâ¸ö¸ÅÄîµÄÇé¿öÏ¿ªÊ¼ÎÒÃǵĶàÏ̱߳à³ÌÖ®Âá£Õâ¶ÔÓÚ¶àÏ̱߳à³ÌÈëÃÅÒѾ×ã¹»ÁË£¬È»¶øÊÂʵÉÏÏß³ÌÈ´Òª¸´ÔӵĶࡣ Ê×ÏȶàÏ̼߳äµÄÓÅÏȼ¶µ÷¶È£¬ÄÚ´æ×ÊÔ´£¨Õ»£©·ÖÅäºÍÐźÅͶµÝ¾Í²»ÊǼòµ¥µÄ¹²Ïíͬһ¸ö½ø³Ì´úÂëÉÏÏÂÎÄËùÄÜËùÄܽâ¾öµÄ¡£Æä´Î£¬Ð§ÂʵÄÎÊÌ⣺ÈçºÎÓÐЧµÄʹÓöàcpu×ÊÔ´£¨2.4Äں˵ĶàÏ߳̾ÍÎÞ·¨Ê¹Óöà¸öcpu£¬Ò»¸ö½ø³ÌµÄÏ̶߳¼±»ÏÞÖÆÔÚͬһ¸öcpuÉÏÔËÐУ©¡£Òò´Ë¶àÏ߳̿âPthreadµÄʵÏÖ²¢²»ÊÇÒ»¼þ¼òµ¥µÄÊÂÇ飬Ëü½¨Á¢ÔÚÌØÓеÄÏß³ÌÄ£ÐÍÖ®ÉÏ¡£
ÔÚLinux 2.4ÄÚºËÖ
Ïà¹ØÎĵµ£º
1¡¢°²×°°ü£º
ÏÂÔØÍøÖ·£ºhttp://java.sun.com/javase/downloads/index.jsp
jdk-6u12-linux-i586-rpm£¨°æ±¾£º1.6.0_12£©
2¡¢Ö´Ðа²×°
chmod 777 jdk-6u12-linux-i586-rpm.bin
./ jdk-6u12-linux-i586-rpm.bin
½ÓÊÜÐÒ飬°´enter¼´¿É»Ø¸´yes
3¡¢¸Ä±ä°²×°Ä¿Â¼£º
mv /usr/java/jdk1.6.0_12 /usr/local/java
4¡¢×îºóÉèÖà ......
1¡¢°²×°°ü£º
ÏÂÔØÍøÖ·£ºhttp://dev.sun.com.cn/glassfish/index_zh.html
glassfish-installer-v2.1-b60e-linux-ml.jar£¨°æ±¾£º2.1£©
2¡¢½âѹGlassFishÈí¼þ°ü²¢×Ô¶¯´´½¨Ò»¸öеÄÎļþ¼Ð½Ð“glassfish”
java -Xmx256m -jar glassfish-installer-v2.1-b60e-linux-ml.jar
»Ø¸´A
mv glassfish /usr/local/
3¡¢É ......
ÔÚfc8µÄdom0ÉÏ°²×°e1000eÍø¿¨Çý¶¯
#make
#Linux kernel source not configured: missing autoconf.h
½â¾ö·½·¨£º
ÔÚ±àÒëxenʱδʹÓÃmake config
´Ëʱ¿ÉÒÔÕÒµ½Ô´Â룬ÆäÖаüº¬.configÎļþ£¬ÔËÐÐmake oldconfig¼´¿ÉÉú³Éautoconf.h
´Ó¶ø¿ÉÒԳɹ¦±àÒë°²×°Äںˡ£ ......
LinuxÉ豸Çý¶¯ÖбØÐë½â¾öµÄÒ»¸öÎÊÌâÊǶà¸ö½ø³Ì¶Ô¹²Ïí×ÊÔ´µÄ²¢·¢·ÃÎÊ£¬²¢·¢·ÃÎʻᵼÖ¾ºÌ¬£¬linuxÌṩÁ˶àÖÖ½â¾ö¾ºÌ¬ÎÊÌâµÄ·½Ê½£¬ÕâЩ·½Ê½Êʺϲ»Í¬µÄÓ¦Óó¡¾°¡£
LinuxÄÚºËÊǶà½ø³Ì¡¢¶àÏ̵߳IJÙ×÷ϵͳ£¬ËüÌṩÁËÏ൱ÍêÕûµÄÄÚºËͬ²½·½·¨¡£ÄÚºËͬ²½·½·¨ÁбíÈçÏ£º
ÖжÏÆÁ±Î
Ô×Ó²Ù×÷
×ÔÐýËø
¶Áд×ÔÐýËø
˳ÐòËø
......
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
µ±½ñ£¬²»ÉÙ
Linux
Óû§Ò²Ê¹ÓÃÆäËû²Ù×÷ϵͳ£¬ÓÐʱÕâÑù£¬ÓÐʱÄÇÑù£¬ÄÑÓÚ¾«È·Í³¼Æ¡£Ö¤¾ÝºÎÔÚ£¿
5
ÔÂ
7
ÈÕ£¬
www.w3couter.com
ÍøÕ¾·¢²¼Ã¿ÔÂͳ¼ÆÊý ......