Ë«Íø¿¨linux¿ìËٴnatÖ÷»ú¹²ÏíÉÏÍø!
ÕâÊÇÔÚʵÑéÊҴ¾ÖÓòÍøʱµÄÅäÖÃдÔÚÕâÀï°É£¬µÈÔÚ»ØÒäÄǶδóѧÉú»îʱ»¹ÊǺÜÃÀºÃµÄ!
»·¾³£ºÍâÍøIP 202.206.249.186 ×ÓÍøÑÚÂë 255.255.255.0 ĬÈÏÍø¹Ø 202.206.249.1
ÄÚÍøIP192.168.0.1 ×ÓÍøÑÚÂë 255.255.255.0Íø¹Ø²»Ìí
[root@localhost ~]# echo "1" > /proc/sys/net/ipv4/ip_forward
[root@localhost ~]# iptables -F
[root@localhost ~]# iptables -t nat -F
[root@localhost ~]# iptables -t mangle -F
[root@localhost ~]# iptables -X
[root@localhost ~]# iptables -t nat -X
[root@localhost ~]# iptables -t mangle -X
[root@localhost ~]# iptables -P INPUT ACCEPT
[root@localhost ~]# iptables -P OUTPUT ACCEPT
[root@localhost ~]# iptables -P FORWARD ACCEPT
[root@localhost ~]# iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j SNAT --to 202.206.249.186
±£´æ
iptables-save>nat-1.1
service iptables save
Ïà¹ØÎĵµ£º
²ËÄñ¾ÍÊDzËÄñ£¬Ê²Ã´ÎÊÌⶼÄÜÓöµ½°¡¡£¡£¸ÕÏëѧϰÏÂlinux ¾ÍÓöµ½ÕâÖְ׳ÕÎÊÌ⣬°Ù¶ÈÏ »¹ÊÇÓнáÂÛµÄÂ𡣺ǺÇ
ÒÔÏÂΪ²ÎÕյĽâ¾ö·½°¸£º
¿ÉÒÔÒÔµ¥Ò»Ê¹ÓÃÕßµÄģʽµÇÈ룬ȻºóÔÙ½¨Á¢Ò»¸öеÄrootÃÜÂë¡£
Òª½øÈ뵥һʹÓÃÕßģʽ£¬ÇëÏÈÖØÐÂÆð¶¯ÄúµÄµçÄÔ£¬¼ÙÈçÄúʹÓÃÔ¤µ÷µÄ¿ª¹Ø¹ÜÀí³ÌʽGRUB£¬Äú¿ÉÒÔÖ´ÐÐÏÂÁеĶ¯×÷À´½øÈ뵥һʹÓÃÕßÄ£Ê ......
ÓÉÓÚ±¾ÈËÌ«ºÃÕÛÌÚϵͳ£¬¼´Ê¹ÏñlinuxÕâÑùÎȶ¨µÄϵͳҲÄÑÃâ±»ÕûµÄÂÒÆß°ËÔ㣬Èç¹ûÄÜÏñÓÃghost±¸·ÝwindowsϵͳһÑù±¸·Ýlinuxϵͳ£¬ÄǾͷ½±ã¶àÁË¡£
googleһϣ¬Óв»ÉÙ·½·¨£¬×îÏñghostµÄµ±È»ÊÇghost for linuxÁË¡£ÍøÉÏÓÐһЩʹÓõķ½·¨£¬ÎÒÀÁµÄ´ò×ÖÁË£¬Ö±½Ó´Ó±ð´¦¿½±´Ò»·Ý¹ýÀ´ËãÁË£¬ÈçÏ£º
£±¡¢ÏÂÔØG4LµÄisoÎļþ¿Ì³ÉÅÌ£¬´Ó¹â ......
ת×Ô http://blog.china-pub.com/more.asp?name=uniware&id=35478
ÔÚLinuxϲúÉú²¢µ÷ÊÔcoreÎļþ
ÏÈ¿´¿´ÎÒÓõÄÊǸöʲô»úÆ÷£º
$ uname -a
Linux dev 2.4.21-9.30AXsmp #1 SMP Wed May 26 23:37:09 EDT 2004 i686 i686 i386 GNU/Linux
ÔÙ¿´¿´Ä¬ÈϵÄһЩ²ÎÊý£¬×¢Òâcore file sizeÊǸö0£¬³ÌÐò ......
1.ÏÂÔØmemcached·þÎñÆ÷¶Ë°²×°Îļþ
°æ±¾£º
memcached-1.4.2.tar.gz
ÏÂÔصØÖ·£ºhttp://www.danga.com/memcached/download.bml
2.ÏÂÔØlibevent£¬memcachedÐèÒªÓõ½socked£¬ÒÀÀµ´Ë°²×°Îļþ¡£
°æ±¾£º
libevent-1.4.12-stable.tar.gz
ÏÂÔصØÖ·£ºhttp:/ ......
VMwareÖеÄRedHat Eneterprise
Linux 5ϵͳʱ¼ä×ܱÈÖ÷»úµÄWindows XPÂý¡£¼´Ê¹ÓÃdateÃüÁîÉèÖÃLinuxʱ¼äÓëWindows XPʱ¼äÒ»Ö£¬LinuxµÄʱ¼äÈÔ»áÖð½¥µÄÂýÏÂÀ´¡£ÕâÊǺÜÍ·Í´µÄÎÊÌ⣬Èç¹û²»Äܽâ¾ö£¬µ±ÔÚÁ½¸öϵͳ¼ä½»»»Îļþʱ£¬¿ÉÄܻᵼÖ±àÒë³öÏÖÒì³£¡£µçÄÔËùʹÓõÄCPUÊÇIntel Core2 Duo T7250£¬Ö÷Ƶ2.0G£»¶ø ......