linux 0ºÅ½ø³Ì 1ºÅ½ø³Ì Çø±ð£¨×ª)
ϵͳÔÊÐíÒ»¸ö½ø³Ì´´½¨Ð½ø³Ì£¬Ð½ø³Ì¼´Îª×Ó½ø³Ì£¬×Ó½ø³Ì»¹¿ÉÒÔ´´½¨ÐµÄ×Ó½ø³Ì£¬Ðγɽø³ÌÊ÷½á¹¹Ä£ÐÍ¡£Õû¸ölinuxϵͳµÄËùÓнø³ÌÒ²ÊÇÒ»¸öÊ÷Ðνṹ¡£Ê÷¸ùÊÇϵͳ×Ô¶¯¹¹ÔìµÄ£¬¼´ÔÚÄÚºË̬ÏÂÖ´ÐеÄ0ºÅ½ø³Ì£¬ËüÊÇËùÓнø³ÌµÄ×æÏÈ¡£ÓÉ0ºÅ½ø³Ì´´½¨1ºÅ½ø³Ì£¨ÄÚºË̬£©£¬1ºÅ¸ºÔðÖ´ÐÐÄں˵IJ¿·Ö³õʼ»¯¹¤×÷¼°½øÐÐϵͳÅäÖ㬲¢´´½¨Èô¸É¸öÓÃÓÚ¸ßËÙ»º´æºÍÐéÄâÖ÷´æ¹ÜÀíµÄÄÚºËÏ̡߳£Ëæºó£¬1ºÅ½ø³Ìµ÷ÓÃexecve£¨£©ÔËÐпÉÖ´ÐгÌÐòinit£¬²¢Ñݱä³ÉÓû§Ì¬1ºÅ½ø³Ì£¬¼´init½ø³Ì¡£Ëü°´ÕÕÅäÖÃÎļþ/etc/initabµÄÒªÇó£¬Íê³ÉϵͳÆô¶¯¹¤×÷£¬´´½¨±àºÅΪ1ºÅ¡¢2ºÅ...µÄÈô¸ÉÖÕ¶Ë×¢²á½ø³Ìgetty¡£
ÿ¸ögetty½ø³ÌÉèÖÃÆä½ø³Ì×é±êʶºÅ£¬²¢¼àÊÓÅäÖõ½ÏµÍ³Öն˵ĽӿÚÏß·¡£µ±¼ì²âµ½À´×ÔÖն˵ÄÁ¬½ÓÐźÅʱ£¬getty½ø³Ì½«Í¨¹ýº¯Êýexecve£¨£©Ö´ÐÐ×¢²á³ÌÐòlogin£¬´ËʱÓû§¾Í¿ÉÊäÈë×¢²áÃûºÍÃÜÂë½øÈëµÇ¼¹ý³Ì£¬Èç¹û³É¹¦£¬ÓÉlogin³ÌÐòÔÙͨ¹ýº¯Êýexecv£¨£©Ö´ÐÐshell£¬¸Ãshell½ø³Ì½ÓÊÕgetty½ø³ÌµÄpid£¬È¡´úÔÀ´µÄgetty½ø³Ì¡£ÔÙÓÉshellÖ±½Ó»ò¼ä½ÓµØ²úÉúÆäËû½ø³Ì¡£
ÉÏÊö¹ý³Ì¿ÉÃèÊöΪ£º0ºÅ½ø³Ì->1ºÅÄں˽ø³Ì->1ºÅÓû§½ø³Ì£¨init½ø³Ì£©->getty½ø³Ì->shell½ø³Ì
×¢Ò⣬ÉÏÊö¹ý³ÌÃèÊöÖÐÌáµ½£º1ºÅÄں˽ø³Ìµ÷ÓÃÖ´ÐÐinit²¢Ñݱä³É1ºÅÓû§Ì¬½ø³Ì£¨init½ø³Ì£©£¬ÕâÀïÇ°ÕßÊÇinitÊǺ¯Êý£¬ºóÕßÊǽø³Ì¡£Á½ÕßÈÝÒ×»ìÏý£¬Çø±ðÈçÏ£º
1.init£¨£©º¯ÊýÔÚÄÚºË̬ÔËÐУ¬ÊÇÄں˴úÂë
2.init½ø³ÌÊÇÄÚºËÆô¶¯²¢ÔËÐеĵÚÒ»¸öÓû§½ø³Ì£¬ÔËÐÐÔÚÓû§Ì¬Ï¡£
3.Ò»ºÅÄں˽ø³Ìµ÷ÓÃexecve£¨£©´ÓÎļþ/etc/inittabÖмÓÔØ¿ÉÖ´ÐгÌÐòinit²¢Ö´ÐУ¬Õâ¸ö¹ý³Ì²¢Ã»ÓÐʹÓõ÷ÓÃdo_fork()£¬Òò´ËÁ½¸ö½ø³Ì¶¼ÊÇ1ºÅ½ø³Ì¡£
ת×Ô£ºhttp://qhwang.blogbus.com/logs/46874366.html£¬ÇÒ×öÁËÒ»¶¨ÐÞ¸Ä
Ïà¹ØÎĵµ£º
Linux¹ÜÀíÔ±ÃÇ£¬¸ÃË¢ÐÂÄÚºËÁË
LinuxÖ®¸¸ÀîÄÉ˹·ÍÐÎÖ×È(Linus Torvalds)Ô®Òý¡¶Ê¥¾¡·ÖеÄÒ»¾ä»°¼ÄÓïLinux°®ºÃÕߣº“Ò»ÍùÎÞÇ°£¬ÉúÉú²»Ï¢¡£”µ«ÊÇʵ¼ÊÉÏ£¬¸ü׼ȷµÄÀí½âÓ¦¸ÃÊÇ“Ò»ÍùÎÞÇ°£¬²âÊÔ²»Ö¹”¡£¶ø×îÐÂÐèÒªÎÒÃDzâÊԵľÍÊǽüÆÚ¸Õ·¢²¼µÄ2.6.34°æLinuxÄںˣ¬¸ÃÄں˰汾µÄ·¢²¼Ê±¼ä¾àÀë´ËÇ°Ò»¸ö°æ ......
£¨±¾ÎÄÔ´´£¬×ªÔØÇë×¢Ã÷³ö´¦£¡£©
ÅäÖÃ
1. putty ÉèÖÃ
ssh->x11->enable x11 forwarding -> x display location £¨Ìîlocalhost£º15£¬´ËÊýÖµºÍxming ÉèÖÃÒ»Ö£©£¬ÆäËûʹÓÃsshÐÒéµÇ¼linux·þÎñÆ÷µÄÈí¼þ£¬ÈçsecureCRT£¬¶¼¿ÉÒÔºÍxming½øÐÐÕûºÏ¡£ÅäÖ÷½·¨ÀàËÆ¡£
2. &nb ......
ÌÚѶ¿Æ¼¼Ñ¶£¨ÂåÂåºÓ£© 5ÔÂ20ÈÕÏûÏ¢£¬ºìñ£¨Red Hat£©Ðû²¼ÒÑÔÚ¹úÄÚÆô¶¯´óѧÉúLinux¼¼ÄÜ´óÈü£»²¢½«Í¨¹ý³õÈü¡¢¸´Èü¡¢¾öÈü²ã²ãÑ¡°Î£¬ÓÚ7ÔÂ17ÈÕ¾ö³ö»ñʤÕß¡£
ºìñÖйúÊг¡²¿×ܼà¶ÐÁÒÒ±íʾ£¬¹úÄÚLinuxÊг¡È˲Åȱ¿ÚºÜ´ó£¬ÒѾӰÏìµ½Á˺ܶàLinuxÏîÄ¿µÄÕý³£½øÐУ¬Ï£Íûͨ¹ýÕâЩ¾Ù´ëÔö¼Ó´óѧÉú¶ÔLinuxµÄÐËȤ£¬´Ó¶øÅàÑø¸ü¶àÈ˲š£
Ìî ......
Ò»¡¢ÒýÑÔ£º
±¾ÎĵµµÄÄÚÈݴ󲿷ÝÄÚÈݶ¼ÊÇ´ÓÍøÉÏÊÕ¼¯¶øÀ´£¬È»ºóÅäºÏһЩеĽØͼ£¨Äں˰汾£ºV2.4.19£©¡£ÔÚÿһÅäÖÃÏîºó»áÓÐÒ»¸öÑ¡ÔñÖ¸ÄϵIJ¿·Ý£¬ÓÃÀ´Ö¸µ¼´ó¼ÒÔõôÑù¸ù¾Ý×Ô¼ºµÄÇé¿öÀ´×öÏàÓ¦µÄÑ¡Ôñ£»»¹ÓÐÔÚÿһ¸ö´óÏîºÍÎĵµµÄ×îºó»áÓÐÒ»¸ö¾Ñé̸£¬ËüÊÇһЩ¸ßÊÖÃÇÔÚÓ¦¶ÔÎÊÌâºÍ´¦ÀíÌØÓÐÓ²¼þʱµÄһЩ¾Ñ飨Õâ¸ö»¹µ ......
ÓÉÓÚÎÒÔÚÍøÉÏÏÂÔØÁËUbuntu LinuxÀ´°²×°·¢ÏÖÊÖͷû¿Õ°×¹âÅ̼̿cd,ËùÓÐgoogleÁËÏÂÕÒµ½ÁËÈçÏÂÎÄÕ½øÐÐʵ¼ù. ===================½Ì³Ì1========================== ˵µ½°²×°²Ù×÷ϵͳ£¬´ó¶àÊýÈËÊìϤµÄÊÇ´Ó¹âÅÌÒýµ¼£¬Æäʵ´ÓºÜ¶à´æ´¢É豸¶¼¿ÉÒÔʵÏÖϵͳÒýµ¼µÄ¡£ÓÉÓÚLinux²Ù×÷ϵͳµÄ·¢²¼ºÜ¶à£¬¶ø¶àÊýÈ˶¼ÊÇͨ¹ýÍøÂçÏÂÔزÙ×÷ϵͳµ ......