LVS¹¹¼Ü¸ºÔؾùºâLinux¼¯ÈºÏµÍ³
±¾È˳õѧlinux£¬ÔÚÁìµ¼¶½´ÙºÍ¹¤×÷ѹÁ¦Ï£¬°´ÕÕǰÈ˲¿ÊðÊÖ²áºÍÇ¿´óËÑË÷ÒýÇæ°ïÖúÏ£¬ÓÃlvsºÍmonʵÏÖµÄnat¸ºÔؾùºâ£¬vsÊÇsuse 10.2£¬realserverÊÇwindows2003µÄIIS²¿Êð¡£
1 °²×°
1.1 ÍøÂçÍØÆËͼ
1.1 ¼ì²éÄÚºËÊÇ·ñÖ§³ÖlvsÑ¡Ïî
±ØÐëÔÚ´Ë·¾¶ÏÂÖ´ÐÐÃüÁî
Ñ¡ÔñNetworking,ÈçÏÂͼËùʾ:
Ñ¡ÔñNetworking options,ÈçÏÂͼËùʾ
Ñ¡ÔñIP:Virtual Server Configuration
ÈçÏÂͼËùʾ,IPVS schedulerÖÐ,°üº¬È«²¿µÄ¸ºÔؾùºâ²ßÂÔ(<M>Ϊmodularizes features)
1.3 °²×°IPÐéÄâ·þÎñÆ÷Èí¼þipvsadm
IpvsadmÔÚ°²×°CD1µÄ\suse\i586Ŀ¼ÏÂ.ÐèÒª°²×°Îª
s193000012:~ # rpm -icvh ipvsadm-1.24-123.2.i586.rpm
°²×°Íִ꣬ÐÐipvsadmÃüÁӦ¸ÃÓÐÀàËÆÈçϵÄÐÅÏ¢³öÏÖ£º
s193000012:~ # ipvsadm
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
³öÏÖÀàËÆÒÔÉÏÐÅÏ¢£¬±íÃ÷Ö§³ÖLVSµÄÄں˺ÍÅäÖù¤¾ßipvsadmÒÑÍêÈ«°²×°£¬Õą̂Director»úÆ÷ÒѾ³õ²½°²×°Íê³É£¬ÒѾ߱¸¹¹¼Ü¸÷ÖÖ·½Ê½µÄ¼¯ÈºµÄÌõ¼þ¡£
1.4 °²×°mon
1.4.1 ¼ì²émonÊÇ·ñ°²×°
s193000012:~ # rpm -qa |grep mon
perl-Net-Daemon-0.38-61.2
mono-data-1.2.2-12.20
smartmontools-5.37.0.20070914-5.3
mono-core-1.2.2-12.20
mono-winforms-1.2.2-12.20
dbus-1-mono-0.60-33.22
mono-web-1.2.2-12.20
openhpi-daemon-2.10.2-0.4
mon-0.99.2-368.2
Èç¹ûûÓгöÏÖÒÔÉϱê¼ÇÖÐÄÚÈÝ£¬°´ÕÕ˳Ðò°²×°
perl-Time-Period-1.20-317.2.i586.rpm
perl-Convert-B
Ïà¹ØÎĵµ£º
MySQL :: Linux ÏÂ×Ô¶¯±¸·ÝÊý¾Ý¿âµÄ shell ½Å±¾
Linux ·þÎñÆ÷ÉϵijÌÐòÿÌì¶¼ÔÚ¸üРMySQL Êý¾Ý¿â£¬ÓÚÊǾÍÏëÆðдһ¸ö shell ½Å±¾£¬½áºÏ crontab£¬¶¨Ê±±¸·ÝÊý¾Ý¿â¡£Æäʵ·Ç³£¼òµ¥£¬Ö÷Òª¾ÍÊÇʹÓà MySQL ×Ô´øµÄ mysqldump ÃüÁî¡£
½Å±¾ÄÚÈÝÈçÏ£º
#!/bin/sh
# File: /home/mysql/backup.sh
# Database info
DB_NAME=" ......
µ±ÔÚ Linux ÏÂºÍ ÐéÄâ»ú ¹²ÏíÎļþʱ£¬ÎÒ·¢ÏÖÒ»¸öÎÊÌ⣬²¢²»ÊÇËùÓеÄÐéÄâ»ú¶¼Ö§³Ö(»òºÜºÃµÄÖ§³Ö)ÔÚÖ÷»úºÍÐéÄâ»ú²Ù×÷ϵͳ֮¼ä¹²ÏíÎļþ£¬ÕâÑùÔÚÐèÒªÎļþ¹²Ïíʱºò¾Í»áÓöµ½ºÜ¶àÎÊÌâ¡£ ²»¹ýÒòΪ¼¸ºõËùÓвÙ×÷ϵͳ¶¼Ö§³Ö¶ÁдÈíÅ̺͹âÅÌ£¬¾Í¿ÉÒÔʹÓÃÒ»ÖֱȽÏÓØ»ØµÄ°ì·¨½â¾öÕâ¸öÎÊÌ⣺½¨Á¢ÈíÅÌ»òÕß¹âÅ̾µÏñÎļþ£¬ÐéÄâ»úʹÓöÁдÈí/¹âÇ ......
µÚËIJ¿·Ö һЩ¸üºÃµÄÏë·¨
4.1 »÷°Üϵͳ¹ÜÀíÔ±µÄLKMµÄ·½·¨
ÕâÒ»²¿·Ö»á¸øÎÒÃǶԸ¶Ò»Ð©Ê¹ÓÃLKM±£»¤Äں˵ĶàÒÉ£¨ºÃµÄ£©µÄ¹ÜÀíÔ±µÄ·½·¨¡£ÔÚ½âÊÍÁËËùÓÐϵͳ¹ÜÀíÔ±Äܹ»Ê¹Óõķ½·¨Ö®ºó£¬ºÜÄÑΪÎÒÃÇ£¨hackers£©ÕÒµ½Ò»¸ö¸üºÃµÄ°ì·¨¡£ÎÒÃÇÐèÒªÀ뿪LKMÒ»»á¶ù£¬À´Ñ°ÕÒ»÷°ÜÕâЩÀ§Äѵı£»¤µÄ·½·¨¡£
¼Ù¶¨Ò»¸öϵͳ¿ÉÒÔ±»¹ÜÀíÔ±°²×°ÉÏÒ»¸öÊ ......
¸ÐлÔÎÄ×÷Õߣºhttp://forum.ubuntu.org.cn/viewtopic.php?f=101&t=227869&sid=31fbca09f094a5e12ad6e3f6d9b90886
windows¸Õ¿ªÊ¼µÄʱºòÊǺÍunixÒ»ÑùûÓÐ×¢²á±íµÄ£¬ËüµÄ³ÌÐòÐÅÏ¢ÔÚºó׺ΪiniµÄÎı¾ÎļþÖС£ºóÀ´WindowsÒýÈË×¢²á±í£¬ÄÇôΪʲôWindowsÒª»¨Èç´Ë´óµÄÁ¦ÆøÒýÈË×¢²á±í»úÖÆ£¬ËüÒª½â¾öʲôÎÊÌ⣬Ëü±ÈÆðlinuxµ ......
ÕâÆªÎÄÕÂдÓÚÈýÄêǰ£¬µ±Ê±ÊÖÖÐÄÃ×ÅStevensµÄÈý±¾¾ÞÖø TCP v1/v2/v3 µÄÃþ²»×ÅÍ·ÄÔ£ÒòΪËüÃÇÌ«ºñÁË¡£ÎÒÖªµÀÎÒ²»ÐèÒªÄÇô¶à£¬ÄÇôÏêϸ¡£ÓÚÊÇÓÐÁË×Ô¼º·ÖÎöÔ´´úÂëµÄÏë·¨......
ÎÒ²»¶ÔÎÄÖеÄÄÚÈÝÌṩÈκα£Ö¤£¬µ«»¶ÓÓëÎÒÁªÏµÒԱ㲻¶ÏµÄÐÞ¸ÄËü£¬×îÖÕ¸øÐèÒªÖªµÀ¹ØÓÚLinux TCP/ ......