ÔÚLINUXÏÂʹÓà Squid ´úÀí·þÎñÆ÷
¡¡¡¡Ê¹Óà Squid ´úÀí·þÎñÆ÷
¡¡¡¡Squid ÊÇÒ»ÖÖ´úÀí·þÎñÆ÷£¬ËüʵÏÖÁË¶Ô HTTP¡¢FTP ºÍ Gopher ÐÒéµÄ»º´æ¡£Squid Äܹ»Ê¹Ó÷ÃÎÊ¿ØÖÆÁÐ±í£¨Access Control List£¬ACL£©À´ÔÊÐí»ò¾Ü¾ø·ÃÎÊ¡£Squid ¾ß±¸Ç¿´óµÄ¿ÉÅäÖÃÄÜÁ¦ÒÔ¼°Â³°ôÐÔ£¬¶øÇÒÓû§»á·¢ÏÖ£¬¸ÃÈí¼þ·Ç³£ÈÝÒ×ѧϰ¡£¸üºÃµÄÊÇ£¬¿É½« Squid ÅäÖÃΪ͸Ã÷´úÀí£¬¼´ºÃÏñÓû§¸ù±¾²»ÖªµÀÓÐ Squid Ò»Ñù¡£
¡¡¡¡1 »ñÈ¡²¢°²×° Squid
¡¡¡¡Óû§¿É´Ó FTP Õ¾µã£ºftp://squid.nlanr.net/pub ÉÏ»ñµÃ×îеİ汾¡£Ä¿Ç°×îеİ汾ÊÇ2.3¡£ÏÖÔÚ£¬ÎÒÃǼٶ¨ÄãµÄ´úÀí·þÎñÓÐÁ½¸öÍøÂç½Ó¿Ú£¬Ò»¸öÁ¬½Óµ½ÍⲿÊÀ½ç£¬¶øÁíÒ»¸öÁ¬½Óµ½ÄÚ²¿ÍøÂ磬²¢ÇÒÄãÒѾ¹Ø±ÕÁË IP ת·¢¹¦ÄÜ¡£
¡¡¡¡
¡¡¡¡Í¼±ê ×¢Òâ ÄúÒ²¿ÉÒÔÔÚ½öÓÐÒ»¸öÍøÂç½Ó¿ÚµÄ·þÎñÆ÷ÉϽ¨Á¢ Squid£¬µ«ÎÒÃDz¢²»½¨ÒéÕâÑù×ö¡£ÕâÖÖÅäÖûá¼Ó±¶±¾µØÍøÂçµÄ½»Í¨£¬²¢¿ÉÄܵ¼ÖÂÓµÈû¡£Ä¿Ç°£¬Íø¿¨ºÍ¼¯ÏßÆ÷£¨Hub£©µÄ¼Û¸ñÒѾ·Ç³£µÍÁ®£¬¼´Ê¹¶Ô½ÏСµÄÍøÂç¶øÑÔ£¬ÕâÖÖͶ×ÊÒ²ÊÇÖµµÃµÄ¡£
¡¡¡¡
¡¡¡¡Èç¹ûÓû§¼Æ»®Ê¹Óà Squid ά»¤»º´æ£¬ÔòÐèÒª¿¼ÂÇÓ²ÅÌÇý¶¯Æ÷ºÍÄÚ´æÏÞÖÆ¡£Web »º´æµÄ±¾ÖÊÊÇ£¬ÓÐÉÏǧ¸öСÎļþҪͬʱ¶øÓÐЧµØµÝ½»¸ø¿Í»§¡£Squid µÄ×÷Õß½¨ÒéÖÁÉÙÐèÒªÓÐ 300MHz Pentium II CPU¡¢512MB RAM ºÍÎå¸ö³¬¿í SCSI Ó²ÅÌ£¬Ã¿¸öÓÐ 9GB µÄÈÝÁ¿¡£±ÊÕßÔøÌý˵£¬Ä³¸ö Internet ¹©Ó¦ÉÌֻʹÓü¸¸ö 486/66 ´¦ÀíÆ÷ÒÔ¼° IDE Çý¶¯Æ÷¡£ÎÒÈÏΪ´ó²¿·ÖÈË´¦ÓÚÕâÁ½ÖÖ¼«ÏÞÖ®¼ä±È½ÏºÏÊÊ¡£±ÊÕß½¨ÒéʹÓÃÖÁÉÙ 100MHz Pentium CPU¡¢64MB RAM ºÍ 6GB SCSI Ó²ÅÌ¡£Êµ¼ÊÉÏ£¬ÂÔ΢µÍһЩµÄÅäÖÃҲûÓжà´ó¹Øϵ¡£
¡¡¡¡ÔÚ»ñµÃ tar.gz ÎļþÖ®ºó£¬Ê¹ÓÃÏÂÃæµÄÃüÁËü½â¿ª£º
¡¡¡¡tar zxvf squid-2.3.STABLE4-src.tar.gz
¡¡¡¡
¡¡¡¡µ½SquidËùÔÚĿ¼ÖÐÔËÐÐ ./configure ¼ì²éϵͳÉèÖò¢½¨Á¢ÅäÖÃÎļþÖ®ºó£¬¿ÉÊäÈë make ±àÒë Squid¡£Èç¹ûûÓгöÏÖÈκδíÎó£¬ÊäÈë make install£¬Ä¬ÈϽ«»á½«Æä°²×°µ½/usr/localÏ¡£
¡¡¡¡2 ʹÓà Squid
¡¡¡¡Îª½¨Á¢½»»»Ä¿Â¼£¬ÊäÈëÈçÏÂÃüÁ
¡¡¡¡/usr/local/squid/bin/squid –z
¡¡¡¡
¡¡¡¡µ«ÔÚµÚÒ»´ÎÔËÐиÃÃüÁî֮ǰ£¬ÐèÒªÐÞ¸Ä /usr/local/squid/squid.conf ÅäÖÃÎļþ¡£Squid µÄ·ÃÎÊ¿ØÖÆÁбíĬÈÏÊǾܾøËùÓеÄÇëÇ󡣱༠/usr/local/squid/squid.conf Îļþ²¢Ìí¼ÓÈçÏÂÐУº
¡¡¡¡acl local_net src 192.168.1.1/255.255.255.0
¡¡¡¡
¡¡¡¡ÕâÀ192.168.1.1 ÊDZ¾µØÍøÂçÖеÄÒ»¸ö IP µØÖ·£¬¶ø 255.255.255.0 ÊÇÄÚ²¿ÍøÂçµÄÍøÂçÑÚÂ롣ͬʱ»¹ÐèÒªÌí¼Ó£º
¡¡¡¡http_access allow local_net
¡¡¡¡
¡¡¡¡½«Õâ
Ïà¹ØÎĵµ£º
Ŀ¼£º
£¨1£©Ó²¼þÅäÖÃÎÊÌ⣺
£¨2£©×î¼òµ¥µÄATI»òNvidiaÏÔ¿¨×îйٷ½Çý¶¯°²×°·½·¨£º
£¨3£©Èç¹ûÏÔ¿¨°²×°ºó£¬ÖØÆôµçÄÔºÚÆÁÔõô°ì£¿
£¨4£©×°ÁËÐÂÏÔ¿¨Çý¶¯£¬¶¼ºÚÆÁÁË£¬Ôõô»ØͼÐνçÃ棿ÄѵÀÖ»ÄÜÓûØXP²»³É£¿
£¨5£©Èç¹ûÒ»ÇÐ˳Àû£¬ÏÔ¿¨¹Ù·½Çý¶¯¾ÍÒѾÕýÈ·°²×°ÁË¡£
£¨6£©ÏÔ¿¨Çý¶¯×°ºÃÁË£¬°²×°compiz fusionÊÔÓÃ3D×ÀÃæ¡£
£¨7£ ......
from:
http://hi.baidu.com/godogood/blog/item/ab01875c1d1d2c45fbf2c033.html
ÎÒÃǾÍÀ´°²×°compiz fusion:
1¡¢µÃµ½Ãܳ×
´úÂë:
sudo wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add -
2¡¢Ìí¼ÓÔ´£º
´úÂë:
deb http://download.tuxfamily.org/3v1deb feisty eyecan ......
Ò»¡¢Ê²Ã´ÊÇÔ´Âë°üÈí¼þ£»
¹ËÃû˼Ò壬ԴÂë°ü¾ÍÊÇÔ´´úÂëµÄ¿É¼ûµÄÈí¼þ°ü£¬»ùÓÚLinuxºÍBSDϵͳµÄÈí¼þ×î³£¼û£»ÔÚ¹úÄÚÔ´¿É¼ûµÄÈí¼þ¼¸ºõ¾ø¼££»´ó¶à¿ªÔ´Èí¼þ¶¼ÊǹúÍâ³öÆ·£»ÔÚ¹úÄÚ½ÏΪ³öÃûµÄ¿ªÔ´Èí¼þÓÐfcitx;lumaqq;Lumaqq¼°scimµÈ£»
µ«Èí¼þµÄÔ´´úÂë¿É¼û²¢²»µÈÓÚÈí¼þÊÇ¿ªÔ´µÄ£¬ÎÒÃÇ»¹ÒªÒÔÈí¼þµÄÐí¿ÉΪ׼£»±ÈÈçÓÐЩÈí¼þÊÇÔ´Âë¿É¼ûµÄ£ ......
¡¡¡¡±¾ÎÄÒ²¼´¡¶Learning the bash Shell¡·3rd EditionµÄµÚÆßÕÂInput/Output and Command-Line ProcessintÖ®¶ÁÊé±Ê¼ÇÖ®Ò»¡£ÎÒÃÇÔø¾Ñ§Ï°¹ýshellµÄ»ù±¾IOÖض¨Ïò²Ù×÷£º>¡¢<ºÍ|¡£»ù±¾ÉÏÄÜÂú×ã95%µÄÇé¿ö£¬µ«ÊÇÎÒÃÇÐèÒªÖªµÀbashÖ§³ÖµÄÖض¨Ïò²Ù×÷¡£
cmd1
|cmd2
£º pipe£¬½«cmd1
µÄ±ê×¼Êä³ö×÷Ϊcmd2
µÄ±ê×¼ÊäÈë
> ......
USB Äںˣ¨USBÇý¶¯£¬USBD £©´¦ÓÚϵͳµÄÖÐÐÄ£¬¶ÔÓÚËü½øÐÐÑо¿ÊÇÄܹ»½øÐÐUSBÇý¶¯¿ª·¢£¨°üÀ¨¿Í»§Çý¶¯ºÍÖ÷»úÇý¶¯£©µÄµÚÒ»²½¡£ËüΪ¿Í»§¶ËÇý¶¯ºÍÖ÷»ú¿ØÖÆÆ÷Çý¶¯ÌṩÁËÖ÷ÒªÊý¾Ý½á¹¹ºÍ½Ó¿Úº¯Êý£¬Ö÷ÒªÓÐËÄÀ๦ÄÜ£º¿Í»§¶ËÇý¶¯¹ÜÀí£¬USBÉ豸µÄÅäÖú͹ÜÀí£¬Ö÷»ú¿ØÖÆÆ÷µÄ¹ÜÀí£¬ÐÒé¿ØÖÆÃüÁºÍÊý¾Ý´«ÊäµÄ¹ÜÀí¡£¾ßÌå´úÂëÖ÷Òª¼¯ÖÐÔÚ linux ......