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¡£ÕâÑù¾Í¿ÉÒÔ´ïµ½·ÃÎʵײãÓ²¼þµÄÄ¿µÄÁË¡£
Ïà¹ØÎĵµ£º
################## Ð޸ķÀ»ðǽ¶Ë¿Ú #################
µ±Linux´ò¿ª·À»ðǽºó£¬Äã»á·¢ÏÖ£¬´Ó±¾»úµÇ¼23¶Ë¿ÚÊÇûÓÐÎÊÌâµÄ£¬µ«ÊÇÈç¹û´ÓÁíһ̨pcµÇ¼¸Ãlinuxϵͳºó£¬Äã»á·¢ÏÖÌáʾÕâÑùµÄ´íÎó£º
²»ÄÜ´ò¿ªµ½Ö÷»úµÄÁ¬½Ó£¬ ÔÚ¶Ë¿Ú 23: Á¬½Óʧ°Ü
²é¿´¶Ë¿ÚÇé¿ö£ºservice iptables status
ÒòΪlinux·À»ðǽĬÈÏÊǹرÕ23¶Ë¿ÚµÄ ......
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ÖжÔÓÚһЩ´óÈÎÎñÐèÒªÔÚºǫ́ÔËÐУ¬·ñÔò»áÒ»Ö±Õ¼ÓÃÆÁÄ»£¬·À°Ê¹ÓÃÕßʹÓÃÖÕ¶ËÈ¥Íê³ÉÆäËüµÄÈÎÎñ¡£ÆäÖлáÌṩÈçϼ¸¸öÃüÁîÀ´½øÐкǫִ́ÐУº
1¡¢ ÉèÖÃcrontabÎļþ£¬²¢ÓÃËüÀ´Ìá½»×÷Òµ£»ÆäÖÐcron ϵͳµ÷¶È½ø³Ì£¬¿ÉÒÔʹÓÃËüÔÚÿÌìµÄ·Ç¸ß·å¸ººÉʱ¼ä¶ÎÔËÐÐ×÷Òµ£¬»òÔÚÒ»ÖÜ»òÒ»ÔÂÖеIJ»Í¬Ê±¶ÎÔËÐС£
2¡¢ ʹÓÃatÃüÁîÀ ......
µÚÒ»²¿·Ö µÚÈýÕ LinuxÖ÷»úµÄ¹æ»®
1.¼ÆËã»úÓ²¼þÅäÖûù±¾ÖªÊ¶£¨ÂÔ£©
2.LinuxÖеÄÓ²¼þÇý¶¯ºÅ£¬ÔÚLinuxÖÐÿ¸öÉ豸¶¼±»µ±³ÉÒ»¸öÎļþÀ´´¦Àí
IDEÓ²ÅÌ£º /dev/hd[a-d]
SCSIÓ²ÅÌ£º/dev/sd[a-p]
UÅÌ£º &nbs ......
++ʵÏÖRedHat·ÇÕý³£¹Ø»úµÄ×Ô¶¯´ÅÅÌÐÞ¸´
ÏȵǼµ½·þÎñÆ÷£¬È»ºóÔÚ/etc/sysconfigÀïÔö¼ÓÒ»¸öÎļþautofsck,ÄÚÈÝÈçÏ£º
AUTOFSCK_DEF_CHECK=yes
PROMPT=yes
++¸Ä±äÎļþ»òĿ¼֮×îºóÐÞ¸Äʱ¼ä(±äΪµ±Ç°Ê±¼ä)
Ö´Ðиñʽ£ºtouch name ( name ¿ÉΪÎļþ»òĿ¼Ãû³Æ¡£)
++ÈçºÎÉèÖÃloginºó»¶ÓÐÅÏ¢
ÐÞ¸Ä/etc/motd£¬ÍùÀïÃæдÈëÎı¾ ......