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

LinuxÉÏApache·´Ïò´úÀíÖ®ProxyPass IISÍøÕ¾×ܽá


   ÔÚ°ÑÕâƪ×ܽáдÏÂÀ´Ö®Ç°£¬ÎÒÏë˵¼¸¾ä»°£º¡¡¹¤×÷ºÍ°®ºÃǧÍò±ð»ìÔÚÒ»Æð£¬ÐĽ¹Á¦´á°¡£¡ÎªÁËÍê³ÉÒ»¸ö¿´ËÆÒÔÇ°ºÜ¼òµ¥²¢ÇÒÒ²Óйý³É¹¦¾­ÑéµÄÈÎÎñ£¬ÎҸɵ½ÏÖÔÚ¡£±¾À´ÒÔΪͦ¼òµ¥µÄÊÂÇ飬¼ÓÉÏÄDz»ÕùÆøµÄPromise MB Fasttrak133 µÄRAIDÇý¶¯ÕæµÄÈÃÎÒÁìÂÔµ½ÁËWindows·þÎñÆ÷ƽ̨µÄ÷ÈÁ¦£ºÒ»¸ö×Ö£ºÕæTMDÀã¡·þÎñÆ÷°²×°µÄʱºò¾ÍÓÐן÷ÖÖÀ§ÄÑ£¬ºÃÈÝÒ×ŪºÃÁË£¬È´ÔÚÅäÖÃÖгöÏÖÁËÂé·³£¬µ±È»²»ÊÇÖ¸¼òµ¥µÄ¶ÔϵͳºÍÍøÕ¾µÄÅäÖ㬶øÊÇÕë¶ÔËüµÄת·¢ÅäÖá£
¡¡¡¡ËµÕýÌ⣡
¡¡¡¡½á¹¹Èç´Ë£º
¡¡
¡¡×ÊÁÏ£º
¡¡¡¡£±¡¢Linux1 ΪÖ÷·þÎñÆ÷£¬Win1Ϊ±¾´ÎÅäÖõķþÎñÆ÷£¬Linux2¡¢Linux3Ϊ±¾´Î˳ÊÖÅäÖõķþÎñÆ÷£»
¡¡¡¡£²¡¢Á½¸öDomain: www.a.com¡¢www.b.cn£»
¡¡¡¡£³¡¢·À»ðǽΪĬÈÏÅäÖ㻵ØÖ·£º192.168.100.1
¡¡¡¡£´¡¢ÍâÍø£É£ÐµØÖ·£º222.222.222.222£¬ÄÚÍø×ÊÔ´·ÖÅ䣺Linux1 : 192.168.100.2¡¢Linux2: 192.168.100.3¡¢Linux3: 192.168.100.4¡¢Win1: 192.168.100.5£»
¡¡¡¡£µ¡¢Ö®Ç°ËùÓÐDomain½âÎöÍê±Ï£¬ÖÁ222.222.222.222£»
¡¡¡¡±¾´ÎÖصãÊÇwww.b.cn Õâ¸öDomainÔڣףɣηþÎñÆ÷ÖУ¬Ê¹ÆäÄܹ»ÔÚµ¥Ò»ÍâÍø£É£ÐÏÂͨ¹ýLinux1µÄApache·´Ïò´úÀíת·¢¡£
¡¡¡¡°´ÕÕµÀÀí˵£¬ÒÔÎÒÒÔÇ°×öµÄhttpdµÄProxy»òÕßÊÇRewrite¶¼ÊÇûÓÐÎÊÌâµÄ£¬±ÈÈ磺
<VirtualHost 192.168.1.6:80>
ServerAdmin mail@fatsohome
ServerName mail.fatso.cn
ErrorLog logs/mail-error_log
CustomLog logs/mail-access_log common
rewriteengine on
proxyrequests   off
usecanonicalname off
rewriterule ^/(.*)$ http://192.168.1.2/$1 [P,L]
</VirtualHost>¡¡¡¡
¾ßÌåÄÚÈÝÇë²Î¿¼ÎÒÒÔÇ°µÄÎÄÕ£ºhttp://fatso.blog.hexun.com/2290770_d.html
¡¡¡¡µ«ÊÇÕâÒ»´ÎÈ´³öÏÖÁËÎÊÌ⣬´òµç»°ÎÊʦÐÖ£¬Ê¦ÐÖ°ïÎÒ·ÖÎöÁ˺ܶàÇé¿öÒÔºóҲûÄܽâ¾ö£¬¹Ø¼üÊÇÎÒÃÇÒÔÇ°¶¼ÊÇֻѡÔñʹÓÃLinux·þÎñÆ÷£¬»ù±¾Óò»×ÅWinƽ̨µÄ·þÎñÆ÷£¬ËùÒÔÕâÒ»´ÎÏÔȻҪ¸ã³öÎÊÌâËùÔÚ¡£
¡¡¡¡ÔÚ²âÊԺͷÖÎöÖУ¬Ê¦ÐÖËù½²µÄʹÓÃÏÂÃæµÄ·½Ê½×ö·´ÏòÊÇûÎÊÌâµÄ£º
<VirtualHost>
ServerName  www.b.cn
RewriteEngine On
ProxyPass / http://www.b.cn/
...
</virtualHost>
¡¡¡¡µ«ÊǺóÀ´ÎÒ·¢ÏÖ£¬ÎÒÃǶ¼ºöÂÔÁËÒ»µã£ºÎÒÃǶ¼´¦ÔÚ×Ô¼ºµÄÄÚÍø£¬ÎÞÂÛÊÇ·þÎñÆ÷»¹ÊÇClient¶¼ÊÇ»áÏȱ»·þÎñÆ÷·µ»ØÄÚÍøµÄµØÖ·ÔËÐУ¡Õâ¾ÍÈÃÎÒÃÇ×ßÈëÁËÎóÇø£¬ºÇºÇ¡£
¡¡¡¡µ±Öз´¸´²âÊÔÁËÏÂÃæµÄ·½Ê½£¬»ù±¾ÉÏ°üÀ¨ÁËProxy·½Ê½ºÍRewrite·½Ê½£º
RewriteRule ^


Ïà¹ØÎĵµ£º

linuxÏÂÐÞ¸ÄipºÍÍø¹ØÒÔ¼°dns

1. ÐÞ¸ÄIPµØÖ· # vi /etc/sysconfig/network-scripts/ifcfg-eth0
ÐÞ¸ÄÒÔÏÂÄÚÈÝ  
DEVICE=eth0 #ÃèÊöÍø¿¨¶ÔÓ¦µÄÉ豸±ðÃû£¬ÀýÈçifcfg-eth0µÄÎļþÖÐËüΪeth0  
BOOTPROTO=static #ÉèÖÃÍø¿¨»ñµÃipµØÖ·µÄ·½Ê½£¬¿ÉÄܵÄÑ¡ÏîΪstatic£¬dhcp»òbootp£¬·Ö±ð¶ÔÓ¦¾²Ì¬Ö¸¶¨µÄ ipµØÖ·£¬Í¨¹ýdhcpЭÒé»ñµÃµÄipµØÖ·£ ......

VMWare ÔÚǶÈëʽLinux¿ª·¢µÄÓ¦ÓÃ

1.VMWare ¼ò½é
1.1 ʲôÊÇVMWare.
VMWareÊDZȽÏÁ÷ÐеÄÐéÄâÈí¼þ,Ëü¿ÉÒÔÔÚWindowsÉÏÄ£Äâһ̨ÐéÄâ»ú,°²×°ÈκλùÓÚX86µÄ²Ù×÷ϵͳ.
– ËüÒ²ÓÐLinux°æ±¾,ÕâÑù¿ÉÒÔÔÚLinux°²×°Windows
– ¸üеķþÎñÆ÷°æVMWare ESXÒѾ­²»ÐèÒª²Ù×÷ϵͳÁË.Ö±ÔÚһ̨Ӳ¼þÉÏÐéÄâ³öN¸ö»úÆ÷,ÏÖÔںܶàIDC(»¥ÁªÍø·þÎñÆ÷ÉÌ)²ÉÓÃÕâÒ»¼¼Êõ,°Ñһ̨ ......

linux coredumpÅäÖÃÓëµ÷ÊÔ


linux coredumpÅäÖÃÓëµ÷ÊÔ
À´Ô´:
ChinaUnix²©¿Í ¡¡ÈÕÆÚ£º
2009.02.09 17:11¡¡(¹²ÓÐ0
ÌõÆÀÂÛ) ÎÒÒªÆÀÂÛ
 
linux coredumpÅäÖÃÓëµ÷ÊÔ
       
       
       
       
       
  &nb ......

Linux Command Line ½âÎö

0
´¦Àí
Ä£ÐÍ
Linux kernel
µÄÆô¶¯°ü
À¨ºÜ¶à×é¼þµÄ³õʼ»¯ºÍÏà¹ØÅäÖã¬ÕâЩÅäÖòÎÊýÒ»°ãÊÇͨ¹ýcommand line
½ø
ÐÐÅäÖõġ£ÔÚ½øÐкóÐø·ÖÎö֮ǰ£¬ÏÈÀ´Àí½âÒ»ÏÂcommand line
µÄ´¦Àí
Ä£ÐÍ£º
Òª´¦ÀíµÄ¶ÔÏóÊÇÒ»¸ö×Ö·û´®£¬ÆäÖаüº¬Á˸÷ÖÖÅäÖÃÐÅÏ¢£¬Í¨³£¸÷¸öÅäÖÃÖ®¼äͨ¹ý¿Õ¸ñ½øÐзÖÀ룬ÿ¸öÅäÖõıí´ïÐÎʽÊÇ
È磺param=va ......

linux°²×°glassfish

1¡¢°²×°°ü£º
ÏÂÔØÍøÖ·£ºhttp://dev.sun.com.cn/glassfish/index_zh.html
glassfish-installer-v2.1-b60e-linux-ml.jar£¨°æ±¾£º2.1£©
2¡¢½âѹGlassFishÈí¼þ°ü²¢×Ô¶¯´´½¨Ò»¸öеÄÎļþ¼Ð½Ð“glassfish”
java -Xmx256m -jar glassfish-installer-v2.1-b60e-linux-ml.jar
»Ø¸´A
mv glassfish /usr/local/
3¡¢É ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ