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

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


Ïà¹ØÎĵµ£º

Linux ÏÂ×Ô¶¯±¸·ÝMYSQLÊý¾Ý¿âµÄshell ½Å±¾

MySQL :: Linux ÏÂ×Ô¶¯±¸·ÝÊý¾Ý¿âµÄ shell ½Å±¾
Linux ·þÎñÆ÷ÉϵijÌÐòÿÌ춼ÔÚ¸üРMySQL Êý¾Ý¿â£¬ÓÚÊǾÍÏëÆðдһ¸ö shell ½Å±¾£¬½áºÏ crontab£¬¶¨Ê±±¸·ÝÊý¾Ý¿â¡£Æäʵ·Ç³£¼òµ¥£¬Ö÷Òª¾ÍÊÇʹÓà MySQL ×Ô´øµÄ mysqldump ÃüÁî¡£
½Å±¾ÄÚÈÝÈçÏ£º
#!/bin/sh
# File: /home/mysql/backup.sh
# Database info
DB_NAME=" ......

mysqlÔÚºìÆìlinuxÏÂÈ«³Ì°²×°ÅäÖÃÏé½â

1¡¢ÏÂÔØMySQLµÄ°²×°Îļþ
°²×°MySQLÐèÒªÏÂÃæÁ½¸öÎļþ£º
MySQL-server-5.0.46.i386.rpm¡¡¡¡¡¡
MySQL-client-5.0.46.i386.rpm

2¡¢°²×°MySQL
rpmÎļþÊÇRed Hat¹«Ë¾¿ª·¢µÄÈí¼þ°²×°°ü£¬rpm¿ÉÈÃLinuxÔÚ°²×°Èí¼þ°üʱÃâ³ýÐí¶à¸´ÔÓµÄÊÖÐø¡£¸ÃÃüÁîÔÚ°²×°Ê±³£ÓõIJÎÊýÊÇ
ivh
,ÆäÖÐi±íʾ½«°²×°Ö¸¶¨µÄrmpÈí¼þ°ü£¬V±í ......

LinuxÏÂÖÆ×÷ÈíÅ̺͹âÅ̾µÏñ£¨×ª£©

µ±ÔÚ Linux ÏÂºÍ ÐéÄâ»ú ¹²ÏíÎļþʱ£¬ÎÒ·¢ÏÖÒ»¸öÎÊÌ⣬²¢²»ÊÇËùÓеÄÐéÄâ»ú¶¼Ö§³Ö(»òºÜºÃµÄÖ§³Ö)ÔÚÖ÷»úºÍÐéÄâ»ú²Ù×÷ϵͳ֮¼ä¹²ÏíÎļþ£¬ÕâÑùÔÚÐèÒªÎļþ¹²Ïíʱºò¾Í»áÓöµ½ºÜ¶àÎÊÌâ¡£ ²»¹ýÒòΪ¼¸ºõËùÓвÙ×÷ϵͳ¶¼Ö§³Ö¶ÁдÈíÅ̺͹âÅÌ£¬¾Í¿ÉÒÔʹÓÃÒ»ÖֱȽÏÓػصİ취½â¾öÕâ¸öÎÊÌ⣺½¨Á¢ÈíÅÌ»òÕß¹âÅ̾µÏñÎļþ£¬ÐéÄâ»úʹÓöÁдÈí/¹âÇ ......

linuxµÄpsÃüÁת£©

linuxµÄpsÃüÁîºÍtop¶¼ÊÇÓÃÀ´¼àÊÓϵͳ½ø³ÌºÍ×ÊԴʹÓÃÇé¿öµÄÓÐÓÃÃüÁî, psÃüÁî¸üΪ³£ÓÃ, ËùÒÔÕÆÎÕpsÃüÁîÊǺÜÓбØÒªµÄ
psÃüÁîÈç¹ûÓÐÈκÎÒÉÎÊ,ÇëÔÚÖÕ¶ËÏÂÊäÈë :# man ps
Ãû³Æ£ºps
ʹÓÃȨÏÞ£ºËùÓÐʹÓÃÕß
ʹÓ÷½Ê½£ºps [options] [--help]
˵Ã÷£ºÏÔʾ˲¼äÐÐ³Ì (process) µÄ¶¯Ì¬
²ÎÊý£º
ps µÄ²ÎÊý·Ç³£¶à, Ôڴ˽öÁгö¼¸¸ö³£Óà ......

WindowsµÄ×¢²á±í»úÖÆ£¬linuxµÄÎÞ×¢²á±í»úÖÆ

¸ÐлԭÎÄ×÷Õߣºhttp://forum.ubuntu.org.cn/viewtopic.php?f=101&t=227869&sid=31fbca09f094a5e12ad6e3f6d9b90886
windows¸Õ¿ªÊ¼µÄʱºòÊǺÍunixÒ»ÑùûÓÐ×¢²á±íµÄ£¬ËüµÄ³ÌÐòÐÅÏ¢ÔÚºó׺ΪiniµÄÎı¾ÎļþÖС£ºóÀ´WindowsÒýÈË×¢²á±í£¬ÄÇôΪʲôWindowsÒª»¨Èç´Ë´óµÄÁ¦ÆøÒýÈË×¢²á±í»úÖÆ£¬ËüÒª½â¾öʲôÎÊÌ⣬Ëü±ÈÆðlinuxµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ