ÓÃ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
ÁíÍ⻹ÓÐÒ»¸ö²¹¶¡ÊÇÓÃÀ
Ïà¹ØÎĵµ£º
Ò»¡¢Í·Îļþ
gcc ÔÚ±àÒëʱѰÕÒËùÐèÒªµÄÍ·Îļþ £º
¡ùËÑÑ°»á´Ó-I¿ªÊ¼
¡ùÈ»ºóÕÒgccµÄ»·¾³±äÁ¿ C_INCLUDE_PATH,CPLUS_INCLUDE_PATH,OBJC_INCLUDE_PATH
¡ùÔÙÕÒÄÚ¶¨Ä¿Â¼
/usr/include
/usr/local/include
/usr/lib/gcc-lib/i386-linux/2.95.2/include
/usr/lib/gcc-lib/i386-l ......
°²×°OpenSSH
UbuntuȱʡûÓа²×°SSH Server£¬Ê¹ÓÃÒÔÏÂÃüÁî°²×°£º
sudo apt-get install openssh-server openssh-client
²»¹ýUbuntuȱʡÒѾ°²×°ÁËssh client¡£
ÅäÖÃÍê³ÉºóÖØÆð£º
sudo /etc/init.d/ssh restart
windows ¿Í»§¶ËÓÃputtyÁ¬½ÓÃüÁîshellģʽ
......
Ê×ÏÈÔÚLinuxϵͳÉÏ°²×°samba
È»ºóÆô¶¯WindowsÐéÄâ»ú£¬ÔÚ×ÊÔ´¹ÜÀíÆ÷Öн«sambaµÄµØÖ·£¨ÀýÈç//192.168.1.10/share£©Ó³ÉäΪһ¸öÐéÄâÅÌ·ûZ
×îºóÆô¶¯SourceInsight£¬ÔÚZÅÌÉϽ¨Á¢¹¤³Ì£¬²¢µ¼ÈëÎļþ¡£
×¢Ò⣺ÒÔºóÿ´ÎʹÓÃSourceInsight֮ǰÏÈÒªÁ¬½Ósamba·þÎñÆ÷£¬±ÈÈç˵´ò¿ªÅÌ·ûZ¡£ ......
Òý£º
Linux²Ù×÷ϵͳÊÇÓÉLinus TorvaldsÏÈÉúÔÚ1991Äê´´½¨µÄ£¬Ö®ºó²»¶Ï»ñµÃ»¥ÁªÍøÉÏÖÚ¶à³ÌÐòÔ±µÄ×ÔÔ¸Ö§³Ö£¬¾¹ýÊ®¼¸ÄêµÄ·¢Õ¹£¬Èç½ñÒѾ³ÉΪ¼ÌWindowsÖ®ºóµÄµÚ¶þ´óµçÄÔ²Ù×÷ϵͳÈí¼þ¡£
ÄãÊÇ·ñ¶ÔLinuxÓгä·ÖµÄÁ˽âÄØ£¿×÷ΪһÖÖƽ̨£¬LinuxÊ×ÏÈ»ñµÃÁ˳ÁÄçÓÚijÖÖñ±ºÃ֮ʿºÍºÚ¿ÍÃǵÄ
Çàíù¡£Linux²Ù×÷ϵͳÊÇÓÉLinus
TorvaldsÏÈÉú ......
LinuxÏÂÈí¼þµÄ°²×°ÓëжÔØ
Ò»¡¢¶þ½øÖÆ·Ö·¢Èí¼þ°üµÄ°²×°ÓëжÔØ
LinuxÈí¼þµÄ¶þ½øÖÆ·Ö·¢ÊÇÖ¸ÊÂÏÈÒѾ±àÒëºÃ¶þ½øÖÆÐÎʽµÄÈí¼þ°üµÄ·¢²¼ÐÎʽ£¬ÆäÓŵãÊÇ°²×°Ê¹ÓÃÈÝÒ×£¬È±µãÔòÊÇȱ·¦Áé»îÐÔ£¬Èç¹û¸ÃÈí¼þ°üÊÇΪÌض¨µÄÓ²¼þ/²Ù×÷ϵͳƽ̨±àÒëµÄ£¬ÄÇËü¾Í²»ÄÜÔÚÁíÍâµÄƽ̨»ò»·¾³ÏÂÕýÈ·Ö´ÐС£
1¡¢*.rpmÐÎʽµÄ¶þ½øÖÆÈí¼þ°ü
°²×°£ºrpm ......