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 ^
Ïà¹ØÎĵµ£º
ÏÈÈ«¾Ö½éÉÜÏ£¬Ê×ÏÈ£¬Ê²Ã´ÊÇOpenGLºÍOpenGL|ES¡£OpenGLÊÇÒ»Ì×»æͼº¯ÊýµÄ±ê×¼£¬OpenGL|ESÊÇOpenGLÖÐÕë¶ÔǶÈëʽϵͳµÄÒ»Ì׺¯Êý×Ó¼¯¡£OpenGL|ESµÄ¹Ù·½ÊÇhttp://www.khronos.org/opengles/£¬ÉÏÃæÓиü¶àµÄÐÅÏ¢¡£ÐèҪעÒâµÄÊÇ£¬OpenGL½ö½öÊDZê×¼£¬¶øÈç¹ûÄãҪʹÓÃOpenGL£¬ÔòÐèÒªÕÒµ½¿ÉÒÔʵÏÖÕâЩOpenGL±ê×¼º¯ÊýµÄ³ÌÐò¿â»òÔ´´úÂë¡£Ä ......
ÎÒÕâÀï˵µÄioctlº¯ÊýÊÇÔÚÇý¶¯³ÌÐòÀïµÄ£¬ÒòΪÎÒ²»ÖªµÀ»¹ÓÐûÓбðµÄ³¡ºÏÓõ½ÁËioctl£¬ ËùÒԾ͹涨ÁËÎÒÃÇÌÖÂ۵ķ¶Î§¡£ÎªÊ²Ã´ÒªÐ´ÆªÎÄÕÂÄØ£¬ÊÇÒòΪÎÒÇ°Ò»Õó×Ó±»ioctl¸ø¸ã»ìÁË£¬Õ⼸Ìì²ÅŪÃ÷°×Ëü£¬ÓÚÊÇÔÚÕâÀïÇåÀíÒ»ÏÂÍ·ÄÔ¡£
Ò»¡¢ ʲôÊÇioctl¡£
ioctlÊÇÉ豸Çý¶¯³ÌÐòÖжÔÉ豸µÄI/OͨµÀ½øÐйÜÀíµÄº¯Êý¡£Ëùν¶ÔI/OͨµÀ½øÐÐ ......
¡¡Ê²Ã´ÊÇSwap?
¡¡¡¡Swap£¬¼´½»»»Çø£¬³ýÁË°²×°LinuxµÄʱºò£¬ÓжàÉÙÈ˹ØÐĹýËüÄØ?Æäʵ£¬SwapµÄµ÷Õû¶ÔLinux·þÎñÆ÷£¬ÌرðÊÇWeb·þÎñÆ÷µÄÐÔÄÜÖÁ¹ØÖØÒª¡£Í¨¹ýµ÷ÕûSwap£¬ÓÐʱ¿ÉÒÔÔ½¹ýϵͳÐÔÄÜÆ¿¾±£¬½ÚʡϵͳÉý¼¶·ÑÓá£
¡¡¡¡SwapµÄÔÀíÊÇÒ»¸ö½Ï¸´ÔÓµÄÎÊÌ⣬ÐèÒª´óÁ¿µÄƪ·ùÀ´ËµÃ÷¡£ÔÚÕâÀïÖ»×÷¼òµ¥µÄ½éÉÜ£¬ÔÚÒÔºóµÄÎÄÕÂÖн«ºÍ´ó¼ÒÏêÏ ......
1¡¢RootµÇ¼
2¡¢²éip:ifcongfig
3¡¢ÐÞ¸ÄÍøÂçÉèÖÃ
vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=VirtualBox
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.2
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
4¡¢Ìí¼ÓÐÂÓû§º ......
1¡¢°²×°°ü£º
ÏÂÔØÍøÖ·£ºhttp://java.sun.com/javase/downloads/index.jsp
jdk-6u12-linux-i586-rpm£¨°æ±¾£º1.6.0_12£©
2¡¢Ö´Ðа²×°
chmod 777 jdk-6u12-linux-i586-rpm.bin
./ jdk-6u12-linux-i586-rpm.bin
½ÓÊÜÐÒ飬°´enter¼´¿É»Ø¸´yes
3¡¢¸Ä±ä°²×°Ä¿Â¼£º
mv /usr/java/jdk1.6.0_12 /usr/local/java
4¡¢×îºóÉèÖà ......