ÓÃLinuxϵÄLVSÈí¼þʵÏÖLinux¼¯Èº
ÓÃLinuxϵÄLVSÈí¼þʵÏÖLinux¼¯Èº
µÂÓ¢
·¢±íÓÚ2010Äê03ÔÂ15ÈÕ 18:22
ÔĶÁ(6
)
ÆÀÂÛ(0
)
·ÖÀࣺ
ѧϰ±Ê¼Ç
¾Ù±¨
±¾ÎĽéÉÜÁËLinuxϵÄclusterÈí¼þLVS£¬²¢¾ÙÀý½éÉÜÒ»¸öLinuxϵÄcluster(¼¯Èº)µÄ°²×°ºÍʵÏÖµÄÏêϸ¹ý³Ì¡£
ÔÚ
¸÷ÖÖÍøÂç·þÎñÆÕ±éÓ¦ÓõĽñÌì£¬ËæÍøÂçËٶȵÄÌá¸ßÒÔ¼°Óû§µÄÔö¼Ó£¬ÔÚһЩ·±Ã¦µÄ³¡ºÏ£¬µ¥Æ¾Ò»Ì¨»úÆ÷ÒѾÎÞ·¨¾ÍÄÜÓ¦¸¶ËùÓеÄÍøÂçÇëÇóÁË¡£ÎªÁ˽â¾öÕâ¸öÎÊÌ⣬Ðí
¶àÓû§¾Í²ÉÓÃÒ»×écluster(¼¯Èº)À´´úÌæµ¥Ò»µÄ»úÆ÷¡£cluster¿ÉÒÔ½«¶ą̀¼ÆËã»úÁ¬½ÓÆðÀ´ÐͬÔË×÷ÒÔ¶ÔÍâÌṩ¸÷ÖÖ·þÎñ£¬±ÈÈçApache¡¢
FTP¡¢ MailµÈ¡£
ÔÚLinuxÉÏ×î³£¼ûµÄ¡¢Ò²¿ÉÄÜÊÇÔËÓÃ×î¹ã·ºµÄcluster·½°¸¾ÍÊÇLVS(Linux Virtual
Server)£¬
ºÜ¸ßÐËLVSÒ²ÊÇÒ»¸öÖйúÈË´´½¨ºÍ¿ª·¢µÄ¿ª·ÅÔ´ÂëÏîÄ¿¡£LVS×Ô1998Ä꿪ʼ£¬·¢Õ¹µ½ÏÖÔÚÒѾÊÇÒ»¸ö±È½Ï³ÉÊìµÄ¼¼ÊõÏîÄ¿ÁË¡£ÓÐÐí¶à±È½ÏÖøÃûÍøÕ¾ºÍ×éÖ¯¶¼
ÔÚʹÓÃLVS¼ÜÉèµÄcluster£¬±ÈÈ磺
www.linux.com
¡¢sourceforge.net¡¢
www.real.com
µÈ¡£
ÏÂÃæ¾Í¿ªÊ¼½éÉÜһϣ¬±ÊÕßÊÇÈçºÎÀûÓÃLVSÀ´¼ÜÉèÒ»×éclusterÀ´¶ÔÍâÌṩApacheºÍFTP·þÎñµÄ¡£
°²×°²Ù×÷ϵͳ
±ÊÕßÑ¡ÓõÄÊÇRed Hat 9.0×÷ΪЩclusterµÄdirector»úÆ÷ºÍËùÓÐreal
server»úÆ÷µÄ²Ù×÷ϵͳ¡£RHµÄ°²×°¹ý³Ì´ÓÂÔ£¬±ÊÕ߸ù¾Ýʵ¼ÊÐèÒª£¬Ö»°²×°ÁËÉÙÊýµÄ°ü¡£¶ÔÓÚ³ÉÅú°²×°Linux£¬½¨ÒéÊÔÊÔKickstartÀ´½øÈëÅúÀí
°²×°¡£
±àÒëÖ§³ÖLVSµÄÄÚºË
LVS¶ÔLinuxµÄkernel½øÐÐÁËÐ޸ĺÍÔö¼Ó£¬ËùÒÔÒªÖØÐ±àÒë linux kernel¡£ÎÒÃÇÏÈ´Ó
http://www.linuxvirtualserver.org
ÏÂÔØµ½LVSµÄÄں˲¹¶¡£¬¶ÔÔÓÐÄÚºËÔ´´úÂë½øÐиüУ¬È»ºóÖØÐ±àÒëLinuxµÄkernel¡£
ÏÂÔØLVSµÄÄں˲¹¶¡Ê±Òª×¢Òâ²¹¶¡°æ±¾ÒªºÍkernel°æ±¾ÏàÒ»Ö£¬¶ÔÓÚRH9.0£¬ËüµÄLinuxºËÐİ汾ÊÇ
2.4.20£¬ËùÒÔ¶ÔÓ¦Äں˲¹¶¡Ó¦¸ÃÊÇ
http://www.linuxvirtualserver.org/software/kernel-2.4/linux-2.4.20-ipvs-1.0.9.patch.gz
ÁíÍ⻹ÓÐÒ»¸ö²¹¶¡ÊÇÓÃÀ
Ïà¹ØÎĵµ£º
LinuxÉÏTCP¶ªÊ§Ð¡°ü²»¿É¼ûµÄ½â¾ö
×÷ÕߣºÇ§Àï¹ÂÐÐ(http://blog.csdn.net/yanghehong)
ÓÐÍøÓÑÔÚ×öÒ»¸öLinuxÉϵĿͻ§¶ËÅöµ½ÕâÑùµÄÎÊÌ⣺
ÎÒÃÇÔÚLinuxÏ¿ª·¢Ò»¸öÍøÂç¿Í»§¶Ë³ÌÐò£¨·þÎñÆ÷ÊDz»¿ÉÐ޸ĵģ©£¬²»¶ÏÏò·þÎñÆ÷²»¶¨ÆÚ·¢ËÍһЩºÜСµÄ°ü£¨Ò»°ãÖ»Óм¸Ê®×Ö½Ú£©£¬ÏÖÔÚ³öÏÖÕâÖÖÇé¿ö£º´ó²¿·Ö°üÕý³£·¢ËÍ£¬µ«Êǵ±ÎÞÏßModem ......
LinuxÇý¶¯µÄһЩ»ù±¾²Ù×÷
LinuxÄÚºËÖж¨ÒåÁ˺ܶàºê£¬¶ÔÓ²¼þ¶Ë¿ÚºÍ¼Ä´æÆ÷½øÐвÙ×÷£¬´ÓÍøÉÏËѼ¯ÁËһЩºê¶¨ÒåµÄÐÅÏ¢£º
1. __REG¼òµ¥µÄ˵¾ÍÊÇ»ñµÃºóÃæËùʾÎïÀíµØÖ·Ó³ÉäºóµÄÐéÄâµØÖ·£¬ÀýÈ磺
#define GPLR0 __REG(0x40E00000) /* GPIO Pin-Level Register GPIO<31:0> */
#define GPL ......
1. download & setup jdk
2. download eclipse and test a simple example of java
3. setup mysql use yum(or download & setup by hand)
yum install mysql
problem1:linux mysql configuration & use
solution1:
mysql -uroot -p
passw ......
ѧ¶«Î÷£¬ÍùÍùʵÀý²ÅÊÇ×îÈÃÈ˸ÐÐËȤµÄ£¬ÀÏÊÇѧ»ù´¡ÀíÂÛ£¬²»¶¯ÊÖ£¬¸Ð¾õûÓгɾ͸У¬ºÇºÇ¡£
ÏÂÃæÏÈÀ´Ò»¸öʵÀý¡£ÎÒÃÇͨ¹ý´´½¨Á½¸öÏß³ÌÀ´ÊµÏÖ¶ÔÒ»¸öÊýµÄµÝ¼Ó¡£
»òÐíÕâ¸öʵÀýûÓÐʵ¼ÊÔËÓõļÛÖµ£¬µ«ÊÇÉÔ΢¸Ä¶¯Ò»Ï£¬ÎÒÃǾͿÉÒÔÓõ½ÆäËûµØ·½È¥À¡£
ÏÂÃæÊÇÎÒÃǵĴúÂ룺
/*thread_example.c : c multiple thread programmi ......
ÔÎijö´¦£ºhttp://www.svn8.com/shouce/Linux/kernel_options.html×ðÖØÔ´´£¡
Code maturity level options
´úÂë³ÉÊì¶ÈÑ¡Ïî
Prompt for development and/or incomplete code/drivers ÏÔʾÉÐÔÚ¿ª·¢ÖлòÉÐδÍê³ÉµÄ´úÂëÓëÇý¶¯.³ý·ÇÄãÊDzâÊÔÈËÔ±»òÕß¿ª·¢Õß,·ñÔòÇëÎðÑ¡Ôñ
General setup
³£¹æÉèÖÃ
Local version - append ......