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

linux ·Óɱíά»¤ (ת)


ת×Ôhttp://blog.chinaunix.net/u3/110321/showart.php?id=2159791
²é¿´ Linux Äں˷Óɱí
ʹÓÃÏÂÃæµÄ route ÃüÁî¿ÉÒԲ鿴 Linux Äں˷ÓÉ±í¡£
# route
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
route ÃüÁîµÄÊä³öÏî˵Ã÷
Êä³öÏî ˵Ã÷
Destination
Ä¿±êÍø¶Î»òÕßÖ÷»ú
Gateway
Íø¹ØµØÖ·£¬”*” ±íʾĿ±êÊDZ¾Ö÷»úËùÊôµÄÍøÂ磬²»ÐèҪ·ÓÉ
Genmask
ÍøÂçÑÚÂë
Flags
±ê¼Ç¡£Ò»Ð©¿ÉÄܵıê¼ÇÈçÏ£º
 
U — ·ÓÉÊǻµÄ
 
H — Ä¿±êÊÇÒ»¸öÖ÷»ú
 
G — ·ÓÉÖ¸ÏòÍø¹Ø
 
R — »Ö¸´¶¯Ì¬Â·ÓɲúÉúµÄ±íÏî
 
D — ÓÉ·Óɵĺǫ́³ÌÐò¶¯Ì¬µØ°²×°
 
M — ÓÉ·Óɵĺǫ́³ÌÐòÐÞ¸Ä
 
! — ¾Ü¾ø·ÓÉ
Metric
·ÓɾàÀ룬µ½´ïÖ¸¶¨ÍøÂçËùÐèµÄÖÐתÊý£¨linux ÄÚºËÖÐûÓÐʹÓã©
Ref
·ÓÉÏîÒýÓôÎÊý£¨linux ÄÚºËÖÐûÓÐʹÓã©
Use
´Ë·ÓÉÏ·ÓÉÈí¼þ²éÕҵĴÎÊý
Iface
¸Ã·ÓɱíÏî¶ÔÓ¦µÄÊä³ö½Ó¿Ú
3 ÖÖ·ÓÉÀàÐÍ
Ö÷»ú·ÓÉ
Ö÷»ú·ÓÉÊÇ·ÓÉÑ¡Ôñ±íÖÐÖ¸Ïòµ¥¸öIPµØÖ·»òÖ÷»úÃûµÄ·ÓɼǼ¡£Ö÷»ú·ÓɵÄFlags×Ö¶ÎΪH¡£ÀýÈ磬ÔÚÏÂÃæµÄʾÀýÖУ¬±¾µØÖ÷»úͨ¹ýIPµØÖ·192.168.1.1µÄ·ÓÉÆ÷µ½´ïIPµØַΪ10.0.0.10µÄÖ÷»ú¡£
Destination Gateway Genmask Flags Metric Ref Use Iface
----------- ------- ------- ----- ------ --- --- -----
10.0.0.10 192.168.1.1 255.255.255.255 UH 0 0 0 eth0
ÍøÂç·ÓÉ
ÍøÂç·ÓÉÊÇ´ú±íÖ÷»ú¿ÉÒÔµ½´ïµÄÍøÂç¡£ÍøÂç·ÓɵÄFlags×Ö¶ÎΪN¡£ÀýÈ磬ÔÚÏÂÃæµÄʾÀýÖУ¬±¾µØÖ÷»ú½«·¢Ë͵½ÍøÂç192.19.12µÄÊý¾Ý°üת·¢µ½IPµØַΪ192.168.1.1µÄ·ÓÉÆ÷¡£
Destination Gateway Genmask Flags Metric Ref Use Iface
----------- ------- ------- ----- ----- --- --- -----
192.19.12 192.168.1.1 255.255.255.0 UN 0 0 0 eth0
ĬÈÏ·ÓÉ
µ±Ö÷»ú²»ÄÜÔÚ·Ó


Ïà¹ØÎĵµ£º

ÔÚlinuxÏÂʵÏÖweb qqµÄ×ÀÃ滯


´´½¨×ÀÃæͼ±ê
Ä¿Ç°½«ÍøÂçÓ¦ÓÃÀ©Õ¹µ½×ÀÃæÊÇÒ»¸öÇ÷ÊÆ£¬´æÔÚןܶà½â¾ö·½°¸£¬±¾ÎÄÒÔ Mozilla Prism ΪÀý£¬ÀàËƵķ½·¨Í¬ÑùÊÊÓÃÓÚ Google Chrome ¡£
1. µ½ Mozilla Prism µÄÍøÕ¾ÉÏÏÂÔØ Prism£¬µã»÷ Download Now Ö®ºó»áÌáʾÓÐÁ½ÖÖ£¬Ò»ÖÖÊÇÒÔ Mozilla Firefox À©Õ¹µÄ·½Ê½£¬ÊʺÏÒѾ­°²×°ÓÐ Firefox µÄÅóÓÑ£»Ò»Ö ......

LINUXÍøÂç±à³Ì

      ÍøÂç±à³ÌºÍÆäËû±à³Ì×î´óµÄÇø±ð¾ÍÊÇ£ºÍøÂç±à³ÌÓÉÁ½²¿·Ö×é³É£¬¿Í»§¶ËºÍ·þÎñÆ÷¶Ë¡£ÏÈÆô¶¯·þÎñÆ÷¶Ë¡¢µÈ´ý¿Í»§¶ËµÄ³ÌÐòÔËÐв¢½¨Á¢Á¬½Ó£»Ò»°ãÀ´Ëµ£¬ÊÇ·þÎñÆ÷¶ËµÄ³ÌÐòÔÚÒ»¸ö¶Ë¿ÚÉϼàÌý£¬µÈ´ýÓÐÒ»¸ö¿Í»§¶ËµÄ³ÌÐò·¢À´ÇëÇó¡£
      ÍøÂç±à³Ì»¹ÒªÒýÈëÒ»¸ö¸ÅÄЭÒé¡£ÔÚÍøÂç ......

LinuxÏÂÀûÓÃÌõ¼þ±äÁ¿ÊµÏÖ¶ÁдËø

Ê×ÏȽéÉÜÏÂpthread_cond_t¡£ ÔÚLinuxϳÆ֮Ϊ״̬±äÁ¿£¬ÓëÖ®Ïà¹ØµÄÓÐÏÂÃ漸¸öAPI:
    int pthread_cond_init (pthread_cond_t *COND,pthread_condattr_t *cond_ATTR);
    int pthread_cond_signal (pthread_cond_t *COND);
    int pthread_cond_broadcast (pthread_con ......

VmwareÏÂLinuxµÄ°²×°¡¢ÉÏÍøÉèÖú͹²ÏíÎļþ¼Ð£¨×ª£©


Ò»¡¢             VmwareÏÂLinuxµÄ°²×°ºÍʹÓÃ
1.       ÏÂÔØLinux ¾µÏñ£¨isoÎļþ£©£¬ÎÒʹÓõÄÊÇRedHat Linux5 server¡£
2.       ÔÚVmwareÖÐн¨Ò»¸öÐéÄâ»ú
 
 
 
  ......

TCP/IPÔ­Àí¡¢»ù´¡ÒÔ¼°ÔÚLinuxÉϵÄʵÏÖ

µ¼ÑÔ£º±¾Æª×÷ΪÀíÂÛ»ù´¡£¬½«ÏòÎÒÃǽ²ÊöTCP/IPµÄ»ù±¾Ô­ÀíÒÔ¼°ÖØÒªµÄЭÒéϸ½Ú£¬²¢ÔÚ´Ë»ù´¡ÉϽéÉÜÁËTCP/IPÔÚLINUXÉϵÄʵÏÖ¡£
OSI²Î¿¼Ä£Ðͼ°TCP/IP²Î¿¼Ä£ÐÍ
OSIÄ£ÐÍ£¨open system interconnection reference model£©ÊÇ»ùÓÚ¹ú¼Ê±ê×¼»¯×éÖ¯£¨ISO£©µÄ½¨Òé¶ø·¢Õ¹ÆðÀ´µÄ£¬Ëü·ÖΪÈçͼ3-1ËùʾµÄÆ߲㡣µ±ÎÀÐǺÍÎÞÏßÍøÂç³öÏÖÒÔºó£¬ÏÖÓ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ