linuxÖеÄoutb¡¢outw¡¢inb¡¢inw
ÔÚlinuxµÄÇý¶¯³ÌÐòÖУ¬¶¼»áʹÓôóÁ¿µÄoutb¡¢outw¡¢inb¡¢inwµÈµÈºêÀ´·ÃÎÊÓ²¼þ»ò¼Ä´æÆ÷¡£ÕâЩºêµÄ¶¨Òå¶¼ÔÚÏàÓ¦´¦ÀíÆ÷ÌåϵϵÄinclude\asmĿ¼ÏµÄio.hÖж¨Òå¡£×·¾¿ÏÂÈ¥£¬ÕâЩºê×îÖÕ¾ÍÊÇÒ»¸övolatile±äÁ¿µÄµÄ¸³Öµ£º
#define __arch_putb(v,a) (*(volatile unsigned char *)(a) = (v))
#define __raw_writeb(v,a) __arch_putb(v,a)
#define outb(v,p) __raw_writeb(v,__io(p))
ÔÚ(*(volatile unsigned char *)(a) = (v))ÖУ¬aÊÇÒ»¸öÎïÀíµØÖ·£¨ÊµµØÖ·£¬¶àÊýÊÇÌØÊ⹦ÄܼĴæÆ÷µØÖ·£©¡£(volatile unsigned char *)¶Ôa½øÐÐÀàÐÍת»»£¬³ÉΪһ¸öÖ¸Ïò¸ÃµØÖ·Ö¸Õ룬×îºó*(volatile unsigned char *)(a)ÒýÓøÃÖ¸Õë¶Ô¸ÃµØÖ·¸³Öµv¡£ÕâÑù¾Í¿ÉÒÔ´ïµ½·ÃÎʵײãÓ²¼þµÄÄ¿µÄÁË¡£
Ïà¹ØÎĵµ£º
CassandraÊÇÒ»¸ö¿ªÔ´µÄ·Ö²¼Ê½Key-Value´æ´¢ÏµÍ³£¬Ö÷ÒªÓÃÓÚFacebook¡¢Digg¡¢TwitterµÈ´óÐÍ´óÊý¾ÝÁ¿µÄÍøÕ¾£¬ÏÖÔÚÒѾ³ÉΪApacheµÄ¶¥¼¶ÏîÄ¿¡£
ÐèÒªÏȰ²×°Java 1.6ÒÔÉϰ汾ºÍThrift¡£
ÏÂÔØCassandra£º
1.wget http://www.apache.org/dyn/closer.cgi?path=/cassandra/0.6.0/apache-cassandra-0.6.0-bin.tar.gz
½âѹËõ£º
2.t ......
´ÓǰÌ쿪ʼѧϰÇý¶¯£¬¸Ð¾õ²»µ½Çý¶¯µÄ¾«Ëè¡£²»¹ýËæ×Åʱ¼äµÄÁ÷ÊÅÎÒ½«¸ã¶¨Ëû¡£
ÒòΪÎÒ²»ÊÇÌØ±ð¶¯Èç¹ûÎÒдµÄ²»µ½Î»µÄµØ·½Ï£Íû´ó¼ÒÖ¸Õý£¬¹²Í¬½ø²½
¡£
É豸Çý¶¯
Çý¶¯¿ò¼Ü£º
Çý¶¯ºÍÆÕͨ³ÌÐòµÄÇø±ðÔÚÓÚËûÊÇʼþÇý¶¯
µÄ£¬Ò²¾ÍÊÇ˵Ëû²»ÊÇÏñÆÕͨ³ÌÐòÄÇÑù´Ómain()Ö´ÐУ¬´Ómain()½áÊø¡£ÒòΪÇý¶¯ÊÇÒÔÄ£¿éµÄÐÎʽ“ÈںϔÈë ......
Linux°æµÄgoogle-chrome£¬ÎªÁË"²»ÖØÔìÂÖ×Ó"£¬Ê¹ÓõÚÈý·½¹¤¾ß½øÐÐÖ¤ÊéµÄÑéÖ¤¡£
·½·¨ÈçÏ£º
ÏȾöÌõ¼þ£º°²×°ºÃµÚÈý·½µÄÖ¤Êé¹ÜÀí¹¤¾ß£º
yum install nss-tools
µÚÒ»¡¢´ÓhttpsÍøÕ¾£¬µ¼³öCAÖ¤Ê飬·½·¨²Î¿¼£º
http://blog.avirtualhome.com/2010/02/02/adding-ssl-certificates-to-google-chrome-linux-ubuntu/
¿¼Âǵ½Ò»Ð©Ó¢ ......
Linux Shell »·¾³ÖÐÖ§³ÖÊäÈëÊä³öÖØ¶¨Ïò£¬Ó÷ûºÅ<ºÍ>À´±íʾ¡£0¡¢1ºÍ2·Ö±ð±íʾ±ê×¼ÊäÈë¡¢±ê×¼Êä³öºÍ±ê×¼´íÎóÐÅÏ¢Êä³ö£¬¿ÉÒÔÓÃÀ´Ö¸¶¨ÐèÒªÖØ¶¨ÏòµÄ±ê×¼ÊäÈë»òÊä³ö£¬±ÈÈç 2>a.txt ±íʾ½«´íÎóÐÅÏ¢Êä³öµ½Îļþa.txtÖС£
ͬʱ£¬»¹¿ÉÒÔÔÚÕâÈý¸ö±ê×¼ÊäÈëÊä³öÖ®¼äʵÏÖÖØ¶¨Ïò£¬±ÈÈ罫´íÎóÐÅÏ¢ÖØ¶¨Ïòµ½±ê×¼Êä³ö£¬¿ÉÒÔÓà 2> ......
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
½üÆÚÒÔÀ´£¬¾²¹ÛÊÀ½ç
Linux
Òµ½çµÄ¸÷ÖÖ¶¯Ïò£¬ÁîÈËÐÄÈç³±Ó¿£¬²»µÃ°²Äþ¡£´Ë»°Ôõô½²£¿
Ê®¼¸ÄêÀ´£¬
Linux
ÒѾÐγÉÒ»¹ÉÊÀ½çÐԵķ¢Õ¹³±Á÷£¬ÈκÎÊÆÁ¦Ò²×èµ²²»ÁË¡£Ðí¶àÊÀ½ç¼¶µÄ´ó¹ ......