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

Linux¸ß¼¶Â·ÓÉ ²ßÂÔ·ÓÉ/À¦°ó/ÍøÇÅ

ת×Ôhttp://liuleijsjx.javaeye.com/blog/450933
1.²ßÂÔ·ÓÉ
    »ùÓÚ²ßÂԵķÓɱȴ«Í³Â·ÓÉÔÚ¹¦ÄÜÉϸüÇ¿´ó£¬Ê¹ÓøüÁé»î£¬ËüʹÍøÂç¹ÜÀíÔ±²»½öÄܹ»¸ù¾ÝÄ¿µÄµØÖ·¶øÇÒÄܹ»¸ù¾Ý±¨ÎÄ´óС¡¢Ó¦ÓûòIPÔ´µØÖ·À´Ñ¡Ôñת·¢Â·¾¶...        
    #/etc/iproute2/rt_tables ´ËÎļþ´æÓÐlinux ϵͳ·ÓɱíĬÈϱíÓÐ255 254 253ÈýÕűí
      255  local ±¾µØ·ÓÉ±í ´æÓб¾µØ½Ó¿ÚµØÖ·£¬¹ã²¥µØÖ·£¬ÒѼ°NATµØÖ·.
           local±íÓÉϵͳ×Ô¶¯Î¬»¤..¹ÜÀíÔ±²»ÄܲÙ×÷´Ë±í...
      254  main Ö÷·ÓÉ±í ´«Í³Â·Óɱí,ip routeÈôûָ¶¨±íÒà²Ù×÷±í254.Ò»°ã´æËùÓеÄ·ÓÉ..
           ×¢:ƽʱÓÃip ro sh²é¿´µÄÒàÊǴ˱íÉèÖõÄ·ÓÉ.
      253  default  ĬÈÏ·ÓɱíÒ»°ã´æ·ÅĬÈÏ·ÓÉ...
           ×¢£ºrt_tablesÎļþÖбíÒÔÊý×ÖÀ´Çø·Ö±í0±£Áô×î¶àÖ§³Ö255Õűí
    ·ÓɱíµÄ²é¿´¿ÉÓÐÒÔ϶þÖÖ·½·¨£º
      #ip route list table table_number
      #ip route list table table_name
    ·ÓɱíÌí¼ÓÍê±Ï,¼´¿ÉÔÚ²ßÂÔ·ÓɱíÄÚÌí¼Ó·ÓÉÀý:
      #ip route add 192.168.1.0/24 dev eth0 via 192.168.1.66 realm 4
        ×¢:·¢Íù×ÓÍø192.168.1.0/24µÄÊý¾Ý°üͨ¹ý·ÖÀà4ת·¢ÅäºÏtcʹÓÃ,ºóÎÄÓнéÉܽ²½â...
      #ip route add default via 192.168.1.1 table int1
      #ip route add 192.168.1.0/24 via 192.168.1.1 table int2
      #ip route add 172.16.0.2/16 via 172.16.0.1 table int3
        ×¢:¸÷·ÓɱíÖÐÓ¦µ±Ö¸Ã÷ĬÈÏ·ÓÉ,¾¡Á¿²»»Ø²é·Óɱí.·ÓÉÌí¼ÓÍê±Ï,¼´¿ÉÔÚ·ÓɹæÔòÖÐÓ¦ÓÃ..
    #ip rule sh ÏÔʾ·ÓɹæÔò
      0:      from all lookup local
 &nb


Ïà¹ØÎĵµ£º

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


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

LinuxÏÂsambaµÄ°²×°ÓëÅäÖÃ


°²×°samba
ÎÄÕÂÖÐÌáµ½µÄsmaba°²×°³ÌÐò   samba-3.0.20b-1.i386.rpm (ISO)  
1 Ê×ÏÈ£¬ÔÚVMwareÄÚ°Ñsamba°²×°ÎļþµÄ¾µÏñÎļþÓ³ÉäΪ¹âÇý£¬Èçͼ1-1²½Öè1-2-3¡£
 
ͼ1-1
2 È»ºó£¬Ê¹ÓÃÃüÁîmount /dev/cdrom /mnt/cdrom  ×÷ÓÃÊǰѹâÇýÔØÈëµ½Îļþ¼Ð/mnt/cdromÖУ¬Èçͼ1-2 ......

linuxÏÂʹÓÃsvn


ÕâÊDZðÈË£¬ÎÒÖ»ÊÇÉÔ¸Ä
     1¡¢½«Îļþcheckoutµ½±¾µØĿ¼
svn checkout path£¨pathÊÇ·þÎñÆ÷ÉϵÄĿ¼£©
ÀýÈ磺svn checkout svn://192.168.1.1/pro/domain
¼òд£ºsvn co
        2¡¢Íù°æ±¾¿âÖÐÌí¼ÓеÄÎļþ
svn add file
ÀýÈ磺svn addtest.php(Ìí¼Ótest.p ......

LinuxÏÂglftpd´î½¨FTP·þÎñÆ÷


 Ò»¡¢Ç°ÑÔ
    Linux ÉÏÓкò»ÉÙÈí¼þÄܹ»´î½¨ FTP£¬ÀýÈç vsftpd¡¢glftpd¡¢proftpd µÈ¡£
    vsftpd ÊÇºÍ Linux ϵͳÉÏÓû§¹ÜÀíÒ»ÑùµÄ¡£ËùÓеÄÓû§¹ÜÀí¶¼ÊÇÔÚÏÖÓÐËÞÖ÷ϵͳÉϵÄÓû§ÒÔ¼°×é¹ÜÀíÏàͬ¡£ÎļþȨÏÞÉϵĹÜÀíÒ²ÊÇºÍ Linux һģһÑù¡£ÔڴÉϱȽϿ죬¼òµ¥·½±ã¡£
   ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ