Linuxϵͳ¹ÜÀíʵ¼ù(3)£ºGRUBϵͳÒýµ¼ÅäÖÃ
°²×°ubuntuʱ£¬grubĬÈÏ°²×°ÔÚµÚÒ»¸öÓ²ÅÌ(hd0)µÄmbrÖУ¬Æäʵ¾ÍÊÇ°ÑÒýµ¼Îļþboot.imgдÈëÓ²Å̵Ämbr,µ±È»,Óû§Ò²¿ÉÒÔÑ¡Ôñ²»Ð´ÈëÓ²ÅÌmbr ¶øÊÇдÈëlinux·ÖÇøµÄÒýµ¼ÉÈÇø¡£grubÒÔfd±íʾÈíÅÌ£¬hd±íʾӲÅÌ(°üº¬IDEºÍSCSIÓ²ÅÌ)¡£ÒÔÇ°°æ±¾µÄgrubÆäÉ豸ÊÇ´Ó0¿ªÊ¼±àºÅ,·ÖÇøÒ²ÊÇ´Ó0¿ªÊ¼,Ö÷·ÖÇø´Ó0-3,Âß¼·ÖÇø´Ó4¿ªÊ¼,¶ø´Ógrub 2¿ªÊ¼·ÖÇø±àºÅÊÇ´Ó1¿ªÊ¼µÄ¡£ÏÂÃæ¸ø³ö¼¸¸öÀý×Ó :
(fd0)£º±íʾÕû¸öÈíÅÌ
(hd0,1)£º±íʾBIOSÖеĵÚÒ»¸öÓ²Å̵ĵÚ2¸ö·ÖÇø
(hd0,4)/boot/vmlinuz£º±íʾBIOSÖеĵÚÒ»¸öÓ²Å̵ĵÚÒ»¸öÂß¼·ÖÇøÏÂbootĿ¼ÏµÄvmlinuzÎļþ¡£
1¡¢grubµÄÅäÖÃÎļþ£º
Ϊ/boot/grub/grub.conf»ò/boot/grub/menu.lst£¨grub2ÖиÄΪgrub.cfg£©¡£UbuntuϵÄmenu.lstĬÈÏÄÚÈÝÈçÏ£º
# menu.lst - ²Î¿´: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# ÒÔ¼°/usr/share/doc/grub-doc/.
## default£ºÉèÖÃĬÈÏÆô¶¯µÄ²Ëµ¥Ïî
# ÓÃÊý×Ö±àºÅÉèÖÃĬÈÏÆô¶¯ÏÊý×Ö´Ó0¿ªÊ¼£¬Èç¹ûûÓÐûÓÐÉèÖÃdefaultÃüÁÔòʹÓõÚ0Ï¼´Ä¬ÈÏÆô¶¯Òý
# µ¼²Ëµ¥ÖеĵÚÒ»¸ö²Ëµ¥Ï¡£Ò²¿ÉÒÔºó¸ú'saved'×ÖÑù¶ø²»ÊÇÊý×Ö£¬Ä¬ÈϵÄÆô¶¯ÏîΪ´øÓÐÃüÁî'savedefault'
# Æô¶¯Ïî¡£
default 0
## timeout£º³¬Ê±ÃëÊý
# ÉèÖÃÒ»¸ö³¬Ê±ÃëÊý£¬Ò»µ©³¬Ê±£¬ÔòÆô¶¯Ä¬Èϲ˵¥Ïî
timeout 30
## hiddenmenu£ºÊÇ·ñÒþ²Ø²Ëµ¥
# Èô±»ÉèÖÃÔòÆô¶¯µÄʱºò»áÒþ²ØÑ¡Ïî²Ëµ¥(ͨ¹ý°´ESCÀ´µ÷³ö²Ëµ¥)
#hiddenmenu
# Ö¸¶¨grub²Ëµ¥µÄĬÈÏÑÕÉ«
#color cyan/blue white/blue
## password ['--md5'] passwd
# Èç¹û±¾Ñ¡ÏîÔڲ˵¥ÎļþµÚÒ»²¿·ÖÖб»Ê¹Óã¬Ôò½ûÓÃËùÓеĽ»»¥Ê½±à¼¿ØÖÆ£¨²Ëµ¥Ïî±à¼ºÍÃüÁîÐУ©£¬
# ²¢ÇÒ½øÈëÊÜÃüÁî'lock'±£»¤µÄģʽÖС£¿ÉÓÃ--md5Ö¸¶¨Ò»¸öÃÜÂ룬ÆôÓÃgrubµÄÃÜÂë±£»¤¡£Îª°²È«Æð¼û£¬
# Ò»°ãʹÓÃmd5Öµ£¬Õâ¸öÖµ¿ÉÒÔʹÓÃgrub-md5-crypt»òÕßÔÚgrub shellÖÐʹÓÃmd5cryptÉú³É
# ÀýÈ磺 password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
# Ò»¸öÆô¶¯²Ëµ¥ÏîÀý×Ó
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
# ÔÚ“×Ô¶¯ÄÚºËÆô¶¯Áб픵ÄÇ°Ãæ»òºóÃæ·ÅÖþ²Ì¬µÄÒýµ¼ÉèÖöÎ
### “×Ô
Ïà¹ØÎĵµ£º
³£ÓõÄLinuxÍøÂ簲ȫ¹¤¾ß¼ò½é
×÷Õß: ØýÃû, ¡¡³ö´¦:ITר¼ÒÍøÂÛ̳,¡¡ÔðÈαà¼: °×Ö¾·É,
2009-10-16 07:08
¡¡¡¡¾¡¹Ü¸÷ÖÖ°æ±¾µÄLinux distribution ¸½´øÁ˺ܶ࿪·ÅÔ´´úÂëµÄ×ÔÓÉÈí¼þ£¬µ«ÊÇÈÔÈ»ÓдóÁ¿µÄÓÐÓõŤ¾ßûÓб»Ä¬ÈÏ°üÀ¨ÔÚËüÃǵݲװ¹âÅÌÄÚ£¬ÌرðÊÇÓÐһЩ¿ÉÒÔÔöÇ¿LinuxÍøÂ簲ȫµÄ¹¤¾ß°ü£¬ËüÃÇ´ó¶àÒ²ÊÇ¿ª·ÅÔ´µÄ×ÔÓÉÈí¼þ ......
from: http://agiser.bokee.com/viewdiary.13976981.html
ÊØ»¤½ø³Ì£¨Daemon£©ÊÇÔËÐÐÔÚºǫ́µÄÒ»ÖÖÌØÊâ½ø³Ì¡£Ëü¶ÀÁ¢ÓÚ¿ØÖÆÖն˲¢ÇÒÖÜÆÚÐÔµØÖ´ÐÐijÖÖÈÎÎñ»òµÈ´ý´¦ÀíijЩ·¢ÉúµÄʼþ¡£ÊØ»¤½ø³ÌÊÇÒ»ÖÖºÜÓÐÓõĽø
³Ì¡£
LinuxµÄ´ó¶àÊý·þÎñÆ÷¾ÍÊÇÓÃÊØ»¤½ø³ÌʵÏֵġ£±ÈÈ磬Internet·þÎñÆ÷inetd£¬Web·þÎñÆ÷httpdµÈ¡£Í¬Ê±£¬ÊØ»¤½ø³ÌÍ ......
http://blog.chinaunix.net/u/9861/showart_1890675.html
LinuxÖеÄ"Á㿽±´"ÆÊÎö
Zero Copy I: User-Mode Perspective
Author By Dragan Stancevic
Translated By Love. Katherine
(½âÊÍLinuxÖеÄ"Á㿽±´"ÌØÐÔ£¬ÎªÊ²Ã´ÓÐÓÃÒÔ¼°ºÎ´¦ÐèÒª¸Ä½øÖ®´¦)
Èç½ñ¼¸ºõÿ¸öÈ˶¼Ìý˵¹ýLinuxÖÐËùνµÄ"Á㿽±´"ÌØÐÔ£¬È»¶øÎÒ¾ ......
LinuxÄÚºËÔ´Âë·ÖÎö-Á´±í´úÂë·ÖÎö
·ÖÎöÈË£ºÓàÐñ
·ÖÎöʱ¼ä£º2005Äê11ÔÂ17ÈÕÐÇÆÚËÄ 11:40:10 AM
Óê ζȣº10-11¶È
±àºÅ£º1-4 Àà±ð£º×¼±¸¹¤×÷
Email£ºyuxu9710108@163.com
ʱ´ú±³¾°£º¿ªÊ¼ÔÚwww.linuxforum.net LinuxÄں˼¼ÊõÂÛ̳ÉÏÃæ·¢Ìù£¬ÔÚÍøÓѵİïæÏ£¬
½â¾öÁËһЩÎÊÌâ¡£
°æȨÉùÃ÷£º°æȨ±£Áô¡£±¾ÎÄÓÃ×÷ÆäËûÓÃ;µ±¾ ......
#!/bin/sh
# define default value
URL='https://fetionapi.appspot.com/api/'
# your phone number
from='13600000000'
# your fetion password
PW='password'
......