Linux¡¡Æô¶¯Ïê½â
»úÆ÷¼ÓµçÆô¶¯ºó,BIOS¿ªÊ¼¼ì²â²ÎÊý,ÈçÄÚ´æµÄ´óС,ÈÕÆÚºÍʱ¼ä,´ÅÅÌ
É豸ÒÔ¼°ÕâЩ´ÅÅÌÉ豸ÓÃÀ´Òýµ¼µÄ˳Ðò,ͨ³£Çé¿öÏ£¬BIOS¶¼ÊDZ»ÅäÖóÉÊ×Ïȼì²é
ÈíÇý»òÕß¹âÇý£¨»òÁ½Õß¶¼¼ì²é£©£¬È»ºóÔÙ³¢ÊÔ´ÓÓ²ÅÌÒýµ¼¡£Èç¹ûÔÚÕâЩ¿ÉÒÆ¶¯µÄÉè
±¸ÖУ¬Ã»ÓÐÕÒµ½¿ÉÒýµ¼µÄ½éÖÊ£¬ÄÇôBIOSͨ³£ÊÇתÏòµÚÒ»¿éÓ²ÅÌ×î³õµÄ¼¸¸öÉÈÇø£¬
ѰÕÒÓÃÓÚ×°ÔØ²Ù×÷ϵͳµÄÖ¸Áî¡£×°ÔØ²Ù×÷ϵͳµÄÕâ¸ö³ÌÐò¾ÍÊÇboot loader.
ÀïÃæµÄboot loaderͨ³£ÊÇlilo»òÕßgrub,´ÓRedHatLinux 7.2Æð£¬GRUB(
GRand Unified Bootloader)È¡´úLILO³ÉΪÁËĬÈÏµÄÆô¶¯×°ÔسÌÐò¡£ÄÇôÆô¶¯µÄʱºò
grubÊÇÈçºÎ±»ÔØÈëµÄÄØ
grubÓм¸¸öÖØÒªµÄÎļþ,stage1,stage2,ÓеÄʱºòÐèÒªstage1.5.ÕâЩÎļþÒ»°ã¶¼
ÔÚ/boot/grubÎļþ¼ÐÏÂÃæ.grub±»ÔØÈëͨ³£°üÀ¨ÒÔϼ¸¸ö²½Öè:
1. ×°ÔØ»ù±¾µÄÒýµ¼×°ÔسÌÐò(stage1),stage1ºÜС,ÍøÉÏ˵ÊÇ512×Ö½Ú,µ«ÊÇÔÚÎÒµÄϵͳÉÏ
Óà du -b /boot/grub/stage1 ÏÔʾµÄÊÇ1024¸ö×Ö½Ú,²»ÖªµÀÊDz»ÊÇgrub°æ±¾²»Í¬µÄ
Ôµ¹Ê»¹ÊÇÎÒÀí½âÓÐÎó.stage1ͨ³£Î»ÓÚÖ÷Òýµ¼ÉÈÇøÀïÃæ,¶ÔÓÚÓ²Å̾ÍÊÇMBRÁË,stage1µÄ
Ö÷Òª¹¦ÄܾÍÊÇ×°ÔØµÚ¶þÒýµ¼³ÌÐò(stage2).ÕâÖ÷ÒªÊǹé½áÓÚÔÚÖ÷Òýµ¼ÉÈÇøÖÐûÓÐ×ã¹»µÄ
¿Õ¼äÓÃÓÚÆäËû¶«Î÷ÁË,ÎÒÓõÄÊÇgrub 0.93,stage2ÎļþµÄ´óСÊÇ 107520 bit.
2. ×°ÔØµÚ¶þÒýµ¼×°ÔسÌÐò(stage2),ÕâµÚ¶þÒýµ¼×°ÔسÌÐòʵ¼ÊÉÏÊÇÒý³ö¸ü¸ß¼¶µÄ¹¦ÄÜ,¡¡
ÒÔÔÊÐíÓû§×°ÔØÈëÒ»¸öÌØ¶¨µÄ²Ù×÷ϵͳ¡£ÔÚGRUBÖУ¬Õâ²½ÊÇÈÃÓû§ÏÔʾһ¸ö²Ëµ¥»ò
ÊÇÊäÈë¡£ÓÉÓÚstage2ºÜ´ó,ËùÒÔËüÒ»°ãλÓÚÎļþϵͳ֮ÖÐ(ͨ³£ÊÇbootËùÔڵĸù
·ÖÇø).
ÉÏÃæ»¹Ìáµ½ÁËstage1.5Õâ¸öÎļþ,ËüµÄ×÷ÓÃÊÇÊ²Ã´ÄØ Äãµ½/boot/grubĿ¼Ï¿´¿´,
fat_stage_1.5 e2fs_stage_1.5 xfs_stage_1.5µÈµÈ,ºÜÈÝÒײÂÏëstage1.5ºÍÎļþϵͳ
ÓйØÏµ.ÓÐʱºò»ù±¾Òýµ¼×°ÔسÌÐò(stage1)²»ÄÜʶ±ðstage2ËùÔÚµÄÎļþϵͳ·ÖÇø,ÄÇôÕâ
ʱºò¾ÍÐèÒªstage1.5À´Á¬½Óstage1ºÍstage2ÁË.Òò´Ë¶ÔÓÚ²»Í¬µÄÎļþϵͳ¾Í»áÓв»Í¬µÄ
stage1.5.µ«ÊǶÔÓÚgrub 0.93ºÃÏñstage1.5²¢²»ÊǺÜÖØÒª,ÒòΪÎÒÊÔ¹ýÁË,ÔÚûÓÐstage1.5
µÄÇé¿öÏÂ, ÎÒ°Ñstage1°²×°ÔÚÈíÅ̵ÄÒýµ¼ÉÈÇøÄÚ,È»ºó°Ñstage2·ÅÔÚ¸ñʽ»¯³Éext2»òÕß
fat¸ñʽµÄÈíÅÌÄÚ,Æô¶¯µÄʱºòÕÕ³£Òýµ¼,²¢²»ÐèÒªe2fs_stage_1.5»òÕßfat_stage_1.5.
ÏÂÃæÊÇÎÒµÄÊÔÑé:
#mkfs.ext2 /dev/fd0
#mount -t ext
Ïà¹ØÎĵµ£º
Õ⼸ÌìLinux·þÎñÆ÷ºÜÂý,ºÜ׿±ÕÒ²»µ½½â¾ö°ì·¨!ºó°Ù¶ÈÏà¹Ø×ÖÑÛ,²éÕÒµ½ÊÇMySQLµÄÎÊÌâ,
ÈçÏÂΪ½â¾ö·½°¸
:
Á¬½ÓMySQLËÙ¶ÈÂýµÄ½â¾ö·½·¨.
PHPÔ¶³ÌÁ¬½ÓMYSQLËÙ¶ÈÂý,ÓÐʱԶ³ÌÁ¬½Óµ½MYSQLÓÃʱ4-20Ãë²»µÈ,±¾µØÁ¬½ÓMYSQLÕý³£,³öÏÖÕâÖÖÎÊÌâµÄÖ÷ÒªÔÒòÊÇ,ĬÈϰ²×°µÄ
MYSQL¿ªÆôÁËDNSµÄ·´Ïò½âÎö,ÔÚMY.CNF(UNIX»òLINUXϵͳÏÂ)»òMY.INI ......
Ò»¡¢ÏÂÔØjdk1.5
´Óhttp://www.sun.com/ÍøÕ¾ÏÂÔØjdk1.5
ÏÂÔØ£ºjdk-1_5_0_15-linux-i586-rpm.bin
¶þ¡¢°²×°jdk
1.
# chmod +x jdk-1_5_0_15-linux-i586-rpm.bin
# ./jdk-1_5_0_15-linux-i586-rpm.bin
°´Ìáʾ°´ÊäÈëyes,ÔÚͬһĿ¼»áµÃµ½Ò»¸öjdk-1_5_0_15-linux-i586-rpm
ͨ¹ý# rpm –ivh jdk-1 ......
ÍøÉÏÕÒÁËÏÂLinux½ø³Ì¼ä»¥³âµÄʵÏÖ£¬Á½ÖÖ·½·¨£¬semaphore ºÍ ÎļþËø¡£¸Õ¿ªÊ¼Ò²³¢ÊÔÓÃsemaphoreÀ´ÊµÏÖ£¬µ«·¢ÏÖsem_waitºÍsingalÎÞ·¨ÊµÏÖWindowsÏÂCirtSec£¬¶ø²ÉÓÃÁ˺óÕßÎļþËø£»
µ«¶ÔÓÚ¶ÁÐ´ËøÀ´ËµÊµÓÃÎļþËøÊµÏÖ£¬´æÔÚÒ»¶¨µÄ²»×㣬Ëü·Ö¿ªÁ˶ÁÐ´Ëø£¬¶øÃ»Óзֿª½â¶ÁÐ´Ëø£¬ÀûÓÃUnLockÀ´Í³Ò»½â¶ÁÐ´Ëø£¬¶ÔÓÚÕâ½ø³Ì¼ä¶ÁÐ´ËøµÄʵÏÖ£ ......
<Ctrl><Alt><F1>
Çл»µ½µÚÒ»¸öÎı¾ÖÕ¶Ë¡£ÔÚLinuxÏÂÄã¿ÉÒÔÓжà´ïÁù¸ö²»Í¬µÄÖÕ¶Ë¡£Õâ¸öÃüÁîµÄÒâ˼ÊÇ£º“ͬʱ°´×¡<Ctrl>¼üºÍ<Alt>¼ü£¬È»ºó°´<F1>¼ü£¬ÔÙÊÍ·ÅËùÓеļü”¡£
<Ctrl><Alt><Fn> (n=1..6)
Çл»µ½µÚn¸öÎı¾ÖÕ¶Ë¡££¨ÄãÒ²¿ÉÒÔʹÓò»ÊǺܾ³£Óõ½µÄ ......
ÒòΪLINUX
µÄÄÚºË
»úÖÆ£¬Ò»°ãÇé¿öϲ»ÐèÒªÌØÒâÈ¥ÊÍ·ÅÒѾʹÓõÄcache¡£ÕâЩcacheÆðÀ´µÄÄÚÈÝ¿ÉÒÔÔö¼ÓÎļþÒÔ¼°µÄ¶ÁдËÙ¶È¡£
ÏÈ˵ÏÂfreeÃüÁîÔõô¿´ÄÚ´æ
[root@ahsq proc]# free
total used free shared buffers cached
Mem: 515588 295452 220136 0 2060 64040
-/+ buffers/cache: 229352 286236
Swap: 682720 112 ......