1 °²×°Linux
°æ±¾£º2004-06-17-01
1.1 Ìõ¼þ
1.1.1 ˼Ïë×¼±¸
°²×°Ä¿µÄ¡£
Õâ²»ÊÇÍæ¾ß£¬¾¡¹ÜËü¾ß±¸Ò»Ð©Íæ¾ßµÄ¹¦ÄÜ£¬µ«ÊDz»Òª¶ÔÕâ·½Ã汨¶àÉÙÏ£Íû£¬²»ÒªÎÊijijÓÎÏ·ÊÇ·ñÄÜÔÚLinuxÏÂÔËÐС£
ÐÄÀí³ÐÊÜ¡£
°²×°¿ÉÄÜ»áÓÉÓÚ¿ÉÖª»òδ֪µÄÔÒòʧ°Ü¡£Êµ¼ÊÉÏ£¬°²×°Window$Ò²²»»á100%³É¹¦£¬²»ÊÇÂð£¿
ÄãµÄijЩӲ¼þÎÞ·¨±»Çý¶¯£¬ÒòΪ³§¼Ò¿ÉÄÜûÓÐÌṩLinuxϵÄÇý¶¯³ÌÐò¡£
Äã¿ÉÄÜÎÞ·¨ÉÏÍø£¬ÓÉÓÚÄãËùÔÚÇøÓòµÄISP²»Ö§³Ö£¬»òÕßÍøÂçÉ豸ÎÞ·¨Çý¶¯¡£
1.1.2 Ó²¼þÒªÇó
һ̨Åä¼þ²»ÊÇÌ«ÌØÊâµÄPC£¬²»Òª×îÐÂÅä¼þ£¬Ò²±ðÀϵõôÔü£¬ÕâÑùµÄPCÒ»°ã¶¼ÄÜ°²×°¡£
SCSIÓ²Å̺ÍSATAÓ²ÅÌÉϵݲװûÓÐʵ¼ù¹ý£¬Ôݲ»ÌÖÂÛ¡£
ÐèÒªÖÁÉÙ3GµÄÓ²ÅÌÊ£Óà¿Õ¼ä£¬ÒòΪºìÆìLinux×ÀÃæ4.0²»Ìṩ×Ô¶¨Òå°²×°¡£
CPU×îºÃÔÚ500MHzÒÔÉÏ£¬RAM×îºÃÔÚ250MBÒÔÉÏ£¬ÒòΪ×÷Ϊ×ÀÃæϵͳͼÐνçÃæÊDZز»¿ÉÉٵġ£
ÐèÒªÊó±ê¡¢¼üÅ̺ÍÒ»¸ö²»ÊÇÌ«´ÎµÄÏÔʾÆ÷£¬±Ï¾¹²»ÊÇ×ö»ú·¿µÄ·þÎñÆ÷¡£
Êó±ê¡¢¼üÅÌ×îºÃ²»ÊÇUSBµÄ£¬²»¹ýÏÖÔڵݲװ³ÌÐòËƺõ²»Ì«ÔÚÒâÕâЩÁË¡£
Èç¹ûÄãÓпÉÒýµ¼ÏµÍ³Æô¶¯µÄÈíÇý£¬Ò²Çë×¼±¸Á½µ½ÈýÕźõÄÈíÅÌ£¬½ðÌïµÄ²»´í£¬Ö»ÊDZðÓÃË®»õ¡£
ÍøÂçÉ豸¿ÉÒÔÊÇÄÚÖõ绰µ÷Öƽâµ÷Æ÷£¬ÍƼöÓÃÍø¿¨»òÍâÖô®¿Úµç»°µ÷Öƽâµ÷Æ÷¡£²»ÍƼöÄÚÖûòUSB½Ó¿ÚµÄADSLµ÷Öƽâµ÷Æ÷¡£
1.1.3 ÆäËû»·¾³ÒªÇó
ÒѾʵ¼ù¹ýµÄ°²×°»·¾³£º
Âã»ú£¬¹âÇý¿ÉÓã»
CÅÌ×°ÓÐDOS/Window$·ÇNTϵͳ£¬¹âÇý¿ÉÓã»
CÅÌ·Çntfs¸ñʽ£¬×°ÓÐNTϵͳ£¬¶øÇÒÈíÇý¿ÉÓ㬹âÇý¿ÉÓã»
CÅÌΪntfs¸ñʽ£¬×°ÓÐNTϵͳ£¬²¢ÇÒNTÒýµ¼Í·Í¬Ê±¸ºÔðÁËÁíÍâÒ»¸öϵͳµÄÒýµ¼£¬¶øÇÒÈíÇý¿ÉÓ㬹âÇý¿ÉÓá£
1.2 °æ±¾Ñ¡Ôñ
ºìÆìLinux×ÀÃæ4.0Bate
²»ÒªÐ¦£¬Ïà±ÈÀ¬»ø°ãµÄ2.4ºÍÒªÐòÁкÅ(¾¡¹ÜÄÜÈƹýÈ¥)µÄ3.x£¬4.0ÒѾÓÐÁË¡°ÖʵķÉÔ¾¡±¡£Ò²Ã»Ñ¡4.1EA£¬ÒòΪûÓжàÉÙÎüÒýÈ˵ÄÐÂÌØÐÔ¡£Ó²¼þ¼æÈÝÐԺͺܰôµÄÖÐÎÄÖ§³Ö£¬¶ÔÓÚ³õѧÕߣ¬ÕâÊÇ×î¼ÑÑ¡Ôñ¡£
ÎÒ¶Ô±ÈʹÓùýÒ»¶Îʱ¼ä£¬Ï¸½ÚÒѾÍüÁË£¬µ«ÊÇ×ÜÌåÀ´ËµBate°æ±ÈÕýʽ°æÓÃ×Å·½±ã¡£
½ÏºÃµÄÈí¼þÖ§³ÖÐÔ£¬Ò²ÊÇÒ»°ãˮƽÓû§²»´íµÄÑ¡Ôñ£¬ÖÁÉÙ±à¼ÕâƪÎÄÕµÄϵͳÄÜͬʱÔËÐÐADSL²¦ºÅÈí¼þ¡¢QQ¿Í»§¶Ë¡¢Webä¯ÀÀÆ÷¡¢mp3²¥·ÅÆ÷¡¢ÐéÄâ»ú¡¢Window$Ä£ÄâÆ÷¡¢J2SDK¡¢JSP·þÎñÆ÷¡¢Web·þÎñÆ÷ºÍÊý¾Ý¿â·þÎñÆ÷¡£Í¬Ê±ÔËÐÐÓеãÂý£¬µ«»¹²»ÖÁÓÚÎÞ·¨ÈÌÊÜ¡£
1.3 °²×°Ç°µÄ×¼±¸(½¨ÒéÏÈ°ÑÕⲿ·ÖÄÚÈÝ¿´ÍêÔÙ¶¯ÊÖ)
1.3.1 »ñÈ¡°²×°½éÖÊ
ºìÆìLinux×ÀÃæ4.0£¬Ëƺõ²»ÏóÒÔÇ°µÄ°æ±¾ÄÇÑùÄõ½´ó½ÖÉÏÈí¼þµêÂô£¬Á¬µÁ°æµØ̯É϶¼¼û²»×Å£¬²»¹ý¿ÉÒÔ´ÓÍøÉÏϵ½¡£¹À¼ÆBate°æÊÇÕÒ²»µ½ÁË£¬Õýʽ°æÒ²¿ÉÒÔ£¬Çø±ð²»´ó¡£
Äã¿ÉÒÔ°ÑÏÂÔغóµÄisoÎļþ¿Ìµ½¹âÅÌÉÏ£¬×¢ÒâÔÑù¿Ì¼£¬²»Òª¸Ä¶¯¡£
1.3.2 ΪLinux´´½¨Îļþϵͳ
1.3.2.1 ±ØÒªÐÔ
Linux ÊÇÒ»¸öÓëWindow$/DOS¼¸ºõÍêÈ«²»Í¬µÄ²Ù×÷ϵͳ£¬±ØȻҪÓÐ×Ô¼ºµÄÎļþϵͳ¡£Ó²ÅÌÉϵÄÎļþϵͳһ°ã¾ÍÊÇ·ÖÇø¡£ÔÚÒ»¶¨Çé¿öÏÂLinux¿ÉÒÔÓë Windows¹²·ÖÇø£¬µ«ÊDz½ÖèÂé·³¶øÇÒÓ°ÏìÐÔÄÜ¡£LinuxÏÂûÓкÍ"ÅÌ·û"µÈ¼ÛµÄ¸ÅÄËùÒÔ¹ØÓÚÓ²ÅÌ·ÖÇø£¬ÓбØÒªÔÚ´Ë»¨·ÑһЩ¿ÚÉà¡£
Ó²ÅÌÊÜÔçÆÚÉè¼ÆÕßÑÛ¹âµÄÏÞÖÆ£¬Ö»ÄÜÓÐ4¸ö¡°·ÖÇø¡±¡£ºóÀ´£¬ÈËÃÇÐèÒª¸ü¶àµÄ·ÖÇø£¬²»µÃ²»°Ñ¸Õ²ÅËù˵µÄ¡°·ÖÇø¡±×÷Ϊ³¬¼¶Ä¿Â¼£¬ÔÚÀïÃæ»®·Ö¸ü¶àµÄ·ÖÇø¡£ÔÀ´µÄ¡°·ÖÇø¡±ÓÐÁËеÄÃû³Æ£ºÖ÷·ÖÇø¡£×÷Ϊ¡°Ä¿Â¼¡±µÄ·ÖÇøͨ³£²»ÔÙ±»½Ð×öÖ÷·ÖÇø£¬¶ø½ÐÀ©Õ¹·ÖÇø£¬Ëü±¾Éí²»´æ·ÅÒ»°ãÊý¾Ý¡£ÀïÃæ´æ·ÅÊý¾ÝµÄ×Ó·ÖÇø½ÐÂß¼·ÖÇø¡£ÔڱȵÚÒ»¸ö·ÖÇø¸ü¿¿Ç°µÄÄǸö´ÅµÀÉÏ£¬ÓÐÒ»²¿·ÖÈÝÁ¿±»±£ÁôΪ²Ù×÷ϵͳÒýµ¼×¨Ó㬽С°Main Boot Record¡±£¬ÖÐÎĽС°Ö÷Òýµ¼Çø¡±¡£
Ò»°ãÇé¿öÏÂÖ÷°åµÚÒ»IDE¿ÚÖ÷ÅÌÖ÷·ÖÇøºÍÀ©Õ¹·ÖÇøµÄ±àºÅ´Ó¡°hda1¡±µ½¡°hda4¡±£¬Âß¼·ÖÇø´Ó¡°hda5¡±¿ªÊ¼£¬´ÓÅÌ°Ñ¡°hda*¡±±ä³É¡°hdb*¡±£»µÚ¶þÒ»IDE¿ÚÖ÷ÅÌÖ÷·ÖÇøºÍÀ©Õ¹·ÖÇøµÄ±àºÅ´Ó¡°hdc1¡±µ½¡°hdc4¡±£¬Âß¼·ÖÇø´Ó¡°hdc5¡±¿ªÊ¼£¬´ÓÅÌ¡°hdd*¡±¡£Èç¹ûÄãµÄÓ²ÅÌÉÏÒѾ°²×°ÁË DOS/Window$£¬Çë°´Õâ¸ö¹æÔò¶Ô×Å¿´¿´DOS/Window$µÄ·ÖÇø·Ö±ð¶ÔӦʲô±àºÅ¡£
SCSIÓ²Å̺ÍSATAÓ²Å̵ıàºÅÁíÓй涨¡£
ɾ³ý»òËõСһЩ·ÖÇø£¬ÌÚ³öÔ¼3GµÄ¿Õ¼ä£¬×¼±¸Ó½ÓСÆó¶ì°É¡£Õâ¸ö¿Õ¼ä×îºÃÊÇÁ¬ÐøµÄ£¬²¢ÇÒÆ俪ʼλÖÃÔÚ40GÒÔÇ°¡£²»ÒªÌ«´ó£¬ÄãÄ¿Ç°»¹²»ÐèÒª¡£3G×ã¹»ÁË¡£
1.3.2.1 ½¨ÒéµÄ·ÖÇø·½°¸
ΪÁ˱ãÓÚά»¤£¬½¨ÒéÒÀ´Î¸øLinux·ÖÅä500MB¡¢>2GBÁ½¸öext3¸ñʽµÄÊý¾Ý·ÖÇøºÍÒ»¸öswap¸ñʽµÄ½»»»·ÖÇø¡£½»»»·ÖÇø½«±»ÏµÍ³ÓÃ×÷ÐéÄâÄڴ棬×÷Ϊ×ÀÃæϵ£¬Æä´óСһ°ãΪ256MB¡£µ±È»£¬Èç¹ûÄãÄÚ´æÒѾ´ïµ½25xMB£¬×÷Ϊ×ÀÃæϵͳ£¬Ò²²»±ØÓÃÕâô¶à¿Õ¼ä×ö½»»»·ÖÇø£¬¿ÉÒÔÖ»»®·Ö128MB¡£¾Ý˵·Ç32MBÕû±¶Êý´óСµÄ½»»»·ÖÇøÈÝÒ×µ¼Ö¿ռäÀË·Ñ£¬×¢ÒâһϾͿÉÒÔÁË¡£
ÒÔÉÏ3¸ö·ÖÇøÖеÄÈκÎÒ»¸ö¡¢Á½¸ö»òÈ«²¿£¬¿ÉÒÔÊÇÖ÷·ÖÇø£¬Ò²¿ÉÒÔÊÇÂß¼·ÖÇø£¬Õâ¸öËæÄã¡£Èç¹ûûÓÐ˳ÊֵķÖÇø¹¤¾ß£¬Ò²¿ÉÒÔ°Ñ¿Õ¼äÁô³öÀ´£¬µÈµ½°²×°µÄʱºòÔÙ»®·Ö¡£
1.3.3 ÊìϤһÏÂÐéÄâ»ú
Èç¹ûÄãÊÖÍ·ÒѾÓкìÆìLinux×ÀÃæ4.0°²×°¹âÅ̲¢ÄÜÖ±½ÓÒýµ¼Õą̂PC£¬Äã¿ÉÒÔÌø¹ý±¾½Ú£¬·ñÔò×îºÃ»¹ÊÇ¿´Íê¡£
Èç¹ûÄãÊÖÀïûÓа²×°¹âÅÌ£¬Äã¿ÉÒÔ²ÎÕÕÍøÉϵÄ×ÊÁÏÊÔͼӲÅÌ°²×°£¬µ«ÊDZȽÏÂé·³£¬ÎÒûÓÐÊÔÑé³É¹¦£¬ÔÚÕâÖÖÇé¿öÏÂÍƼöʹÓÃÐéÄâ»úÈí¼þVMware¡£
Èç¹ûÄãµÄPCÉÏÓÐÄÜÕý³£ÔËÐеÄM$-WinNTÀàϵͳ£¬ÄãÐèҪŪµ½Ò»¸ö½ÐVMware-WorkstationµÄÐéÄâ»úÈí¼þ¡£×¢Ò⣬ҪWindow$°æµÄ¡£
Èç¹ûÄãµÄPCÉÏÒѾÓÐÄÜÕý³£ÔËÐеÄLinux-2.4.xϵͳ(2.4.xÖ¸Äں˰汾ºÅ)£¬X-Window°æ±¾¸ßÓÚ3.6£¬ÄãÐèÒªVMware-WorkstationµÄLinux°æ¡£
°²×°VMware£¬ÍƼöÓÃ4.xµÄ¡£Ïë°ì·¨ÅªÒ»¸öÐòÁкš£Èç¹ûÄã²»´òËãÈúìÆìLinux×ÀÃæ4.0ÖÕÉúÔËÐÐÔÚÐéÄâ»úÀÄÇôÕâ¸öÐòÁкÅÖ»ÒªÄܹÜÒ»Ìì¾ÍÐС£
ÔËÐÐVMware£¬ÔÚÆä´°¿Ú¶¥²¿¡°Help¡±ÄÇÀ¸ÕÒµ½ÊäÈëÐòÁкŵĵط½£¬ÊäÈëÐòÁкš£²»¹ÜÕýÎ󶼻á³öÌáʾµÄ£¬´íÁ˾ÍÔÙÕÒÒ»¸öÐòÁкţ¬Ö±µ½ÕýȷΪֹ¡£
ÐéÄâ»úÈí¼þ£¬¾ÍÊÇ´´½¨ºÍÔËÐÐÐéÄâ»úÓõÄ(·Ï»°)¡£´´½¨Ò»¸öеÄÐéÄâ»ú¡£
µÚÒ»²½£º¡°File¡±->¡°New Virtual Machine¡±->¡°Custom¡±->¡°Next¡±->²Ù×÷ϵͳÄÇÀ¸Ñ¡Linux->¡°Next¡±¡£
µÚ¶þ²½£ºÉèÖÃÐéÄâ»úÃûÒÔ¼°ÅäÖÃÎļþ£¬°´ÄãµÄϲºÃÉèÖÃ->¡°Next¡±¡£
µÚÈý²½£ºÉèÖÃÐéÄâ»úµÄÄÚ´æ´óС£¬ÍƼöÉèÖÃΪµ±Ç°ÏµÍ³µÄ1/3->¡°Next¡±¡£
µÚËIJ½£ºÍøÂçÁ¬½Ó£¬Ê¹ÓÃĬÈÏÉèÖÃ->¡°Next¡±¡£
µÚÎå²½£º´ÅÅÌÉ趨£¬Èç¹ûÄã²»ÊÇÏëÈúìÆìLinux×ÀÃæ4.0ÖÕÉúÔËÐÐÔÚÐéÄâ»úÀÇëÑ¡¡°Use a physical disk¡±£¬ÈÃÐéÄâ»úÓ뵱ǰϵͳ¹²ÓÃͬһӲÅÌ£¬¶ø²»ÊÇÐéÄâ³öÒ»¸öÓ²ÅÌ¡£ÓÐÒ»¶¨·çÏÕ£¬µ«ÊÇÖ»Òª²»ºúÂÒ²Ù×÷£¬·çÏÕ²»´ó->¡°Next¡±¡£
µÚÁù²½£ºÖ¸¶¨ÒªÊ¹ÓõÄÓ²ÅÌ->¡°Next¡±->ÉèÖÃÅäÖÃÎļþµÄλÖÃ->¡°Finish¡±¡£¼ÈÈ»ÒѾ´òËã×ßÕâ²½£¬ÇëºöÂÔÄǸö·çÏÕÌáʾ¡£
Èç¹ûÄãÔÚµÚÎ岽ѡÁË¡°Create a new virtualdisk¡±£¬ÐèÒªÉèÖÃÐéÄâ´ÅÅÌ´óС£»Èç¹ûÄãÑ¡ÁË¡°Use an existing virtual disk¡±£¬ÐèÒªÖ¸¶¨ÄǸöÐéÄâ´ÅÅÌÅäÖÃÎļþ¡£
¶÷£¬Ã»³ö²í×ӵĻ°£¬ÐµÄÐéÄâ»ú´´½¨³öÀ´ÁË£¬ÓÐ×Ô¼ºµÄCPU¡¢RAM(¶¼ÊÇÓÃÈí¼þÄ£ÄâµÄ)ºÍÆÁÄ»(×ÀÃæÉϵĴ°¿Ú)£¬Êó±ê¡¢¼üÅ̶¼ÊǺ͵±Ç°ÏµÍ³¹²Óõġ£
¹âÇýÈíÇýĬÈÏÇé¿öÏÂÒ²ÊǺ͵±Ç°ÏµÍ³¹²Óõģ¬ËùÒÔÈç¹ûÄãÏëÓÃisoÎļþÒýµ¼ÐéÄâ»ú£¬Çë¡°Edit virtual machine settings¡±£¬ÔÚ×ó²àÁбíÖÐÑ¡¡°DVD/CD-ROM¡±ÄÇÏÔÙÔÚÓÒ²àÑ¡¡°Use ISO image:¡±£¬Ö¸¶¨°²×°ºìÆìLinux×ÀÃæ4.0µÄisoÎļþ¡£
ÐéÄâ»úĬÈϲ»ÊÇ´Ó¹âÅÌÒýµ¼µÄ£¬ÒªÔÚËüµÄBIOSÀï¸Ä£¬µÃÏÈ¡°Start this virtual machine¡±¡£Èç¹û³öÏÖ¡°Do not forget to ...¡±µÄÌáʾ¿ò£¬Ö±½Óµã¡°OK¡±¡£´ýVMware´°¿ÚÖÐÒ»´ó¿é±äºÚµÄʱºò£¬¸Ï¿ìÓÃÊó±êµãÄÇ¿éºÚ£¬ÄÇ¿éºÚÊÇÐéÄâ»úµÄÆÁÄ»¡£ÏÖÔÚÄãµÄÊó±êºÍ¼üÅ̾ÍתΪ¿ØÖÆÐéÄâ»úÁË¡£×¢ÒâÐéÄâ»úÆÁĻϷ½µÄ½ø¶ÈÌõ£¬ÔÚËü×ßÍê֮ǰ£¬ÄãÓм¸ÃëÖÓµÄʱ¼ä°´¡°F2¡±¼ü½øÆäBIOS¡£
VMwareµÄÐéÄâ»úÓÃµÄ PhoenixBiosºÍƽ³£ÓõÄAwardBios²Ù×÷²»Ò»Ñù¡£ÇëÓüüÅ̵Ä×óÓÒ¼ýÍ·¼üÑ¡ÖС°Boot¡±±êÇ©£¬ÓÃÉÏϼýÍ·¼üÑ¡ÖС°CD-ROM¡±¡£Í¬Ê±Óà ¡°Shift¡±¼üºÍ¡°+¡±¼ü£¬°Ñ¡°CD-ROM¡±Áൽ¶¥ÉÏ¡£ÓüüÅ̵Ä×óÓÒ¼ýÍ·¼üÑ¡ÖС°Exit¡±±êÇ©£¬ÓÃÉÏϼýÍ·¼üÑ¡ÖС°Exit Saving Changes¡±£¬»Ø³µ->¡°YES¡±£¬µÈ´ýÐéÄâ»úÖØÐÂÆô¶¯¡£Í¬Ê±°´¡°Ctrl¡±ºÍ¡°Alt¡±¼ü£¬Êó±êºÍ¼üÅ̾ʹÓÐéÄâ»úÖнâÍѳöÀ´ÁË¡£¿´µ½½ø¶ÈÌõµÄʱºò°´VMware´°¿Ú×óÉÏ·½µÄºì·½¿é£¬Í£µôÐéÄâ»ú¡£
µ½´ËΪֹ£¬Õâ¸öÐéÄâ»úÒѾÉèÖÃÍ×µ±ÁË¡£
1.4 °²×°
1.4.1 ¿ªÊ¼°²×°
ÆäËû·¢ÐаæµÄLinux°²×°Ê±¿ÉÒԲο¼±¾Îĵµ£¬²î±ð²»»áÌ«´ó¡£
ÏÖÔÚ£¬°ÑºìÆìLinux×ÀÃæ4.0µÄ°²×°¹âÅ̷Žø¹âÇý£¬ÖØÐÂÆô¶¯¼ÆËã»ú¡£Èç¹ûÄãµÄ¼ÆËã»úÄ¿Ç°²»ÊÇ´Ó¹âÅÌÒýµ¼£¬Çë½øBIOSÐ޸ġ£
Èç¹ûÄãûÓа²×°¹âÅÌ£¬»òÕß¼ÆËã»úÎÞ·¨´Ó¹âÇýÒýµ¼£¬Çë°ÑÄãÏÂÔصÄisoÎļþ·Å½øÐéÄâ»úµÄ¹âÇý²¢Æô¶¯ÐéÄâ»ú£»ÓÃÈç¹û³öÏÖ¡°Do not forget to ...¡±µÄÌáʾ¿ò£¬Ö±½Óµã¡°OK¡±£»µ±ÐéÄâ»úÆÁÄ»³öÏÖʱ£¬Êó±êºÍ¼üÅÌÈ¥¿ØÖÆÐéÄâ»ú¡£
¿´ÆÁÄ»ÉÏ×Ö·û¹ö¶¯£¬µÈ´ý¡£
¿´ÆÁÄ»±ä³É»ÒÉ«²¢³öÏÖÒ»¸öËæÊó±êÒƶ¯µÄСºÚ²æ£¬Ôٵȴý¡£
È»ºó¿´µ½À¶É«µÄͼÐλ¯°²×°½çÃæ¡£
¿´¿´ÄǸöÓû§ÐÒé¡£ÊDz»ÊDZÈMicro$oftµÄ¿´×ÅÊæ·þµã£¿Õâ¸öÐÒéÈÔÈ»²»×ÔÓÉ£¬µ«ÊÇÄ¿Ç°ÒѾ¹»ÁË£¬²»¹ÜÄãÊDz»ÊÇÕæͬÒâËü£¬Ç롰ͬÒ⡱->¡°ÏÂÒ»²½¡±¡£
3GµÄ¿Õ¼ä¹»Óã¬ÎªÁ˾¡Á¿±ÜÃâÒÔºó³öÂé·³£¬Èç¹ûÄã°²×°µÄÊÇBate°æ£¬ÇëÑ¡¡°¿ª·¢ÏµÍ³¡±£¬Èç¹ûÊÇÕýʽ°æ£¬ÇëÑ¡¡°ÍêÈ«°²×°¡±¡£Ôٵ㡰ÏÂÒ»²½¡±¡£
Õâ¸ö»Ã棬ѡ~ʲô£¿ÄãÑ¡¡°Fdisk¡±£¿£¡OK£¬¸ßÈË£¬Óе¨Ê¶£¬Åå·þ£¬¾ÓÈ»³ÁסÆø¿´µ½ÁËÕâÀºÃÁË£¬ÄúÀÏȥæ°É£¬²»ÒªÔÚÕâÀïµ¢ÎóÄúµÄʱ¼äÁË:-P
Èç¹ûÄãÇ°ÃæÖ»ÊÇ°Ñ¿Õ¼äÁô³öÀ´¶øûÓл®·Ö·ÖÇø£¬ÏÖÔÚ¾ÍÔÚÁô³öµÄ¿Õ¼äÉÏ»®·Ö°É¡£È»ºóÑ¡ÖÐÄǸö500MBµÄ·ÖÇø£¬¡°±à¼¡±£¬°ÑËüµÄ¹ÒÔصãÉèÖÃΪ¡°/¡±£¬¸ñʽ»¯³É ¡°ext3¡±£»ÔÙ±à¼ÄǸö>2GBµÄ·ÖÇø£¬¹ÒÔصãÉèÖÃΪ¡°/usr¡±£¬Ò²¸ñʽ»¯³É¡°ext3¡±£»×îºó±à¼½»»»·ÖÇø£¬¸ñʽ»¯Îª¡°swap¡±¡£×¢Ò⣺Á½¸öLinux¿ÉÒÔʹÓÃͬһ¸ö½»»»·ÖÇø£¬µ«²»ÊÇͬʱ£¡Èç¹ûÄãÔÚLinuxÏÂʹÓÃVMware°²×°ÁíÒ»¸öLinux£¬²¢´òËãÈÃÁ½¸öLinuxʹÓÃͬһ¸ö½»»»·ÖÇø£¬ÇëÏÈÒÔ¡°root¡±Éí·ÝÖ´ÐС°/sbin/swap off /dev/ÄãµÄ½»»»·ÖÇø±àºÅ¡±£¬¹Øµô½»»»·ÖÇø¡£¡°ÏÂÒ»²½¡±¡£
°²×°Æô¶¯Òýµ¼Æ÷¡£ºìÆìLinux×ÀÃæ°æ4.0ĬÈÏÓÃGRUB¡£Õⶫ¶«ÎÒ²»ÊìϤ£¬ÏµÍ³°²×°ºÃû¶à¾Ã¾Í±»ÎÒÌæ»»³ÉLILOÁË¡£ÕâÁ½Õ߶¼ÄÜʤÈζàϵͳÒýµ¼ÈÎÎñ¡£Èç¹ûÄ㵱ǰµÄ°²×°»·¾³ÊÇÂã»ú£¬Õßhda1·ÖÇø²»ÊÇntfs¸ñʽ£¬Çë°ÑÕⶫ¶«°²ÖÃÔÚ¡°MBR¡±£¬¼´¡°Ö÷Òýµ¼Çø¡±¡£Èç¹ûÄãÈ·ÐÅÓбðµÄ°ì·¨Òýµ¼ÕýÔÚ°²×°µÄLinuxϵͳ£¬Õâ¸öÆô¶¯Òýµ¼Æ÷Ò²¿ÉÒÔ°²ÖÃÔÚÄǸö500MB·ÖÇøÀï¡£
ÇëÔÚÉÏ·½µÄ¿òÀïÊäÒ»´Î¿ÚÁî¡£ÕâÊÇÄã×÷Ϊϵͳ¹ÜÀíÔ±µÇ¼Óõġ£ÔÚÏÂÃæµÄ¿òÀïÔÙÊäÒ»´Î£¬ÊäÍê¿´Ìáʾ¡£Á½´ÎÊäÈëÒ»ÖµĻ°£¬¡°ÏÂÒ»²½¡±¡£µ«Çë¼ÇסÕâ¸ö¿ÚÁî¡£
Èç¹û»¹ÓÐÉèÖò»µ±£¬»òÕßͻȻ¶ÔÔ±¾ÒªÐ°²×°LinuxµÄ¿Õ¼äÉϵÄÊý¾ÝÐÄ´æÁ¯Ãõ£¬ÕâÊÇÐ޸ĻòÍ˳ö°²×°µÄ×îºó»ú»á¡£µ½Ä¿Ç°ÎªÖ¹£¬Linux°²×°³ÌÐò»¹Ã»ÓжÔÄãµÄÓ²Å̶¯ÈκÎÊֽţ¬ÏÖÔÚÍ˳ö£¬Ä㻹ÓÐ90%ÒÔÉϵĻú»áÓù¤¾ßÈí¼þ»Ö¸´ÄÇЩ¿Õ¼äÉϵÄÊý¾Ý¡£µã¡°ÏÂÒ»²½¡±ºó£¬Èç¹ûÔÚÄÇЩ·ÖÇøÉÏ»¹ÓÐÓÐÓõÄÊý¾ÝûתÒÆ£¬Çë½Ú°§¡£
1.4.2 һЩ¸ÅÄî
Ê×ÏÈÊÇ·ÖÇø±àºÅ²»Í¬ÁË£¬½Ó×Åð³öÀ´Ò»¸öʲô¹ÒÔص㣬ͷ´óÂ𣿷ÖÇø±àºÅÇ°Ãæ˵ÁË£¬ÏÖÔÚÀ´½â¾ö¡°¹ÒÔص㡱¡£
LinuxµÄĿ¼Ê÷Ö»ÓÐÒ»¸ö¸ù¡°/¡±£¬°üÀ¨ËüÔÚÄÚ£¬ËùÓеÄĿ¼£¬¿ÕµÄ¡¢·Ç¿ÕµÄ¶¼¿ÉÒԳ䵱¹ÒÔص㣬ֻÊÇ·Ç¿ÕĿ¼³äµ±¹ÒÔصãʱ£¬ÆäÔÓÐÄÚÈݽ«±»ÆÁ±Î¡£
ÿ¸öÎļþϵͳÀïͨ³£¶¼ÓÐĿ¼Ê÷£¬ËùÒÔ¿ÉÒÔ°ÑÎļþϵͳÏë³ÉһЩµ¹¹ÒµÄÊ÷è¾£¬ÔÚ×ÉÏÖ»ÓÐÒ»¸öÖ¦£¬ÍùÏÂ×߸ùÓÐÁË·Öè¾£¬Ô½ÍùÏÂè¾Ô½¶à£¬ÕâЩ达ÍÊÇÎļþϵͳÀïµÄĿ¼ºÍÎļþ£¬ÕâµãºÍDOS/Window$ÊÇÏàͬµÄ¡£Ò»°ãÎļþ²»¿É×ö¹ÒÔص㣬ºöÂÔµô¡£
Linux ϵͳµÄ¸ùĿ¼ҲÊÇÔÚÒ»¸öÎļþϵͳÀïµÄ£¬Õâ¸öÎļþϵͳͨ³£³ÆΪ¸ùÎļþϵͳ¡£¿ÉÒÔÏ룺´ú±í¸ùÎļþϵͳµÄÊ÷è¾µ¹¹ÒÔÚÎݶ¥ÉÏ¡£¶ÀÁ¢µÄÊ÷è¾Ö®¼äºÁÎÞÁªÏµ£¬µ«ÊÇËæʱ¿ÉÒÔ°ÑÒ»¸öÊ÷è¾µ¹¹ÒÓÚ¹ÒÔÚÎݶ¥µÄÊ÷è¾Ä©ÉÒ»ò·ÖÖ¦µÄµØ·½£¬ÐγÉÒ»¸ö¸ü´óµÄÊ÷è¾£¬¶øÕâ¸ö´óÊ÷è¾ÓÖÄÜÔÚÈκÎÄ©ÉÒ»ò·ÖÖ¦µÄλÖùÒÉÏÒ»¸öеÄÊ÷è¾£¬×é³É¸ü´óµÄĿ¼Ê÷¡£³ýÁ˹ÒÔÚÎݶ¥µÄÊ÷è¾Í⣬ÆäËûÒѾ¹ÒÉϵÄÊ÷è¾Ò²¿ÉÒÔжÏ»¹Ô¡£
¶÷£¬¹ØÉÏÏÔʾÆ÷£¬È»ºóÈ¥³Ô·¹°É£¬»òÕßС˯һ¿Ì¡£Èç¹ûÄãÊÇÓõÄÐéÄâ»ú°²×°£¬¶øÇÒÄãµÄ»úÆ÷¹»Ç¿¾¢£¬ÄãÒ²²»ÔÚºõÍÏÂý°²×°Ëٶȣ¬ÄÇôÉÏÉÏÍø¡¢ÁÄÁÄÌì¡¢ÌýÌý¸è¡¢ÍæÍæСÓÎÏ·Ò²ÊDz»´íµÄÑ¡Ôñ¡£
1.4.3 Íê³É
Èç¹û»¹Ã»¿´µ½ÖÆ×÷Æô¶¯Òýµ¼Å̵ĻÃ棬¶øÇÒÄãµÄ¼ÆËã»úûËÀ»ú£¬Çë¼ÌÐøµÈ´ý¡£È»ºó°ÑÄã×¼±¸ºÃµÄÈíÅÌÄÃÀ´£¬²å½øÈíÇý¡£ÕÕÖÐÎÄÌáʾ²Ù×÷¡£ÔÙÈ»ºó£¬ÔÚ¼ÆËã»úÖØÐÂÆô¶¯µÄÄÇÒ»¿Ì°Ñ¹âÅÌÈ¡³ö¡£
Èç¹ûÄãÓõÄÊÇÐéÄâ»ú°²×°£¬ÇëÔÚ¿´µ½BIOS½ø¶ÈÌõʱͣµôÐéÄâ»ú¡£Èç¹ûÄã´òËãÔÚÐéÄâ»úÀïÔËÐÐLinux£¬Çë°ÑÐéÄâ»úÉèÖÃΪӲÅÌÒýµ¼¡£Èç¹ûÄãÖ»ÊǽèÖúÐéÄâ»úÍê³É°²×°£¬ÄÇôËüµÄʹÃü»ù±¾ÉϽáÊøÁË£¬Ð¶²»Ð¶ËæÄã¡£
1.4 ³õ²½ÉèÖÃ
ÖØÐÂÆô¶¯¼ÆËã»ú¡£Èç¹ûÄã´òËãÈÃÐÂϵͳÔÚÐéÄâ»úÀïÅÜ£¬³åÇ×Æô¶¯ÐéÄâ»ú¡£
Èç¹ûÄãÒѾ°ÑÆô¶¯Òýµ¼Æ÷°²×°ÔÚ¡°MBR¡±£¬Ó¦¸ÃÄÜ¿´µ½²Ù×÷ϵͳѡÔñ»ÃæÁË¡£Èç¹ûÆðÒýµ¼Æ÷°²×°ÔÚLinuxµÄ¸ù·ÖÇø£¬Ïë±ØÄãÒѾ¶Ô±ðµÄÆô¶¯Òýµ¼Æ÷±È½ÏÊìϤÁË£¬ÄãÒª×öµÄÖ»ÊÇÈñðµÄÆô¶¯Òýµ¼Æ÷ÄÜÒýµ¼µ½ÄǸö·ÖÇø¡£ÄãÒ²¿ÉÒÔÓøղÅÖÆ×÷µÄÈíÅÌÒýµ¼ÏµÍ³¡£
1.4.1 ÏÔʾÉèÖÃ
×ÀÃæϵͳֻÓÐ×Ö·û½çÃæÊDz»¿É½ÓÊܵġ£
µÚÒ»´ÎÆô¶¯ºìÆìLinux×ÀÃæ4.0ʱ»á×Ô¶¯½øÈëÔËÐ춱ð4£¬¼´ºìÆìµÄ¡°°²È«Ä£Ê½¡±¡£²»ÊÇÌ«µ¹Ã¹µÄ»°£¬ÆÁÄ»ÉÏ»á³öÏÖÒ»¸öµ÷½ÚÏÔʾÉèÖõĴ°¿Ú¡£Èç¹ûÄãÔÚ Window$ϵ÷½Ú¹ýÏÔʾÉèÖã¬Õâ¶ÔÄãûʲôÄѶȡ£Ò»¶¨Òª×¢ÒâµÄÊÇ£¬²»ÒªÇáÒ×°´¡°È·¶¨¡±°´Å¥£¬ÐµÄÉèÖÃÇëÏÈ¡°²âÊÔ¡±¡£Èç¹ûÉèÖò»Í×µ±£¬Ò»¶¨²»Òª¡°È·¶¨¡±¡£Õâ¸ö°æ±¾µÄºìÆìLinuxûÓÐÌṩÃüÁîÐÐϽøÐÐÏÔʾÉèÖõŤ¾ß£¬Ò»µ©ÔÒ¹ø²¹¾È¹ý³Ì½«·Ç³£Âé·³¡£
ÄãµÄÊó±êÄÜÓÃô£¿²»ÄܵĻ°£¬ÇëÓüüÅ̲Ù×÷£¬Êó±êÎÊÌâµ½ÏÂÒ»½Ú²ÅÄܽâ¾ö¡£¡°Tab¡±¼üÄܹ»Çл»½¹µã(»òÕ߽вÙ×÷λÖÃ)¡£°Ñ½¹µãÒƶ¯µ½ÄãÐèÒªµÄµØ·½¡£Èç¹ûÒƶ¯µ½°´Å¥ÉÏ£¬Óÿոñ¼ü¿É¡°°´¡±Õâ¸ö°´Å¥£»ÏÂÀ²Ëµ¥ÉÏ£¬¿Õ¸ñ¼üÄܰѲ˵¥À³öÀ´£¬ÓÃÉÏϼýÍ·¼üÑ¡Ôñ£¬ÔÙÓÿոñ¼üÈ·ÈÏ£»×óÓÒ·½ÏòµÄ»¬¶¯Ìõ£¬ÓÃ×óÓÒ¼ýÍ·¼üµ÷Õû¡£
ÏÔʾÉèÖÃÍê³Éºó»á×Ô¶¯×ªµ½ÔËÐ춱ð5£¬¼´´ÓµÇ¼µ½×¢Ïú¶¼´øͼÐνçÃæµÄ״̬¡£µÇ¼ϵͳʱÕʺÅ/Óû§ÃûÓá°root¡±£¬¿ÚÁî/ÃÜÂëÓÃÄãÔÚ°²×°Ê±ÉèÖõÄÄǸö¡£Èç¹ûÊó±ê²»ÄÜÓ㬰´¸Õ²ÅµÄ°ì·¨°Ñ½¹µãÇл»µ½ÊäÈë¿ò£¬ÊäÈ룬ÔÙÇл»µ½¶ÔÓ¦µÄ°´Å¥¡£¡°root¡±ÊÇϵͳ¹ÜÀíÔ±Õʺţ¬ÓµÓÐϵͳ×î¸ßȨÏÞ£¬ÄܹÜÀíϵͳ£¬¸üÉó¤»Ù»µÏµÍ³£¬Îñ±ØСÐÄʹÓá£
1.4.2 ÃüÁîÐкÍÊó±ê
ÊÔÊÔ¡°Alt¡±¼ü¼Ó¡°F2¡±¼ü¡£ÔÚ×ÀÃæÉϳöÏÖµÄС´°¿ÚÀïÊäÈë¡°rxvt¡±->ÔËÐС£±ðÊäÒýºÅ¡£»¹Òª×¢Ò⣬LinuxϵͳÑϸñÇø·Ö´óСд¡£
¶Ô£¬³öÀ´Ò»¸öÃüÁîÐУ¬Äã¿ÉÒÔÓÃÃüÁî¡°exit¡±Í˳ö£¬Ò²¿ÉÒÔÓô°¿ÚµÄ²æ²æ¹Øµô¡£ÓÃLinux¾ÍÀë²»¿ªÃüÁîÐС£ÄãÒ²¿ÉÒÔ´Ó¡°¿ªÊ¼¡±²Ëµ¥->¡°Ó¦ÓóÌÐò¡±ÀïÕÒµ½Ëü£¬ËüÔÚÄÇÀï½Ð¡°Öնˡ±¡£
±ð·¢¶¶£¬ÃüÁîÐв»¿ÉÅ£¬¶àÓü¸´Î£¬ËüÄÜ°ÑÐí¶àÊÂÇé±äµÃ¼òµ¥¡£Äã»á·¢ÏÖWindow$Ô×°µÄÃüÁîÐÐÊǶàôµÄÈõÖÇ¡£
Èç¹ûÄãµÄÊó±ê²»ÄÜÓûò²»ºÃÓã¬ÇëÏȼì²éÄãµÄÊó±êÊÇʲô½Ó¿Ú£¬²åºÃûÓС£Ôٴοª¡°Öնˡ±£¬Ö´ÐÐÃüÁî¡°setup¡±£¬ÓÃÉÏϼýÍ·¼üÑ¡¡°Mouse configuration¡±£¬°´ÕÕÄãµÄʵ¼ÊÇé¿öÅäÖÃÊó±ê¡£¡°Tab¡±¼üÈÔÈ»ÊÇÇл»½¹µã£¬¿Õ¸ñ¼üÈÔÈ»ÊÇÈ·ÈÏ¡£Èç¹ûÄãµÄÊó±êÖ»ÓÐÁ½¸ö¼ü£¬Çë°ÑÕâ¸öÑ¡ÉÏ£º¡°[ ] Ä£ÄâÈý¼üÂ𣿡±
1.4.3 Ìí¼ÓÓû§
ÈçÇ°ËùÊö£¬¡°root¡±ÊǸöΣÏÕµÄÕʺţ¬¼´Ê¹ËüÂäÈëÄãÉÏÆ̵ÄÐÖµÜÊÖÀﶼÊDz»Ó¦¸ÃµÄ¡£²»µ«µÇ¼ÊäÈë¿ÚÁîµÄʱºòҪСÐÄ£¬¿ÚÁîÒ²²»Ó¦¸ÃÈÝÒ×Æƽ⡣Èç¹ûÄãÈÏΪ°²×°Ê±É趨µÄ¿ÚÁî²»°²È«»òÕßÈÃÄã²»Êæ·þ£¬¸Ä°É¡£ÊÔÊÔ£¬¾ÍÓá°Öնˡ±¡£
ÉèÖÿÚÁîµÄÃüÁîΪ¡°passwd¡±£¬²»´øÈκβÎÊýµÄ»°£¬¾ÍÊÇÐ޸ĵ±Ç°ÄãÏÖÔÚËùÓÃÕʺŵĿÚÁî¡£
ÏÈÊäÈë¾É¿ÚÁ»Ø³µ¡£ÍüÁË£¿¡°´óÏÀÇëÖØÐÂÀ´¹ý¡±¡£
¾É¿ÚÁîÕýÈ·ÊäÈëºó£¬ÊäÈëпÚÁÔٻسµ¡£Èç¹ûÓÐʲôÎÊÌ⣬»áÌáʾµÄ¡£
ÔÙ´ÎÊäÈëпÚÁî×÷ΪȷÈÏ£¬»¹»Ø³µ£¬Èç¹ûÁ½´ÎпÚÁîÏà·û£¬¾ÍOKÁË¡£
×¢Ò⣬³öÓÚ°²È«¿¼ÂÇ£¬ÔÚ¡°passwd¡±ÃüÁîÖУ¬ÄãµÄÊäÈ붼²»»áÏÔʾ³öÀ´£¬Êä¶ÔÊä´í£¬Ö»ÓÐÄãºÍLinuxÖªµÀ¡£
³ýÁË×ö±ØÒªµÄϵͳ¹ÜÀíÍ⣬¼´Ê¹ÊÇÄ㣬Ҳ²»Ó¦µ±×ÜÊÇʹÓÃÕâ¸öÕʺš£ÇëÖØд´½¨Ò»¸ö»òһЩÕʺţ¬°üÀ¨ÄãƽʱÓõġ£
»¹Óá°Öնˡ±¡£ÃüÁîΪ¡°useradd ÄãÒª¼ÓµÄÕʺš±¡£Ò»¸öÕʺžÍÌí¼ÓÍê±ÏÁË¡£ÃüÁî¡°passwd Õʺš±ÊÇÐÞ¸ÄÕâ¸öÕʺŵĿÚÁִÐÐʱʱÊäÁ½´ÎпÚÁî¡£OK£¬Õâ¸öÕʺÅÄÜÓÃÁË¡£Çë×¢Ïú£¬ÊÔÊÔÓÃÐÂÕʺŵǼ¡£
ÓÃÐÂÕʺŵǼºó£¬ÔÙ´ò¿ª¡°Öնˡ±¡£ÓÃÓüüÅ̵ÄÉÏϼýÍ·¡£ÕÒ²»µ½¸Õ²ÅµÄÃüÁÕý³£¡£ËüÖ»¼Ç¼Õâ¸öÕʺŵÄÃüÁî¡£
ÖÁ´Ë£¬LinuxµÄ°²×°ºÍ×î»ù±¾ÉèÖÃÒѾÍê³É¡£×¢Ò⣬LinuxÏ£¬Ã»Óгä·ÖµÄÀíÓɲ»ÒªÓ²¹Ø»ú¡£
2 »ù±¾µ÷У
°æ±¾£º2004-06-18-02
ÄãÏÖÔÚÄÜÔÚLinuxÏÂÌý¸è¡¢ÉÏÍøÂð£¿ÓÃÆðÀ´Ë³ÊÖÂð£¿ÄÄÀﲻ˳ÊÖ£¿Çë¼ÌÐø¿´¡£
2.2 ÍøÂç
×ÊÁϲ鲻ÁËÈí¼þϲ»ÁË£¬Ã»ÓÐÍøÂ磬¼ÆËã»úÊDz»ÍêÕûµÄ¡£
2.2.1 É豸
ÄÚÖõ÷Öƽâµ÷Æ÷ºÍÍø¿¨ÔÚ¡°¿ØÖÆÃæ°å¡±ÀïÉèÖá£Èç¹û×ÀÃæÉϵġ°¿ØÖÆÃæ°å¡±´ò²»¿ª£¬Çë¡°ÎҵĵçÄÔ¡±->¡°¿ØÖÆÃæ°å¡±¡£Íø¿¨Ò»°ã¶¼ÄÜÇý¶¯£¬ÄÚÖõ÷Öƽâµ÷Æ÷¾ÍµÃÅöÔËÆøÁË£¬ÒòΪÏÖÔÚÐí¶àµ÷Öƽâµ÷Æ÷¶¼ÊÇרßøWindow$Óõġ£Èç¹ûÄãÒ»¶¨ÒªÔÚLinuxÏÂÓõ绰²¦ºÅÉÏÍø£¬¶øÄãµÄÄÚÖõ÷Öƽâµ÷Æ÷ÎÞ·¨ÔÚLinuxÏÂʹÓã¬ÇëÓÃÍâÖô®¿Úµ÷Öƽâµ÷Æ÷£¬ËüÊDZê×¼É豸£¬ÎÞÐëרÃÅÇý¶¯¡£
USB½Ó¿ÚµÄÍøÂçÉ豸£¬ÇëÕÒ¸ÃÉ豸ÔÚLinuxϵÄʹÓÃ˵Ã÷¡£
2.2.2 É豸OK£¬×¼±¸ÉÏÍø
2.2.2.1 ·ÓÉ·½Ê½
Èç¹ûÄãͨ¹ý¾ÖÓòÍøÖеÄ·ÓÉÆ÷»ò³äµ±Â·ÓÉÆ÷µÄ¼ÆËã»úÉÏÍø£¬Çë°ÑÍø¹ØÉèÖÃΪÄÇ̨·ÓÉÆ÷µÄIPµØÖ·¡£ÖØÐÂÆô¶¯ÍøÂ粿·Ö£¬»òÕßÏ´οª»ú£¬ÄãÒѾÔÚÍøÉÏ¡£
2.2.2.2 ²¦ºÅ
Èç¹ûÄãÓõ绰²¦ºÅ¡¢ISDN¡¢xDSL»òÒÔÌ«ÍøÐéÄⲦºÅ·½Ê½ÉÏÍø£¬ÇëÓá°¿ªÊ¼¡±²Ëµ¥->¡°ÍøÂ硱->¡°²¦ºÅ³ÌÐò¡±´´½¨Á¬½Ó¡£Õâ¸ö²¦ºÅ³ÌÐòÊÇ¡°Öйشå°ÙУÐÅÏ¢Ô°¡±³öµÄ£¬¸÷²½Ö趼ÓÐÖÐÎÄÌáʾ¡£
2.2.2.3 ¿ª»úÖ±½Ó²¦ºÅ
Èç¹ûÄãÓÃLANÐéÄⲦºÅ/xDSL·½Ê½ÉÏÍø£¬ÓÃÔÂ×ⷽʽ¶ø²»ÒÔ·ÖÖÓ¡¢Ð¡Ê±¼Æʱ£¬Äã¿ÉÒÔ½«²¦ºÅ³ÌÐòÉèÖÃΪ¿ª»úÆÚ¼äÒ»Ö±ÔÚÏß¡£
ÒÔ¡°root¡±Éí·ÝµÇ¼ϵͳ£¬´ò¿ª¡°Öնˡ±£¬Ö´ÐС°adsl-setup¡±¡£¹ý³ÌÖÐÆÁÄ»ÏÔʾ¡¢×¢ÊͺÍÓû§ÊäÈëÈçÏ£¬ÆäÖдø¡°[]¡±µÄÏîÓÉÄãÊäÈ룬ÓÉ¡°#¡±¿ªÍ·µÄÐÐΪÎÒÌí¼ÓµÄ×¢ÊÍ¡£
#ÀïÃæµÄÓ¢ÎĶ¼²»ÄÑ¡£ÒòΪÎÒµÄÁ¬½ÓÒѾÅäÖúã¬ÏÂÃæµÄÏÔʾ¿ÉÄÜÓëµÚÒ»´ÎÅäÖÃÓÐËù²»Í¬¡£µ«Ò²²»»áÏà²î¶àÉÙ¡£
shale ÓÚ 2006-07-24 11:51:53·¢±í:
¶¥
tung ÓÚ 2006-05-24 15:30:59·¢±í:
Ö§³Ö
wxhass ÓÚ 2006-04-08 20:22:41·¢±í:
»¶Ó¼ÓÈëLINUXȺ 19852024 ½øÐй²Í¬½»Á÷
À¶±¦Ê¯ ÓÚ 2006-04-04 19:47:53·¢±í:
ºÃÎÄÕ£¬²»´í£¬ÖµµÃѧϰ
lcwdzl520 ÓÚ 2006-04-01 02:27:00·¢±í:
ding ~!~~~¶¥
Á÷À˵ķç ÓÚ 2006-03-25 09:25:54·¢±í:
²»´í°¡£¡
ÖµµÃѧϰ°¡£¡
redapp ÓÚ 2005-12-01 13:44:13·¢±í:
¶¥Ò»¶¥
chen ÓÚ 2005-10-12 00:37:53·¢±í:
ºÃÎÄÕ£¬¶¥
root ÓÚ 2005-09-29 16:25:23·¢±í:
²»´íµÄ¶«¶«£¬Ö§³Ö
CMK ÓÚ 2005-09-13 00:24:00·¢±í:
ºÃ¶à£¬Ö§³Ö
reing ÓÚ 2005-08-31 09:10:53·¢±í:
Ö§³Ö
love601 ÓÚ 2005-08-09 23:09:20·¢±í:
ÇëÎÊÄÇλ´ó¸ç´ó½ãÓкìÆìÈÏÖ¤µÄÌâÄ¿°¡!ÀúÄêµÄÒ²¿ÉÒÔ°¡
»ð ÓÚ 2005-08-05 00:14:41·¢±í:
Ö§³Ö
Ììʹ ÓÚ 2005-05-27 01:20:03·¢±í:
ºÃÎÄÕ£¬¶¥
·ÇÄã²»Òª ÓÚ 2005-05-04 10:27:08·¢±í:
4.2.2 ÆäËûÖ÷Òª¸ñʽ
4.2.2.1 ³õ²½´¦Àí
*.gz£º
³£¼ûµÄѹËõ¸ñʽ¡£¡°gunzip xxxxxxxxx.gz¡±¡£×ÀÃæ»·¾³ÍùÍù´øÓÐͼÐλ¯½âѹ¹¤¾ß£¬ÓÃÊó±êµãµã£¬²»³ÉÔÙÓÃÃüÁî¡£
*.tgz£º
³£¼ûtar¹éµµ¼ÓgzipѹËõ¸ñʽ¡£Ö»½â³Étar¹éµµÎļþÓá°gunzip xxxxxxxxx.tgz¡±£¬ÍêÈ«½â¿ªÓá°tar zxvf xxxxxxxxx.tgz¡±¡£×ÀÃæ»·¾³ÍùÍù´øÓÐͼÐλ¯½âѹ¹¤¾ß£¬ÓÃÊó±êµãµã£¬²»³ÉÔÙÓÃÃüÁî¡£
*.tbz£º
³£¼ûtar¹éµµ¼ÓgzipѹËõ¸ñʽ¡£ÍêÈ«½â¿ªÓá°tar jxvf xxxxxxxxx.tbz¡±¡£×ÀÃæ»·¾³ÍùÍù´øÓÐͼÐλ¯½âѹ¹¤¾ß£¬ÓÃÊó±êµãµã£¬²»³ÉÔÙÓÃÃüÁî¡£
*.tar£º
tar¹éµµÎļþ£¬½âѹÃüÁîΪ¡°tar xvf xxxxxxxxx.tar¡±¡£×ÀÃæ»·¾³ÍùÍù´øÓÐͼÐλ¯½âѹ¹¤¾ß£¬ÓÃÊó±êµãµã£¬²»³ÉÔÙÓÃÃüÁî¡£
*.bin£º
ûʲôºÃ˵µÄÁË£¬Ö±½ÓÖ´Ðаɡ£
4.2.2.2 °²×°¶þ½øÖÆÈí¼þ°ü
ÏÂÔصÄÈí¼þ°ü£¬½âѹËõºÍ·´¹éµµºó£¬¿´¿´ÀïÃæµÄ˵Ã÷Îĵµ£¬Ö÷ÒªÊÇÄǸö¡°readme¡±£¬ÀïÃæÒ»°ã»á°²×°ËµÃ÷¡£ÕÕ×Å×ö¡£Èç¹ûÖ»ÊÇÒ»¸ö¡°xxxxxxxxx.bin¡±£¬¾ÍÖ±½ÓÖ´Ðаɣ¬Ö»ÊÇ×¢Òâһϣ¬Äã¿ÉÄÜÐèÒª×Ô¼º°ÑȨÏÞ¸ÄΪ¿ÉÖ´ÐС£
4.2.2.3 °²×°Ô´´úÂë°ü
±¾»ú±àÒë³öÀ´µÄÈí¼þÔÚ±¾»ú¾ßÓÐ×îºÃµÄÖ´ÐÐЧÂÊ£¬Ò²Äܾ¡Á¿¼õÉÙÈí¼þ³åÍ»£¬Ô´´úÂë°üµÄÌå»ýÒ²±È¶þ½øÖÆ°üСÐí¶à£¬ËùÒÔ¸ü¶àµÄÈí¼þ¶¼ÒÔÔ´´úÂëÐÎʽ·¢²¼¡£
½âѹËõºÍ·´¹éµµºó£¬ä¯ÀÀÒ»ÏÂÈí¼þ°üµÄĿ¼£¬ÕÒÕÒ˵Ã÷Îĵµ¡£Èç¹ûûÓÐÌØÊâ×¢ÒâÊÂÏ¾Í¿´¿´ÄĸöĿ¼ÀïÓС°configure¡±Õâ¸öÎļþ¡£
´ÓÖÕ¶ËÃüÁîÐнøÈëÓС°configure¡±µÄĿ¼£¬×¼±¸°²×°¡£
ÏÈ×öÅäÖá£Ö´ÐС°./configure¡±£¬ÕâÊǸö±àÒëÔ¤´¦Àí½Å±¾£¬Ëü»á×Ô¶¯¼ì²é²Ù×÷ϵͳ¡¢±àÒëÆ÷¡¢¿âµÈ¶«Î÷£¬Éú³ÉÕýʽµÄ±àÒë½Å±¾¡£¡°configure¡± ÓÐÐí¶àÑ¡Ï¿ÉÒÔÓÃÀ´Ö¸¶¨±àÒëÆ÷¡¢ËùÐèµÄ¿âµÈ£¬ÆäÖÐÒ»¸öÊÇ¡° prefix=¡±£¬ÓÃÀ´Ö¸¶¨Èí¼þµÄ°²×°Î»Öã¬Ó÷¨Îª¡°./configure Ñ¡Ïî1 Ñ¡Ïî2 ¡¡ prefix=°²×°Â·¾¶ ¡¡ Ñ¡Ïîn¡±¡£Ã»ÓÐÌØÊâÐèÒªµÄ»°£¬Ö»Óá° prefix=¡±Ñ¡Ïî¼´¿É¡£
ÔÙ±àÒë¡£µ±È»²»ÐèÒªÄãÒ»¸öÒ»¸öÎļþ×Ô¼ºÈ¥ÊÖ¶¯±àÒë¡£UNIXÀàϵͳÔç¾ÍÓд¦ÀíÕâЩ¡°²»ÊÇÈË×öµÄÊÂÇ顱µÄ°ì·¨ÁË£¬Ò»¸ö¹¦ÄÜÇ¿´óµÄά»¤¹¤¾ß¡°make¡±»á°´ÕÕ¡°configure¡±Éú³ÉµÄ½Å±¾×Ô¶¯´¦Àí¡£Ö»ÐèÒªÖ´ÐС°make¡±¼´¿É¡£
×îºó°²×°¡£ÃüÁî¡°make install¡±£¬°ÑÈí¼þ°²×°µ½ÄãÏÈÇ°Ö¸¶¨µÄµØ·½¡£½ö½ö±È°²×°Window$Èí¼þ¶à³ö±àÒëÒ»²½¡£
ÎÒÒ»°ã»á×Ô¼ºÐ´Ò»¸öСµÄ½Å±¾£¬ÄÚÈÝÈçÏ£º
./configure prefix=xxxxxxxxx>../conf_log.txt 2>conf_err.txt
make>../make_log.txt 2>../make_err.txt
make install>../install_log.txt 2>../install_err.txt
init 0
µÚÒ»ÐУ¬ÅäÖ㬰ÑÅäÖùý³ÌÖиÃÏÔʾµÄ¶«Î÷´òµ½Éϼ¶Ä¿Â¼ÖеÄÎļþ¡°conf_log.txt¡± £¬´íÎóÌáʾ½ø¡°conf_err.txt¡±¡£
µÚ¶þÐУ¬±àÒ룬ͬÑù°ÑÆÁÄ»Õý³£ÏÔʾºÍ´íÎóÌáʾдÈë¼Ç¼Îļþ¡£
µÚÈýÐУ¬°²×°£¬»¹°ÑÆÁÄ»Õý³£ÏÔʾºÍ´íÎóÌáʾдÈë¼Ç¼Îļþ¡£
µÚËÄÐУ¬¸ã¶¨¾Í¸øÎҹػú¡£Èí¼þ´óÒ»µã£¬»òÕß»ú×Ó¾ÉÒ»µã£¬±àÒëʱ¼ä¶¼±È½Ï³¤£¬Ò»°ãÍíÉÏÁÙ˯¾õ×ö£¬½Å±¾Ò»ÔËÐÐÎҾ͹ØÏÔʾÆ÷£¬Ë¯¾õÈ¥£¬µÚ¶þÌì¿´×°ºÃûÓУ¬Ã»ºÃ¾Í¿ª¼Ç¼Îļþ¡£µ±È»£¬Èç¹û²»ÊÇÁÙ˯£¬ÄãÒ²¿ÉÒÔ²»Òª¹Ø»úÕâÐУ¬¾¡¿ÉÒÔ×ö±ðµÄÊÂÇ飬×ÜÖ®²»±Ø¸ÉµÈ¡£
4.3 ÔËÐÐÈí¼þ
4.3.1 ÎÒµÄÈí¼þÔÚÄÄÀ
¹À¼ÆÄãÖ÷ÒªÊÇÏëÖªµÀÄã×°µÄÈí¼þÈçºÎÆô¶¯£¬Æô¶¯ÓõĿÉÖ´ÐÐÎļþÔÚÄÄÀï¡£
¶ÔÓÚRPM°ü£¬ËüÃǵĿÉÖ´ÐÐÎļþÒ»°ã¿ÉÒÔÈ¥¡°/bin¡±¡¢¡°/sbin¡±¡¢¡°/usr/bin¡±ºÍ¡°/usr/sbin¡±ÕÒ¡£µ±È»£¬RPMÒ²ÓÐÔ´´úÂë°ü£¬ÎļþÃûÀïÍùÍùÓС°src¡±×ÖÑù£¬»òÕßÒÔ¡°.srpm¡±Îªºó׺£¬ÄǸö¿ÉÖ´ÐÐÎļþ¾Í²»ÔÚ³£¹æλÖÃÁË¡£È¥¡°/usr/src¡±ÕÒ°É£¬È»ºó°´Ô´´úÂë°üµÄ·½Ê½´¦Àí¡£ÃüÁî¡°rpm -qpl xxxxxxxx.rpm¡±»ò¡°rpm -qpl xxxxxxxxx.srpm¡±Äܲ鿴Õâ¸öÈí¼þ°üÀïµÄ¸÷ÖÖÎļþ»á°²·Åµ½ÏµÍ³µÄʲôµØ·½¡£ÔÚ×ÀÃæ»·¾³ÀïÒ²¿ÉÒÔÓÃRPMÈí¼þ°ü¹ÜÀíÆ÷²é¿´¡£
ÆäËûµÄ¶þ½øÖÆÈí¼þ°ü£¬°²×°ÔÚÄÄÀï¾ÍÈ¥ÄÄÀïÕÒ£¬Æä¿ÉÖ´ÐÐÎļþÒ»°ãÔÚÈí¼þĿ¼Ïµġ°bin¡±Ä¿Â¼Àï¡£ÓÃÔ´´úÂë°ü°²×°µÄÈí¼þÒ²²î²»¶à¡£Èç¹ûÅäÖÃʱû¼Ó¡° prefix=¡±Ñ¡Ïһ°ã¡°/usr/local¡±»á±»µ±×÷°²×°Ä¿Â¼£¬¿ÉÖ´ÐÐÎļþÇëµ½¡°/usr/local/bin¡±ÀïÕÒ¡£
4.3.2 Èí¼þÅÜÆðÀ´
Èç¹û¿ÉÖ´ÐÐÎļþÔÚ¡°/bin¡±¡¢¡°/sbin¡±¡¢¡°/usr/bin¡±¡¢¡°/usr/sbin¡±¡¢¡°/usr/local/bin¡±µÈ±ê׼λÖã¬ÔÚÖÕ¶ËÃüÁîÐÐÊäÈë¸ÃÈí¼þ¿ÉÖ´ÐÐÎļþµÄÎļþÃûºÍ²ÎÊý(Èç¹ûÐèÒª²ÎÊý)£¬»Ø³µ¼´¿É¡£
Èç¹û²»ÔÚ±ê׼λÖã¬ÎļþÃûÇ°ÃæÐèÒª¼ÓÉÏÍêÕûµÄ·¾¶¡£²»¹ýÿ´Î¶¼ÕâÑùÅܾÍÌ«Âé·³ÁË£¬Ò»¸ö¡°Ò»ÀÍÓÀÒÝ¡±µÄ°ì·¨ÊÇ°ÑÕâ¸ö·¾¶¼ÓÈë»·¾³±äÁ¿¡£ÃüÁî¡°PATH=$ PATH:·¾¶¡±¿ÉÒÔ°ÑÕâ¸ö·¾¶¼ÓÈë»·¾³±äÁ¿£¬µ«ÊÇÍ˳öÕâ¸öÃüÁîÐоÍʧЧÁË¡£ÒªÏëÓÀ¾ÃÉúЧ£¬ÐèÒª°ÑÕâÐÐÌí¼Óµ½»·¾³±äÁ¿ÎļþÀï¡£ÓÐÁ½¸öÎļþ¿ÉÑ¡£º ¡°/etc/profile¡±ºÍÓû§Ö÷Ŀ¼Ïµġ°.bash_profile¡±£¬¡°/etc/profile¡±¶ÔϵͳÀïËùÓÐÓû§¶¼ÓÐЧ£¬Óû§Ö÷Ŀ¼Ï嵀 ¡°.bash_profile¡±Ö»¶ÔÕâ¸öÓû§ÓÐЧ¡£
¡°PATH=$PATH:·¾¶1:·¾¶2:¡¡:·¾¶n¡±£¬Òâ˼ÊÇ¿ÉÖ´ÐÐÎļþµÄ·¾¶°üÀ¨ÔÏÈÉ趨µÄ·¾¶£¬Ò²°üÀ¨´Ó¡°Â·¾¶1¡±µ½¡°Â·¾¶n¡±µÄËùÓз¾¶¡£µ±Óû§ÊäÈëÒ»¸öÒ»´®×Ö·û²¢°´»Ø³µºó£¬shell»áÒÀ´ÎÔÚÕâЩ·¾¶ÀïÕÒ¶ÔÓ¦µÄ¿ÉÖ´ÐÐÎļþ²¢½»¸øϵͳºËÐÄÖ´ÐС£ÄǸö¡°$PATH¡±±íʾÔÏÈÉ趨µÄ·¾¶ÈÔÈ»ÓÐЧ£¬×¢ÒⲻҪ©µô¡£Ä³Ð©Èí¼þ¿ÉÄÜ»¹ÓС°PATH¡±ÒÔÍâÀàÐ͵Ļ·¾³±äÁ¿ÐèÒªÌí¼Ó£¬µ«·½·¨Óë´ËÏàͬ£¬²¢ÇÒÒ²ÐèҪעÒâ¡°$¡±¡£
×¢Ò⣬ÓëDOS/Window$²»Í¬£¬UNIXÀàϵͳ»·¾³±äÁ¿Öз¾¶ÃûÓÃðºÅ·Ö¸ô£¬²»ÊǷֺš£ÁíÍ⣬Èí¼þÔ½×°Ô½¶à£¬»·¾³±äÁ¿Ô½ÌíÔ½¶à£¬ÎªÁ˱ÜÃâÔì³É»ìÂÒ£¬½¨ÒéËùÓÐÓï¾ä¶¼Ìí¼ÓÔÚÎļþ½á⣬°´Èí¼þµÄ°²×°Ë³ÐòÌí¼Ó£¬¸ñʽÈçÏÂ()£º
########################################
# Èí¼þÃû-°æ±¾ºÅ
PATH=$PATH:·¾¶1:·¾¶2:¡¡:·¾¶n
ÆäËû»·¾³±äÁ¿=$ÆäËû»·¾³±äÁ¿:¡¡
########################################
ÔÚ¡°profile¡±ºÍ¡°.bash_profile¡±ÖУ¬¡°#¡±ÊÇ×¢ÊÍ·ûºÅ£¬Ð´ÔÚÕâÀï³ýÁËÊÓ¾õ·Ö¸ôÍâûÓÐÈκÎЧ¹û¡£
·ÇÄã²»Òª ÓÚ 2005-05-04 10:26:19·¢±í:
2.5 ½çÃæ¡¢²Ù×÷¡¢×ÀÃæ¡¢±³¾°
°¥£¿Õâ×ÀÃæҲûÓд«ËµÖеÄÄÇôPP°¡£¬×ÀÃæǽֽÄÇôË×£¬´°¿ÚÒ²ÊǷ²åƨµÄ¡¡
±ð±§Ô¹Õâ¸ö£¬LinuxµÄͼÐνçÃæûÓÐÕûÆë»®Ò»µÄ¹æ¶¨£¬Ö»ÒªÄ㹤·òµ½¼Ò£¬ÏëÈÃËüʲôÑù¾ÍÊÇʲôÑù¡£¹¤·ò²»µ½Ò²ÎÞ·Á¡£
½çÃ治ˬ£¿¡°ÎҵĵçÄÔ¡±->¡°¿ØÖÆÃæ°å¡±->¡°¹Û¸ÐÅäÖᱡ£
Ë«»÷Ïë¸Äµ¥»÷£¿¡°ÎҵĵçÄÔ¡±->¡°¿ØÖÆÃæ°å¡±->¡°Êó±ê¡±¡£
´°¿Ú¿ª¶àÁË£¬ÂÒ²»ÂÒ£¿ÓÒ¼üµã×ÀÃæ->¡°ÅäÖÃ×ÀÃ桱£¬Ä㾡¿ÉÒÔÉèÖöà¸ö×ÀÃæ¡£
ǽֽĬÈÏ°²ÖÃÔÚ¡°/usr/share/wallpalers¡±¡£Äã¿ÉÒÔ°Ñ¡°wallpapers¡±Ä¿Â¼Òƶ¯µ½Window$/DOS·ÖÇø£¬ÔÙ°ÑËüÁ´½Ó»Ø ¡°/usr/share¡±£¬Õâ¸öǽֽĿ¼ÈÔÈ»ÓÐЧ¡£°ÑÄãËùÓеÄǽֽ£¬²»¹ÜLinux×Ô´øµÄ»¹ÊÇÄã×Ô¼ºÊÕ¼¯µÄ£¬¶¼·Å½øÈ¥£¬ÕâÑùÄãµÄÒ»Ì×ǽֽÄܹ¤¶à¸öϵͳʹÓã¡
ˬºõ£¿
µ½´ËΪֹ£¬ÏµÍ³µÄ»ù±¾µ÷У¾Í²î²»¶àÁË¡£
3 ¸ü¶àÁ˽â
°æ±¾£º2004-06-23-01
ÒÔÏÂһЩ¶«Î÷ÓбØÒªÁ˽⡣Èç¹û¾õµÃ¿ÝÔÄã¿ÉÒÔÔÝʱÌø¹ý¡£ÒÔºóÈç¹ûÅöµ½ÎÊÌ⣬ÔÚÄã´ó·Ñ¸É¸ê֮ǰ£¬¿ÉÒÔÏÈÀ´ÕâÀï¿´¿´¡£
3.1 »ù±¾¸ÅÄî²¹³ä
3.1.1 ×ÔÓÉÈí¼þ
´ó¶àÊýÉÌÒµÈí¼þ¶¼ÊÇ˽ÓÐÈí¼þ(ÉÙÐí£¬±ÈÈçGNU AdaÊÇ×ÔÓÉÈí¼þ£¬µ«Ò²ÊÇÉÌÒµÈí¼þ£¬ÎÒ²»°Ñ»°ËµËÀ)¡£ÇëÏÈ»ØÒäÒ»ÏÂÄãËù°²×°µÄ´ó¶àÊýWindow$Èí¼þ£¬ÏëÏëËüÃǵİæȨÐÒ飺²»ÔÊÐíÐ޸ģ¬²»ÔÊÐí˽×Ô´«²¥£¬ÉõÖÁÒª°´Á¬½Óµ½Õâ¸öÈí¼þµÄ¿Í»§¶ËÊýÄ¿¸¶·Ñ£¬¸ü±ðÖ¸ÍûµÃµ½ËüµÄÔ´´úÂë½øÐÐÑо¿Ñ§Ï°ÁË¡£Ò»¿î˽ÓÐÈí¼þÈÃÄãµÄϵͳ³öÁË벡£¬ÄãËðʧ²ÒÖØ£¬È´²»Äܵõ½ÈκÎʵ¼ÊµÄµ£±££¬Ò²²»ÄÜŪÇå³þÎÊÌâµ½µ×³öÔÚÄÄÀï´Ó¶ø×Ô¼º»òÕÒÈËÐÞÕýBug¡£Äã¿ÉÒÔ4¿éÇ®µ½µØ̯ÉÏÂò£¬¾¡¹ÜÎÒÓÐʱҲÕâô×ö£¬µ«ÊÇÕâÈ´ÊÇÎ¥·¨µÄ¡£
×ÔÓÉÈí¼þÊÇÖ¸ÔÊÐíÈκÎÈËʹÓᢿ½±´¡¢Ð޸ġ¢·Ö·¢(Ãâ·Ñ/ÉÙÐíÊÕ·Ñ)µÄÈí¼þ¡£×îÖØÒªµÄÊÇ£¬ÕâÖÖÈí¼þµÄÔ´´úÂë±ØÐëÊǿɵõ½µÄ¡£×ÔÓÉÈí¼þ°ïÖúÎÒÃǵ߸²ÁË¡°µÁ°æ¡±µÄ¸ÅÄʹµÃËùÓеÄÈí¼þÓû§°ÚÍÑÉÙÊý¹«Ë¾Ç¿¼Ó¸øÎÒÃǵÄÔ××ÔÓÉÈí¼þʹÎÒÃÇÓµÓÐÁËÓ뢶ÏÕßÌÖ¼Û»¹¼ÛµÄÄÜÁ¦£¬Ëü»¹¸øÁËÎÒÃÇ¿½±´µÄ×ÔÓÉ£¬·ÖÏíµÄ×ÔÓÉ£¬Ñ§Ï°µÄ×ÔÓÉ¡£
3.1.2 GNU
GNU£¬×ÔÓÉÈí¼þ»ù½ðϵÄÒ»¸öÏîÄ¿£¬È«³ÆΪ GNU´s Not UNIX £¬Ö¼ÔÚ´´½¨Ò»Ì××ÔÓɵÄÀàUNIXϵͳ¡£GNUÏîÄ¿¿ª·¢³öÁËÐí¶à×ÔÓÉÈí¼þ£¬ÄÜÔÚÐí¶àUNIXϵͳÉÏÅܵ÷dz£ºÃ¡£³ýÁËϵͳºËÐÄÒÔÍ⣬ÕâЩÈí¼þ¼¸ºõÄܹ»¹¹³ÉÒ»Ì×ÍêÕûµÄÀàUNIXϵͳ¡£GNUϵͳµÄ¹Ù·½ºËÐÄÊÇHurd£¬Ò»ÖÖ¼¼ÊõºÜÏȽøµÄºËÐÄ£¬µ«Ò²ÒòΪÆäÏȽøÐÔ£¬Ò²ÒòΪÆäÊÔͼ²»¶ÏÕûºÏм¼Êõ£¬ÖÁ½ñÉÐδÍƳö¿É¹ã·ºÓ¦Óõİ汾¡£ÕýÔÚGNUϵͳΪÎÞ¡°ÐÄ¡±¶ø¿àÄÕʱ£¬Linux³öÏÖÁË¡£LinuxµÄ×÷Õß½«ÆäÄÉÈëÁËGNU°æȨÐÒéÖС£ËäÈ»²»Êǹٷ½ºËÐÄ£¬µ«ÊÇÒ²ÊÇ×ÔÓÉÈí¼þ£¬Òò´ËÔÚHurdÍê³ÉÇ°£¬GNUÏîÄ¿¾ÍÓÐÁ˹㷺ÊÊÓõĺËÐÄ¡£
GNU×îÖøÃûµÄ°æȨÐÒéÊÇGPLºÍLGPL£¬ÕâЩÔÚÍøÉϺÜÈÝÒײ鵽¡£
3.1.3 Linux
È·ÇеØ˵£¬Linux²»ÊÇÒ»¸öÍ걸µÄ²Ù×÷ϵͳ£¬Ö»ÊDzÙ×÷ϵͳµÄºËÐÄ£¬»ù±¾ÉÏÖ»ÊǸºÔð½ø³Ìµ÷¶ÈºÍÓ²¼þ¹ÜÀí¡£Ö»ÓÐÓ¦ÓóÌÐò½Ó¿Ú£¬Ã»ÓÐÓû§½çÃæ¡£LinuxµÄ·¢²¼Ê¹ÓÃGPLÐÒ顣Ŀǰ×îÐÂϵÁÐΪLinux-2.6.x¡£
LinuxºÍÖÜΧµÄһЩ¹²Í¬Èí¼þ×é³ÉÁËÒ»¸ö¶ÔÓÚÓû§¿ÉÒÔ²Ù×÷µÄϵͳ£¬¶øƽ³£ËµµÄLinuxÒ»°ã¾ÍÊÇÖ¸Õâ¸öºËÐÄÓëÖÜΧÈí¼þµÄ¼¯ºÏ¡£±¾ÎĵµÖУ¬³ýÌرð˵Ã÷Í⣬ËùÓÐÌáµ½LinuxµÄµØ·½¾ùÖ¸ÕâÖÖ¼¯ºÏ¡£
3.1.4 ·¢Ðаæ
Linux ÌṩÁËһЩ»úÖÆ£¬Ê¹µÃʹÓÃÕßÄܹ»×ÔÓɵػñÈ¡ÆäÔ´´úÂë²¢½¨Á¢ÏµÍ³£¬È»¶øÕâÊǷdz£Âé·³µÄ¡£Ò»Ð©Èí¼þ³§ÉÌ»ò¸öÈË°ÑLinuxºËÐÄÓëijЩ³£ÓÃÈí¼þ×ö³É¼¯ºÏ¡¢½øÐнçÃæÃÀ»¯£¬²¢Ìí¼ÓÉϱȽÏÈÝÒײÙ×÷µÄ°²×°³ÌÐò£¬¾Í³ÉΪ¡°·¢Ðа桱¡£Èí¼þ³§ÉÌ¿ÉÒÔ³öÊÛ·¢Ðа棬ÒòΪ°ÑÈí¼þ¼¯³ÉÒ²ÐèÒªÈ˸¶³öÀͶ¯¡£
×¢Ò⣬·¢ÐаæµÄ°æ±¾ºÅÓëLinuxºËÐÄ°æ±¾ºÅ¼¸ºõûÓйØϵ¡£µ±È»£¬Èç¹ûͬΪһ¼Ò³§É̳öÆ·£¬²ÉÓÃ2.4Äں˵ķ¢Ðаæ°æ±¾ºÅÒ»°ã¸ßÓÚ2.2Äں˵ġ£
3.1.5 X-Window
ͼÐνçÃæÖ§³ÖÈí¼þ¡£Í¼ÐνçÃæ×î³õ²»ÊÇMicro$oft¸ã³öÀ´µÄ¡£
X- Window-SystemÊÇÒ»Ì×ΪUNIX»òÊÇÀàUNIXµÄ×÷ҵϵͳÌṩÐβÙ×÷½çÃæµÄÈí¼þ¡£X-Window?System¾ß±¸µÄÍøÂç͸Ã÷ÐÔʹËü³ÉΪ UNIXÀàƽ̨ÉϵĹ¤Òµ±ê×¼£¬ÏÖÔÚUNIXµÄ¹¤×÷Õ¾»ò´óÐÍÖ÷»ú¼¸ºõ¶¼ÄÜÔËÐÐX-Window?System£¬¶øÇÒÖ»Òª¸ù¾ÝX±ê×¼Ëù·¢Õ¹µÄÓ¦ÓóÌʽ£¬¾ù¿ÉÒÔÔÚ²»Í¬µÄ»·¾³ÏÂÖ´ÐС£
ÔçÔÚ1970Äê´ú£¬ÖÚ¼ÒµçÄÔ³§É̶ÔÓÚ¸üÓѺõÄÈË»ú½çÃ涼»¹ÔÚÃþË÷ʱºò£¬XeroxÏÂÊôµÄÑо¿ÖÐÐÄ¿ªÊ¼¶ÔͼÐλ¯Óû§½çÃæ×öһϵÁеÄÑо¿£¬ÆäÑо¿³É¹û¶ÔºóÀ´µÄX-Window¡¢Æ»¹û-Macintoshϵͳ¡¢ÉõÖÁMicro$oft-Window$Ôì³ÉÁËÏ൱ÉîÔ¶µÄÓ°Ïì¡£ 1984ÄêÃÀ¹úÂéÊ¡Àí¹¤Ñ§ÔºÓëµÏ¼ª¶àµçÄÔ¹«Ë¾ºÏ×÷£¬ÔÚUNIXϵͳÉÏ·¢Õ¹Ò»¸ö·ÖɢʽµÄÊÓ´°»·¾³£¬Õâ±ãÊÇX-Window¡£1986Ä꣬ÂéÊ¡Àí¹¤Ñ§Ôº¿ªÊ¼·¢ÐÐX-Window£¬ËæºóX-WindowºÜ¿ì¾Í³ÉΪUNIXϵͳµÄ±ê×¼ÊÓ´°»·¾³¡£Í¬Ê±Xлá³ÉÁ¢£¬ÒÔ¶©¶¨Òµ½ç±ê×¼£¬²¢¼ÌÐø·¢Õ¹X-Window¡£
X- Window-System±¾ÉíÊÇÒ»¸ö·Ç³£ÔÓµÄͼÐλ¯×÷Òµ»·¾³¡£µ±È»£¬ÒªÈÃÓû§·½±ã£¬¾ÍÖ»ÓÐ×Ô¼º¸´ÔÓÁË¡£X-Window´óÖ¿ÉÒÔ·Ö³ÉÈý¸ö²¿·Ö£¬·Ö±ðÊÇX ·þÎñÆ÷¡¢X¿Í»§¶Ë¡¢XÐÒé¡£X·þÎñÆ÷Ö÷ÒªÊÇ´¦ÀíÊäÈëÊä³öµÄѶϢ£¬X¿Í»§¶ËÊÇÖ´Ðд󲿷ÝÓ¦ÓóÌʽµÄÔËË㹦ÄÜ£¬¶øXÐÒéÔòÊǽ¨Á¢X·þÎñÆ÷ºÍX¿Í»§¶ËµÄ¹µÍ¨¹ÜµÀ¡£
´ó¶àÊýLinux·¢Ðа涼¸½´øÁËX-WindowµÄij¸ö·ÖÖ§°æ±¾¡£
×¢Ò⣬X-WindowÖ»ÊÇÒ»Ì×ÍâΧÈí¼þ£¬²¢²»ÊÇÒ»¸öÍêÕû²Ù×÷ϵͳËù±ØÐëµÄ¡£ÕýÒòΪÈç´Ë£¬Ò»°ãÇé¿öÏ£¬X-WindowÒÔ¼°ÆäÖÐÔËÐеijÌÐò³öÎÊÌâ²»»áµ¼ÖÂϵͳ±ÀÀ£¡£·´¹ÛWindow$£¬ËùÓгÌÐòËùµ÷ÓõÄͼÐνçÃ涼Óë²Ù×÷ϵͳºËÐĽôÃܾÀ²ø£¬Ò²µ¼ÖÂÁ˲Ù×÷ϵͳµÄ²»Îȶ¨¡£
3.1.6 XFree86
Ëæ×Å×ÔÓÉÈí¼þ¿ªÊ¼Á÷ÐУ¬Ò»Ð©°®ºÃÕß³ÉÁ¢ÁËXFree86¡£XFree86ÊÇÒ»¸ö·ÇÓªÀûµÄ×éÖ¯£¬Æð³õרעÔÚIntel?x86¼æÈÝϵͳÉϵķÂUNIX»·¾³Öпª·¢X-Window£¬µ«ÊÇÕâÌ×Ãâ·Ñ¡¢¹¦ÄÜÍêÕûµÄX-WindowºÜ¿ì±ãÇÖÈëÁËÉÌÓÃUNIXϵͳ֮ÖУ¬²¢ÇÒ±»ÒÆÖ²µ½Ðí¶àÖÖ²»Í¬µÄÓ²¼þƽ̨¡£XFree86×éÖ¯µÄ²úÆ·Ò²½ÐXFree86¡£
´ó¶àÊýLinux·¢Ðа渽´øµÄX-Window¶¼ÊÇXFree86¡£
µ¥¶ÀÆô¶¯XFree86µÄÃüÁîÊÇ¡°xinit¡±¡£Èç¹ûÏ£Íû×ÀÃæ»·¾³Ò²Í¬Ê±Æô¶¯£¬Óá°startx¡±¡£
3.1.7 ×ÀÃæ»·¾³
X-WindowÌṩÁË´´½¨Í¼ÐνçÃæµÄ»ù´¡¡£µ«ÊÇËüÖ»¹ÜÔÚÆÁÄ»»µã¡¢»Ïß¡¢»¿òºÍ×ÅÉ«£¬ÖÁÓÚÔÚÄÄÀﻵ㡢»Ê²Ã´ÑùµÄÏß¡¢»Ê²Ã´ÑùµÄ¿ò
ÒÔ¼°×Åʲôɫ£¬ÕâЩҪÇó¶¼ÊÇÓÉ¿Í»§¶Ë³ÌÐòÌá½»µÄ¡£Ò»Ì××ÀÃæ»·¾³Ò»°ã»á°üÀ¨´°¿Ú¹ÜÀíÆ÷¡¢Ãæ°å¡¢²Ëµ¥¡¢×ÀÃæ±³¾°ÉèÖúÍһЩ³£ÓõÄС³ÌÐò£¬¸ºÔðΪʹÓÃÕß´´½¨Ò»¸öÓѺõÄͼÐλ¯²Ù×÷½çÃæ¡£
´ó¶àÊýLinux·¢Ðа涼»á¸½´ø³£ÓõÄ×ÀÃæ»·¾³ÓÐKDE»òGNOME£¬ÕâÊÇÁ½Ì×¹¦ÄÜÆëÈ«µÄÖØÁ¿¼¶²úÆ·¡£µ«Ò²ÓÐÈËÆ«°®×ÊÔ´ÏûºÄ¸üÉÙ¡¢ÔËÐÐËٶȸü¿ìµÄÆäËû×ÀÃæ»·¾³£¬FVWMÊÇÆäÖкܳöÖÚµÄÒ»ÖÖ¡£
3.1.8 ´°¿Ú¹ÜÀíÆ÷
´°¿Ú¹ÜÀíÆ÷Ò»°ãÖ»ÊÇ×ÀÃæ»·¾³µÄÒ»¸ö×é¼þ£¬µ«ÊǼ«¶ËÇé¿öÏ¿ÉÄÜÒ²»á³äµ±Õû¸ö×ÀÃæ»·¾³¡£Ò»¸ö×ÀÃæ»·¾³Í¨¹ýÉèÖÃÒ²¿ÉÒÔʹÓ÷Ç×ÔÉíµÄ´°¿Ú¹ÜÀíÆ÷¡£
3.1.9 ¿ØÖÆ̨¡¢ÖÕ¶Ë
ÈçͬÆäËûUNIXÀàϵͳ£¬Linux±¾ÉíÒ²ÊÇ»ùÓÚÃüÁîÐеġ£Çëͬʱ°´Ï¡°Ctrl¡±¡¢¡°Alt¡±ºÍ¡°F1¡±¼ü¡£ÕâÊÇ¿ØÖÆ̨£¬ËãÊÇLinuxµÄ±¾À´ÃæÄ¿¡£ÖÁÓÚʹÓ÷½·¨£¬³ýÁ˶à³öµÇ¼עÏúÍ⣬ºÍÇ°ÃæÕ½ÚËùÌáµ½µÄ¡°Öնˡ±²î²»¶à¡£ÔÚX-Window³öÎÊÌâ»ò²»ÔËÐÐX-WindowµÄʱºò£¬Ò»ÇвÙ×÷ÔÚÕâÀïÍê³É¡£
LinuxÔÚ¿ØÖÆ̨ÏÂÌṩÁ˲»Ö¹Ò»¸öÖնˣ¬Ö§³Ö¶àÓû§Í¬Ê±µÇ¼£¬°üÀ¨ÔÚ±¾»úͬʱµÇ¼¡£ÔÚ¿ØÖÆ̨ÏÂͬʱ°´¡°Alt¡±ºÍ¡°Fx¡±¼ü£¬¾ÍÄܹ»Çл»µ½µÚx¸öÖնˡ£Èç¹ûÐèÒª´ÓX-WindowÀïÌøµ½µÚx¸öÖնˣ¬ÐèҪͬʱ°´Ï¡°Ctrl¡±¡¢¡°Alt¡±ºÍ¡°Fx¡±¼ü¡£
Ò»°ãµØ£¬Linux·¢ÐаæÌṩ7¸öÐéÄâÆÁÄ»£¬1~6ºÅÊÇ¿ØÖÆ̨Öնˣ¬µÚ7¸öÉÏÃæÅÜX-Window¡£ºìÆìLinux×ÀÃæ4.0Ö»ÌṩÁË2¸ö¿ØÖÆ̨Öնˣ¬µÚ3 ¸öÅÜX-Window£¬Èç¹ûÐèÒª¸ü¶à¿ØÖÆ̨Öնˣ¬¿ÉÒÔÐ޸ġ°/etc/inittab¡±£¬ÕÒ¡°# Run gettys in standard runlevels¡±Ò»ÐУ¬ÏÂÃæÒÔÊý×ֺ͡°#¡±¿ªÍ·µÄ6Ðж¼ÊÇ¿ØÖÆ̨ÖÕ¶Ë˵Ã÷¡£ÒÔ¡°#¡±¿ªÍ·µÄÐÐÔÚ´ó¶àÊýÅäÖÃÎļþÀï±íʾעÊÍ£¬¼´¸ÃÐв»ÉúЧ¡£°ÑÄǼ¸¸ö ¡°#¡±È¥µô£¬ÖØÐÂÆô¶¯ºó¼´¿É»ñµÃÈ«²¿6¸ö¿ØÖÆ̨Öնˡ£
Ç°ÃæÌáµ½µÄ¡°rxvt¡±£¬ÔËÐÐʱ»áÔÚͼÐνçÃæÖÐÐéÄâÒ»¸öÖն˴°¿Ú£¬ÓÉÓÚʵ¼Ê¹¦Ð§¼¸ºõÍêÈ«Ïàͬ£¬´ÓÕâÀïÆ𣬱¾ÎĵµÖв»ÂÛÊÇͼÐνçÃæÏ¿ªÆôµÄ¡°Öնˡ±£¬»¹ÊÇ¿ØÖÆ̨ϵǼºóµÄÖնˣ¬ÈçûÓÐÌرð˵Ã÷£¬¾ùÒÔ²»´øÒýºÅµÄ¡°Öնˡ±Ö¸´ú¡£±ØҪʱÔòÒÔ¡°ÐéÄâÖնˡ±ºÍ¡°¿ØÖÆ̨Öնˡ±Çø·Ö¡£
×¢Ò⣬ÔÚ¿ØÖÆ̨ÖÕ¶ËϵǼʱ£¬¡°login: ¡±´¦ÊäÈëÕʺţ¬¡°password: ¡±´¦ÊäÈë¿ÚÁͬÑùΪ°²È«Æð¼û£¬ÊäÈëµÄ¿ÚÁî²»ÏÔʾ¡£¿ØÖÆ̨ÖÕ¶Ë×¢ÏúÓÃÃüÁî¡°logout¡±¡£
ÔÚ¿ØÖÆ̨ÖÕ¶ËÆô¶¯µÄºǫ́³ÌÐò²»»áÒòΪעÏú¶øÖÕÖ¹¡£
3.1.10 shell
Ç°Ãæ˵¹ý£¬¿ØÖÆ̨Öնˡ°ËãÊÇLinuxµÄ±¾À´ÃæÄ¿¡±¡£Ò²Ö»ÄÜ¡°ËãÊÇ¡±£¬ÒòΪ¸÷ÖÕ¶ËÀïÔËÐеÄÃüÁîÐгÌÐò²¢²»ÊÇÖն˱¾Éí£¬¸ü²»ÊÇLinux±¾Éí¡£ÏñX-WindowÒ»Ñù£¬ÄǸöÃüÁîÐгÌÐòʵÖÊÉÏÒ²ÊǸöÍâΧ³ÌÐò£¬½Ð¡°shell¡±¡£
´ÓÃû×Ö¿´£¬Ò²ÐíÄãÒѾ²Âµ½Ò»Ð©¶«Î÷¡£²»´í£¬Ëü°üº¬ÁËÓû§½çÃ湦ÄÜ£¬¸ºÔð½ÓÊÕʹÓÃÕßÊäÈëµÄ¶«Î÷£¬·Òëºó·¢Ë͸øLinuxÄں˴¦Àí¡£Èç¹ûÓÐÊä³öÐÅÏ¢£¬ËüÒ²»á°ÑÊä³öÐÅÏ¢ÏÔʾ³öÀ´¡£Ïà¶ÔDOS¶øÑÔ£¬shell¾ÍÏ൱ÓÚ¡°command.com¡±¡£
shellͬÑùÄܽøÐÐÓɼ¸¸öÃüÁî´®³ÉµÄ¡°Åú´¦Àí¡±¡£Óë¡°command.com¡±²»Í¬£¬shellµÄ¹¦ÄÜҪǿ´óÐí¶à¡£Ò»¸ö¹¦ÄÜÉÔÇ¿µÄshell½Å±¾£¬ÒѾ¾ß±¸¸ß¼¶ÓïÑÔµÄÓï·¨½á¹¹£¬Òò´Ë±àдshell½Å±¾ÔںܶàÇé¿öÏÂÒ²±»¿´×÷ÊDZà³Ì¡£
Ò»°ãÇé¿öÏ£¬ÔÚ¿ØÖÆ̨Öն˵Ǽ»òÔÚͼÐνçÃæÏ¿ªÆô¡°Öնˡ±£¬Ä¬È϶¼»áÆô¶¯Ò»¸öshellÀ´½Ó´ýʹÓÃÕß¡£
¿ÉÒÔÔÚshellµÄÃüÁîÐÐÀïÆô¶¯ÁíÍâÒ»¸öshell¡£Í˳öµ±Ç°shellµÄͨÓÃÃüÁîÊÇ¡°exit¡±¡£Èç¹ûµ±Ç°Ê¹ÓõÄshellÕýÊÇ¿ØÖÆ̨µÇ¼ºóÆô¶¯µÄ£¬Ôò¡°exit¡±µÈЧÓÚ¡°logout¡±¡£
shellÖÐÆô¶¯µÄºǫ́³ÌÐò²»»áÒòÕý³£Í˳ö¶øÖÕÖ¹¡£Ëùν·ÇÕý³£Í˳ö£¬Ö¸Ç¿ÐÐɱµôÕâ¸öshell£»ÔÚͼÐνçÃæÏÂÓá°´ò²æ¡±·½Ê½¹Ø±ÕÖÕ¶ËÒ²ËùÇ¿ÐÐÖÕÖ¹Ò»¸öshell¡£
shellÓкܶàÖÖ£¬¸÷ÓÐÌØÉ«¡£Ä¿Ç°Ê¹ÓñȽϹ㷺µÄÊÇshellÊÇ¡°bash¡±£¬Ö÷ÒªµÄLinux·¢Ðаæ¾ùÒÔÆä×÷ΪĬÈϵÄshell¡£
3.1.11 ÔËÐ춱ð
ÈçͬÆäËûµÄUNIXÀàϵͳ£¬LinuxÒ²·ÖÔËÐм¶±ð£¬²»Í¬¼¶±ðÓв»Í¬µÄ¹¦ÄÜ¡£Çл»µ½Ä³¸öÔËÐ춱ðµÄÃüÁîΪ¡°init ij¡±¡£
Ò»°ãÀ´Ëµ£¬LinuxÓÐ7¸öÔËÐ춱ð£º
6.ÎÞÂÛºÎʱÇл»µ½Õâ¸ö¼¶±ð£¬ÖØÐÂÆô¶¯¡£
5.×î³£Óõģ¬´ÓµÇ¼µ½×¢Ïú¶¼ÔÚͼÐνçÃæϲÙ×÷¡£
4.Ò»°ãµÄ·¢Ðаæû¶¨ÒåÕâ¸ö¼¶±ð¡£ºìÆìLinux×ÀÃæ4.0°ÑËü¶¨ÒåΪ¡°°²È«Ä£Ê½¡±£¬Çл»µ½ÕâÀï»á×Ô¶¯Æô¶¯ÏÔʾÉèÖóÌÐò¡£
3.³ýÁËÐèÒªÔڵǼºóÊÖ¶¯Æô¶¯Í¼ÐνçÃæÍ⣬Ó뼶±ð5Ïàͬ¡£
2.Ó뼶±ð3Ïà±È£¬ÍøÂ粿·Ö²»Æô¶¯¡£µ«ÊǺìÆìLinux×ÀÃæ4.0Ëƺõû×ñÑÕâ¸ö³£¹æ¡£
1.µ¥Óû§Ä£Ê½£¬ÕæÕýµÄ¡°°²È«Ä£Ê½¡±¡£Ö»ÓÐÒ»¸ö¿ØÖÆ̨Öնˣ¬¹©¡°root¡±ÕʺÅ×öϵͳά»¤¡£µ«ÊÇ×÷ΪÐÂÊÖ£¬Èç¹ûÄãµÄϵͳ»µµ½Äã±ØÐëÓÃÕâ¸ö£¬Äǽ¨ÒéÄãÖØ×°¡£
0.ÎÞÂÛºÎʱÇл»µ½Õâ¸ö¼¶±ð£¬¹Ø»ú¡£
3.1.12 ϵͳ·þÎñ
ÿ¸öÔËÐ춱ð¶¼Óв»Í¬¹¦ÄÜ£¬Ö÷ÒªÊÇËùÔËÐеÄϵͳ·þÎñ²»Í¬¡£²é¿´Ä³ÔËÐ춱ðϵͳ·þÎñµÄÒ»¸ö·½·¨ÊÇÇл»µ½¸ÃÔËÐ춱ð£¬ÔÚÖÕ¶ËÀïÔËÐС°setup¡±£¬ÕÒ¡°System services¡±Ò»Ïî¡£ÔÚÖÕ¶ËÖ±½ÓÖ´ÐС°ntsysv¡±Òà¿É¡£
Ò»°ãÇé¿öÏ£¬ÔËÐ춱ð3ºÍ5ÖУ¬¡°network¡±(ÍøÂç)¡¢¡°smb¡±(Window$ÍøÉÏÁÚ¾Ó)ºÍ¡°smbupdate¡±ÊÇÒª¿ªµÄ¡£
3.1.13 ÖØÐÂÆô¶¯
Ç°ÃæµÄÐí¶àµØ·½¶¼Ìáµ½¡°ÖØÐÂÆô¶¯ºó¡±ÔõôÔõôÑù¡£Æäʵ£¬ºÜ¶àʱºòÖØÐÂÆô¶¯Ö»ÊÇWindow$µÄרÀû¡£LinuxÏÂÍùÍùÖ»ÐèÒª°Ñ¶ÔÓ¦µÄ²¿·ÖÖØÐÂÆô¶¯¼´¿É¡£
UNIXÀàϵͳÖÐÐí¶à¶«Î÷²¢²»ÓëϵͳºËÐÄÀ¦°ó£¬±ÈÈçX-Window£¬Èç¹ûÐèÒª£¬Ëæʱ¿ÉÒÔÖØÐÂÆô¶¯¡£
Linux ÏÂÐí¶àÏà¹ØµÄ¶«Î÷ÒѾ±»Ð´½ø½Å±¾£¬ÕâЩ½Å±¾Ö÷ҪλÓÚ¡°/etc/rc.d/init.d¡±£¬¶øÇÒÖ§³ÖÈç´ËµÄÃüÁî¸ñʽ£º¡°½Å±¾ start¡±¡¢¡°½Å±¾ restart¡±ºÍ¡°½Å±¾ stop¡±£¬·Ö±ðÊÇÆô¶¯¡¢ÖØÆðºÍÍ£Ö¹¡£ÓеĻ¹Ö§³Ö¡°½Å±¾ reload¡±£¬ÕâÊÇÔÚ´ËÏÄܲ»Í£Ö¹µÄÇ°ÌáÏÂÓ¦ÓÃеÄÉèÖá£
ÒÔÍøÂ粿·ÖΪÀý£¬Èç¹ûÐÞ¸ÄÁËÍøÂçÉèÖ㬱ÈÈç¸ÄÁËIP¡¢DNS»òÕßÉèÖÃÁËADSL×Ô¶¯²¦ºÅ£¬Õâ¸öÃüÁîÓÃÀ´ÖØÆðÍøÂ磺¡°/etc/rc.d/init.d/network restart¡±¡£µ±È»Ç°ÌáÊÇϵͳ·þÎñÀ↑ÁË¡°network¡±¡£
3.1.14 ËùÓÐÕß¡¢×顢ȨÏÞ
UNIX Ààϵͳ¶¼Êǹ«Ë½·ÖÃ÷µÄϵͳ£¬Ê²Ã´×ÊÔ´ËÄÜ·ÃÎʶ¼Ò»Çå¶þ³þºÁ²»º¬ºý¡£×Ðϸ¿´¿´LinuxµÄÎļþÊôÐÔ£¬Ëü°Ñ»úÆ÷ÉÏËùÓÐÓû§·Ö³É3ÀࣺÎļþËùÓÐÕß¡¢ÓëÎļþËùÓÐÕßͬ×éµÄÓû§ºÍÆäËûÓû§£¬Ã¿ÀàÓзֱðÓС°¿É¶Á¡±¡¢¡°¿ÉдÈ롱ºÍ¡°¿ÉÖ´ÐС±3¸ö±êÇ©¡£¶ÔÓÚĿ¼¶øÑÔ£¬¡°¿ÉÖ´ÐС±¾ÍÊÇ¿ÉÒÔ·ÃÎÊ¡£LinuxÏ¿ÉÖ´ÐÐÎļþ²»Óúó׺ÃûÀ´Ìرð±ê¼Ç£¬Ö»ÒªÎļþµÄÊôÐÔΪ¸ÃÓû§¿ÉÖ´ÐУ¬ÄÇôLinux¾ÍÈÏΪËü¿ÉÖ´ÐУ¬²»¹ÜËüÊǶþ½øÖƱàÂ뻹ÊÇÒ»¸öÎı¾Îļþ¡£ÖÁÓÚÖ´ÐÐЧ¹û£¬¾Í¿´Õâ¸öÎļþ×Ô¼ºÁË¡£
3.1.15 ϵͳĿ¼½á¹¹
UNIXÀàϵͳÊÇ¡°°ÑÒ»Çж¼°²Öõ½Î»¡±µÄϵͳ£¬¸÷ÀàÎļþÒ»°ã¶¼ÓÐ×Ô¼ºµÄ¹éËÞ¡£LinuxÒ²²»ÀýÍâ¡£½éÉÜһϡ°/¡±ÀïµÄĿ¼ºÍ¡°/usr¡±ÀïµÄÖ÷ҪĿ¼¡£
/£º¸ùĿ¼£¬Ã»Ê²Ã´ºÃ˵¡£
/bin£º³£ÓõÄϵͳ¼¶Èí¼þ¿ÉÖ´ÐÐÎļþÒ»°ã¶¼ÔÚÕâÀï¡£
/boot£ºLinuxÒýµ¼Ê±ËùÐèµÄÎļþÒ»°ãÔÚÕâÀï¡£ÓÐÈËרÃÅΪËü´´½¨Ò»¸ö·ÖÇø¡£
/dev£ºËùÓÐÉ豸Îļþ¡£UNIXÀàϵͳ°ÑËùÓÐÉ豸¶¼µ±×÷ÎļþÀ´¶Áд£¬ºÃ´¦Äã¿ÉÒÔÎÊÎÊרÃűàдÇý¶¯µÄÈË¡£
/etc£ºÖ÷ÒªÅäÖÃÎļþºÍһЩ¹¦Äܽű¾ËùÔÚ£¬µØλÀàËÆWindow$µÄ×¢²á±í¡£
/home£ºËùÓзǡ°root¡±Óû§µÄÖ÷Ŀ¼¶¼ÔÚÕâÀï¡£ºÜ¶àʱºòËû¶¼ÓÐ×Ô¼ºµÄ·ÖÇø¡£
/initrd£ºÉв»Á˽⡣
/lib£ºÏµÍ³¼¶Èí¼þµÄ¹²Ïí¿â£¬Èí¼þµÄÖ÷Ì岿·Ö·ÅÔÚÕâÀÖ÷ÒªÊǶ¯Ì¬Á´½ÓÎļþ¡£
/lost+found£º¼¸ºõÿ¸ö±»¸ñʽ»¯¹ýµÄLinux·ÖÇø¶¼»áÓУ¬ÒâÍâºóÕһصÄÎļþÒ»°ãÔÚÕâÀïÃæ¡£
/misc£ºÉв»Á˽⡣
/mycomputer£ººìÆìLinuxµÄ¡°×¨Àû¡±¡£
/mnt£ºÀïÃæµÄĿ¼һ°ã³äµ±ÁÙʱµÄÎļþϵͳ¹ÒÔص㡣
/mnt/floppy£ºÈíÅÌÒ»°ã¹ÒÔÚÕâÀï¡£
/mnt/cdrom£º¹âÅÌÒ»°ã¹ÒÔÚÕâÀï¡£
/opt£ºÔÓÆßÔӰ˵Ķ«Î÷Èûµ½ÕâÀï¡£Èç¹ûÄãȷʵÕâô×ö£¬Ò²¸øËüÒ»¸ö·ÖÇø¡£
/proc£ºÄÚ´æ¡£
/root£º¡°root¡±µÄÖ÷Ŀ¼¡£
/sbin£ºÏµÍ³¼¶Èí¼þ¿ÉÖ´ÐÐÎļþ£¬¶àΪ±È½ÏÃ͵ÄÃüÁ·Ç¡°root¡±Óû§ºÜÉÙÓá£
/tftpboot£º¿ÉÄÜÊÇÔ¶³ÌÒýµ¼Óõġ£
/tmp£ºÏµÍ³´æ·ÅÌ×½Ó×ÖµÈÁÙʱÎļþµÄµØ·½£¬»º³åµÄflash¡¢Í¼Æ¬Ò²ÔÚÕâÀï¡£²»ËãÌ«ÖØÒª£¬Çå¿Õ²»»á¶Ô²Ù×÷ϵͳÔì³ÉÓ°Ï죬µ«ÊÇ¿ÉÄÜÓ°ÏìÔËÐеijÌÐò¡£
/usr£ºÒ»°ã·¢ÐаæÖÐ×î´óµÄĿ¼£¬¾ø´ó¶àÊýËæϵͳ°²×°µÄÈí¼þ¶¼ÔÚÕâÀï¡£¸øËüÒ»¸ö3GµÄ·ÖÇøû»µ´¦¡£
/usr/bin£ºÒ»°ãÈí¼þµÄ¿ÉÖ´ÐÐÎļþÖ÷Òª·ÅÔÚÕâÀï¡£
/usr/include£ºGCCÖ÷ÒªµÄÍ·Îļþ·ÅÔÚÕâÀï¡£
/usr/lib£ºÒ»°ãÈí¼þµÄ¹²Ïí¿â£¬Èí¼þµÄÖ÷Ì岿·Ö·ÅÔÚÕâÀÖ÷ÒªÊǶ¯Ì¬Á´½ÓÎļþ¡£
/usr/share£ºÒ²ÊÇÒ»¸ö¹«ÓÃĿ¼£¬Ç½Ö½¡¢Í¼±ê¶¼ÔÚÕâÀ°ïÖúÒ³Ò»°ãÒ²ÔÚÕâÀï¡£
/usr/X11R6£ºXFree86µÚ11°æµÄµÚ6¸ö×Ó°æ±¾¡£
/var£ºÖ÷ÒªÊDZ仯µÄ¶«Î÷£¬¶àΪÈÕÖ¾¡£Èç¹ûÈÕºóÕâ¸öĿ¼±äµÃºÜ´ó£¬Ò²¸øËüÒ»¸ö·ÖÇø¡£
3.2 һЩ³£¼ûµÄС³ÌÐò
3.2.1 Ö»ÔÚshellÃüÁîÐÐÀïÅܵÄ
¡°df¡±£¬²é¿´ÒѾ¹Ò×°µÄÎļþϵͳ¿Õ¼äµÄÕ¼ÓÃÇé¿ö¡£¡°df -k¡±£¬ÒÔKBΪµ¥Î»ÏÔʾ£»¡°df -m¡±£¬ÒÔMBΪµ¥Î»ÏÔʾ¡£
¡°fdisk¡±£¬Ò»¸ö¹¦ÄÜÇ¿´óµÄ·ÖÇø¹¤¾ß£¬¶Ô·ÖÇøµÄµ÷ÕûÄܾ«È·µ½ÉÈÇø¼¶±ð£¬µ«ÊDz»ºÃÓá£Ö»¼Çס¡°fdisk -l¡±¼´¿É£¬²é¿´·ÖÇøһĿÁËÈ»¡£
¡°gzip¡±£¬Ò»¸ö¸ßѹËõ±ÈµÄѹËõ¡¢½âѹ¹¤¾ß£¬³£Óë¡°tar¡±½áºÏ½øÐдò°üºÍ±¸·Ý¹¤×÷¡£
¡°ls¡±£¬¶ÔĿ¼ÁÐ±í¡£
¡°man¡±£¬UNIXÀàϵͳµÄ°ïÖúÊֲᣬʹÓ÷½·¨Îª¡°man ÄãÏëÁ˽âµÄÃüÁ¡£
¡°tar¡±£¬UNIXÀàϵͳÖÐ×î³£ÓõĹ鵵ºÍ·´¹éµµ¹¤¾ß£¬Ô±¾ÊÇΪ´Å´ø±¸·ÝÓõģ¬°ÑÒ»¸öĿ¼¼°ÆäÄÚ²¿µÄÎļþÆ´ºÏ³ÉÒ»¸öÎļþ¡£
¡°vi¡±£¬ÖÕ¶ËÀï×î³£Óõıà¼Æ÷£¬²»ÄÑÓ㬵«ÊÇÓëÒ»°ãÏ°¹ß²»Ïà·û¡£
3.2.2 ´øͼÐνçÃæµÄ
ͼÐνçÃæÏÂÆô¶¯³ÌÐòµÄ4ÖÖ·½·¨¡£¡°Ü×ÖµÄ4ÖÖд·¨£¿µ±È»£¬ËҲûǿÇó£¬ÄÄÖÖ·½±ãÄã¾ÍÓÃÄÄÖÖ£º
1.×ÀÃæÉÏÓÐͼ±êµÄ£¬±ÈÈç¡°MP3²¥·ÅÆ÷¡±£¬²Ù×÷·½·¨¡°µØÇòÒø¶¼ÖªµÀ¡±¡£
2.×ÀÃæÉÏûÓеģ¬±ÈÈçÇ°Ãæ½²µÄ¡°rxvt¡±µ½²Ëµ¥ÀïÈ¥Ãþ£¬Ò²²»ÄÑ¡£ËüÔڲ˵¥ÀïµÄÃû×ֽС°Öնˡ±¡£
3.ÔÚÐéÄâÖն˵ÄÃüÁîÐÐÀïÊäÈë³ÌÐòÎļþÃû£¬»Ø³µ¡£µ±È»£¬ÕâʱÐéÄâÖն˾ͱ»Õ¼ÓÃÁË£¬ÎÞ·¨ÔÙ×ö±ðµÄÊÂÇé¡£Òª±ÜÃâÕâÖÖÇé¿ö£¬¿ÉÒÔÔڻسµÇ°¼ÓÉÏ¡°&¡±¡£
4.ÓÃСÃüÁîÐС£¡°¿ªÊ¼¡±->¡°ÔËÐÐÃüÁ»òÕߣ¬¡°Alt¡±+¡°F2¡±¼ü£¬¶¼¿ÉÒÔÆô¶¯Ð¡ÃüÁîÐС£ÔÚСÃüÁîÐÐÀïÊäÈë³ÌÐòÎļþÃû£¬»Ø³µ¡£
¡°konqueror¡±£¬Ò»¸ö³öÉ«µÄä¯ÀÀÆ÷£¬²»ÂÛÊÇÉÏÍø³åÀË£¬»¹ÊǹÜÀí±¾»úÎļþ¡£ÓÃ×ÀÃæÉÏ¡°ÎҵĵçÄÔ¡±¼´¿ÉÆô¶¯¡£
¡°ksnapshot¡±£¬ÆÁĻץͼÈí¼þ£¬¿ÉÒÔֻץij¸ö´°¿Ú¡£Ôڲ˵¥Àï½Ð×ö¡°ÆÁÄ»½Øͼ³ÌÐò¡±¡£
¡°kwrite¡±£¬±È½ÏÇ¿µÄÎı¾±à¼Æ÷£¬ÔÚ±àд³ÌÐò»ò½Å±¾Ê±Ö§³Ö²ÊÉ«ÏÔʾ¡£
¡°rxvt¡±£¬ºìÆìLinux×ÀÃæ4.0×î³£ÓõÄÐéÄâÖնˡ£Ôڲ˵¥Àï½Ð×ö¡°Öնˡ±¡£
4 °²×°Èí¼þ
°æ±¾£º2004-06-23-01
ÔÚLinuxϹö´òÃþÅÀÒ»Õó×Ó£¬Óз¢ÏÖȱµãʲôÂð£¿Èí¼þ£¡
ϵͳװºÃ£¬Ò²¸½´øÁËһЩÈí¼þ£¬¶øÇÒ±ÈWindow$°²×°¸½´øµÄ»¹¶à¡£µ«ÊÇ°²×°¹âÅ̱Ͼ¹ÈÝÁ¿ÓÐÏÞ£¬²»ÄÜ°ÑËùÓÐÐèÒªµÄÈí¼þ¶¼°üÏÂÀ´£¬¸ü¶àµÄÈí¼þºÍ¸üеÄÇý¶¯³ÌÐò¶¼µÃÁíÍâ°²×°¡£°²×°Ò»¸öÈí¼þÇ°×îºÃ¶àÕÒÕÒËüµÄÏà¹ØÎĵµ£¬Ò²ÐíÓÐЩÒѾ±»·Òë³ÉÖÐÎÄÁË¡£
4.1 Linuxϳ£¼ûÈí¼þ°ü¸ñʽ
LinuxϵÄÈí¼þºÜ¶à£¬³ö×Ô²»Í¬×÷ÕßÖ®ÊÖ£¬´ò°üµÄ¸ñʽҲͦ¶à¡£*.rpm¡¢*.tar¡¢*.gz¡¢*.bz2¡¢*.Z¡¢*.tgzºÍ*.tbz¶¼Êdz£¼û´ò°ü¸ñʽ¡£
4.2 ·ÖÀà˵Ã÷
4.2.1 *.rpm
RPM ÊÇ Red Hat Package Manager µÄËõд¡£ÓÉ Red Hat Linux Ê×ÏÈÒýÈ룬ÏÖÔÚÒѾ±»Ò»Ð©Ö÷ÒªµÄ Linux ·¢ÐÐÉ̲ÉÓᣡ°Package¡±¾ÍÊǹ鵵ºóµÄÈí¼þ°ü£¬ÆäÖаüº¬ÁËÊôÓÚ¸ÃÓ¦ÓóÌÐò»ò³ÌÐò¿âµÄÎļþ£¬ÕâÓеãÀàËÆÓÚѹËõÎļþ¡£
³ýÁËѹËõ¹¦ÄÜ£¬Õâ¸ö°üÀﻹÓÐһЩ¿ØÖƽű¾£¬ÕâЩ½Å±¾¿ÉÒÔ±»±¾µØµÄ°²×°³ÌÐò¶Á³ö£¬Ö´ÐУ¬²¢´æ´¢¡£¿ÉÒÔ½øÐа²×°¡¢Ð¶ÔØ¡¢×´Ì¬¼ì²é¡¢ÒÀÀµ¼ì²éµÈ¡£
ÔÚÒÔÉϸñʽµÄÈí¼þ°üÖУ¬×°Ð¶²Ù×÷×î¼ò±ãµÄ¾ÍÊÇ*.rpm°ü¡£Ò»°ãÇé¿öÏ£¬ÕâÖÖ¸ñʽµÄ°üÓÃÊó±êµãµã¼´¿É°²×°£¬Ã»ÓÐÌ«¶àÐèÒª¿¼Âǵġ£
×ÀÃæ»·¾³Ò»°ã»áÌṩRPMÈí¼þ°ü¹ÜÀíÆ÷¡£ºìÆìLinux4.0×ÀÃæµÄÈí¼þ°ü¹ÜÀíÆ÷ÔÚ¡°¿ØÖÆÃæ°å¡±Àï¡£¿ÉÒÔ´ÓÄÇÀïжÔØÈí¼þ°ü¡£
ÖÕ¶ËÃüÁîÐÐÖа²×°ÃüÁîΪ¡°rpm -ivh °²×°ÎļþÃû.rpm¡±¡£°²×°ÎļþÃûÒ»°ã°üÀ¨Èí¼þ°üÃûºÍ°æ±¾ºÅÁ½²¿·Ö¡£²éѯÈí¼þ°ü°æ±¾Îª¡°rpm -q Èí¼þ°üÃû¡±¡£Ð¶ÔØÃüÁîΪ¡°rpm -e Èí¼þ°üÃû¡±¡£
¡°rpm xxxxxxxxx nodeps¡±£¬±íʾǿÐа²×°»òжÔØ£¬Ò»°ã²»ÍƼöÕâô×ö¡£
·ÇÄã²»Òª ÓÚ 2005-05-04 10:25:26·¢±í:
Welcome to the ADSL client setup. First, I will run some checks on
your system to make sure the PPPoE client is installed properly...
The following DSL config was found on your system:
Device: Name:
ppp0 DSLppp0
Please enter the device if you want to configure the present DSL config
(default ppp0) or enter ´n´ if you want to create a new one: [ppp0]
#»¶ÓʹÓÃADSL¿Í»§¶ËÉèÖóÌÐò¡¡
#¡¡
#ÇëÊäÈëÄãÏë´´½¨µÄ²¦ºÅÉ豸Ãû(ĬÈÏÊÇppp0)»òÊäÈë¡°n¡±Ð´´½¨Ò»¸öÉ豸£º
LOGIN NAME
Enter your Login Name: [Äã´ÓµçÐÅÉêÇëµÄÓû§Ãû]
#ÕʺÅ/µÇ¼Ãû
#ÔÚÕâÀïÊäÈëÄãµÄÕʺÅ/µÇ¼Ãû£º
INTERFACE
Enter the Ethernet interface connected to the ADSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethX, where ´X´ is a number.
(default eth0): [eth0]
#½çÃæ
#ÊäÈëÁ¬½Óµ½ADSLµ÷Öƽâµ÷Æ÷µÄÒÔÌ«Íø½çÃæ¡£ÓÃÒÔÌ«ÍøÐéÄⲦºÅµÄͬÑùÊÊÓá£
#¶ÔÓÚSoliris£¬¿ÉÄÜÊÇÀàËÆ/dev/hme0µÄ¶«Î÷¡£
#¶ÔÓÚLinux£¬ÊÇethX£¬XÊÇÒ»¸öÕûÊý¡£
#(ĬÈÏÊÇeth0)£º
#eth0Ò»°ãÖ½LinuxϵÚÒ»ÒÔÌ«Íø¿¨¡£µÚ¶þ¿éÍø¿¨eth1¡¡µÚN+1¿éÍø¿¨ethN¡£
Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped. If you want the link to
stay up permanently, enter ´no´ (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses. You may have some problems with demand-activated links.
Enter the demand value (default no): [no]
#ÊÇ·ñÒªÆô¶¯Ò»¸ö¶¯Ì¬Á¬½ÓÊØ»¤½ø³Ì£¿(ĬÈϲ»Æô¶¯)
DNS
Please enter the IP address of your ISP´s primary DNS server.
If your ISP claims that ´the server will provide dynamic DNS addresses´,
enter ´server´ (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
Enter the DNS information here: []
#ÓòÃû·þÎñÆ÷
#ÇëÊäÈëÓòÃû·þÎñÆ÷µÄIP¡£
#ʲô¶¼²»Êä±íʾʹÓõçÐŹ«Ë¾Ä¬ÈϵÄÓòÃû·þÎñÆ÷¡£
PASSWORD
Please enter your Password: [ÄãÉÏÍøµÄ²¦ºÅÃÜÂë]
Please re-enter your Password: [ÄãÉÏÍøµÄ²¦ºÅÃÜÂë]
#¿ÚÁî
#ÇëÊäÈëÄãµÄ¿ÚÁ
#ÇëÔÙ´ÎÊäÈëÄãµÄ¿ÚÁ
USERCTRL
Please enter ´yes´ (two letters, lower-case.) if you want to allow
normal user to start or stop DSL connection (default yes): [no]
#¾ö¶¨·Ç¡°root¡±ÕʺÅÄÜ·ñÆô¶¯ºÍÍ£Ö¹Á¬½Ó¡£
FIREWALLING
Please choose the firewall rules to use. Note that these rules are
very basic. You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security. If you
are running any servers on your machine, you must choose ´NONE´ and
set up firewalling yourself. Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc. If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.
#·À»ðǽÏà¹ØÊÂÒË¡£
The firewall choices are:
0 - NONE: This script will not set any firewall rules. You are responsible
for ensuring the security of your machine. You are STRONGLY
recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
for a LAN
Choose a type of firewall (0-2): [0]
#·À»ðǽѡÏ
#0 - ʲôҲûÓС£
#1 - £¿
#2 - IPαװ£¿
Start this connection at boot time
Do you want to start this connection at boot time?
Please enter no or yes (default no):[yes]
#Ï£ÍûÔÚÆô¶¯Ê±½¨Á¢Á¬½ÓÂð£¿
#(ĬÈϲ»)
Ethernet Interface: eth0
User name: typhoon
Activate-on-demand: No
DNS: Do not adjust
Firewalling: NONE
User Control: no
#¸Õ²ÅÉèÖõÄÁ¬½ÓÐÅÏ¢£¬»¹Ã»ÉúЧ£¬ÒÀ´ÎΪ£º
#ÒÔÌ«Íø½çÃ棺
#Óû§Ãû£º
#ʹÓÃÁ¬½ÓÊØ»¤½ø³Ì£º
#ÓòÃû·þÎñÆ÷£º
#·À»ðǽ£º
#Óû§¿ØÖÆȨ£º
Accept these settings and adjust configuration files (y/n)? [y]
#ÊÇ·ñʹÓÃÕâ¸öÅäÖÃ(ÊÇ/·ñ)£¿
================================================================================
2.3 ÉùÒô
ÒôÀÖÌý²»³ÉµçÓ°¿´×ÖÄ»£¬Ã»ÓÐÉùÒôÈÃÈ˺ܲ»Ë¬¡£
°ÑÄã¼ÆËã»úµÄ¶ú»ú¡¢À®°È»òÒôÏäÉùÒôÉùÒôµ÷´ó¡£ÒÔ¡°root¡±Éí·ÝµÇ¼ϵͳ£¬Ö´ÐÐÃüÁî¡°xsndconf¡±½øÐÐÉèÖá£Æô¶¯Í¼ÐνçÃæ³ÌÐòµÄÃüÁî¿ÉÒÔÔÚ¡°Öնˡ±ÀïÖ´ÐУ¬Ò²¿ÉÒÔÔÚÓá°Alt¡±¼ü¼Ó¡°F2¡±¼ü¿ªµÄСÃüÁîÐÐÀïÖ´ÐС£
Ò»°ãÍƼöÓÃAlsa¶ø²»ÊÇÄÚºËÖ±½ÓÖ§³Ö¡£×¢ÒâÉù¿¨×Ô¶¯¼ì²éʱ¼ä¿ÉÄܳ¬¹ý°ë·ÖÖÓ¡£Ò»ÇÐÕý³£µÄ»°£¬»á³öÉùÒô¡£
2.4 ·ÃÎÊÆäËûÎļþϵͳ
ÍøÉÏÈ¥ÁË£¬À®°È³öÉùÁË¡£¿´¿´×ÀÃ棬¶÷£¬Óиö¡°MP3²¥·ÅÆ÷¡±µÄͼ±ê¡£ÒªÌý¸è£¬¿ÉÊǸ趼ÔÚWindow$/DOS·ÖÇø£¬Ôõô°ì£¿
2.4.1 ×¼±¸¹¤×÷
´ò¿ª¡°ÎҵĵçÄÔ¡±£¬¿´µ½¡°C¡±¡¢¡°D¡±Ö®ÀàµÄÅÌ·ûÁËÂ𣿵±È»£¬Äã¿ÉÒÔÈç´Ë·ÃÎÊÕâЩ·ÖÇø£¬µ«ÊǽöÏÞÓÚÄãÖ±½Ó·ÃÎÊ¡£
ÀàËÆWindow$ÏÂÄǸöÖøÃûµÄMP3²¥·ÅÆ÷£¬Äã×ÀÃæÉϵġ°MP3²¥·ÅÆ÷¡±Ò²¿ÉÒÔÓá°´ò¿ª¡±Ò»Àà¶Ô»°¿òÀ´Ìí¼Ó²¥·ÅÁÐ±í¡£È»¶øÄã»á·¢ÏÖ£¬¡°´ò¿ª¡±¶Ô»°¿òÖеÄÄÇЩÅÌ·ûͳͳÎÞЧ£¡
Õâ²»ÊdzÌÐò´íÎ󡣺ìÆì4.0ÉÃ×Ա䶯ÁËLinuxµÄ·ÖÇø·ÃÎʹæÔò£¬±¾ÒâÊÇ·½±ãʹÓÃÕߣ¬Êµ¼ÊÉÏÈ´Ôì³ÉÁËÂé·³¡£ÄǼ¸¸ö·ÖÇøÆäʵ²»ÔÚÄÇÀÅÌ·ûµÄͼ±ê¿ÉÒÔ¿´×÷ÊÇ´ò¿ªÄǸö·ÖÇøÎļþ¼ÐÓõÄС³ÌÐò¡£
¾¡¹ÜÐÞÕýÕâ¸ö벡»áÔÝʱÂé·³Ä㶯¶¯ÊÖ£¬µ«ÄãÊÇ·ñΪÕâ¸ö벡¸Ðµ½ÓôÃÆ£¿À´°É£¬¶¯ÊÖÐÞÕýÕâ¸ö벡£¬ÐÞÕýÍêºóÒ»Çж¼Çå¾»£¡³¢ÊÔÒ»ÏÂLinuxµÄ¹æÔò£¬ÒÔºóÄã¾Í²»ÐèÒª¹ØÐÄ·ÖÇøÁË£¬³ý·ÇÄÄÌìÄǸö·ÖÇøÕæµÄ¿Õ¼ä½ôÕÅ¡£
ÒÔ¡°root¡±Éí·ÝµÇ¼ϵͳ¡£ÕÒµ½Õâ¸öÎļþ£º¡°/etc/rc.d/init.d/ls-disk¡±£¬ÕýÊÇÕâ¸ö×Ô×÷´ÏÃ÷µÄ½Å±¾ÔÚ×÷³ç¡£°ÑËü¸ÄÃû°É£¬·ñÔòÏ´ÎÆô¶¯Ê±Ëü»¹»á×öЩÊÖ½ÅÈÃÄã²»×ÔÔÚ¡£
ÔÙ¿ª¡°ÎҵĵçÄÔ¡±£¬°ÑÀïÃæÏóÕ÷Ó²Å̵ÄÅÌ·ûÈ«²¿É¾µô¡£Ð»Ð»ºìÆ칫˾µÄºÃÒ⣬¿ÉÊÇËüÃÇȷʵ´øÀ´ÁËÂé·³¡£¸Õ²ÅµÄÄǸö½Å±¾ÔÚÆô¶¯Ê±»á¼ì²éÕâЩÅÌ·û£¬Èç¹û²»ÈÃËüʧЧ£¬Ï´ÎÆô¶¯ÅÌ·ûÕâÀïÓÖÔÚÕâÀïÁË¡£
ÄÇô£¬ÄÇЩ·ÖÇø¾¿¾¹ÔÚÄÄÀÇ뿪¡°Öնˡ±£¬Ö´ÐС°mount¡±¡£Ç°Ãæ½²¹ýLinuxµÄ·ÖÇø±àºÅ¹æÔò£¬Äã¶Ô×Å¿´¿´¡£
¡°ß×£¿Õâ¸öÎļþ¼Ð±»±£»¤ÁË£¡¡±Ã»¹Øϵ£¬ÓÒ¼üµã£¬ÕÒ¡°Îļþ±£»¤¡±£¬Ïûµô°É¡£ÕâÖÖ°ÑÏ·£¬ËÒ²ºå²»ÁË£¬ÒÔºó¼ûµ½£¬Í³Í³È¡Ïû£¬×î¶à¸Ä³ÉÌáʾ£¡
2.4.2 Æô¶¯×Ô¶¯¼ÓÔØ·ÖÇø
ûÓÐÁË¡°ls-disk¡±µÄ¸ÉÈÅ£¬×ÔÖ÷Ȩ»Øµ½ÄãµÄÊÖÖУ¬ÄãÏë°ÑÄÇЩ·ÖÇø¹ÒÔÚ¸öĿ¼£¬¾ÍÄܹÒÔÚÄÇÀï¡£¡°ls-disk¡±ÄÜÔÚϵͳÆô¶¯Ê±×Ô¶¯¼ÓÔØÕâЩ·ÖÇø£¬µ«ÊÇÀ뿪ËüͬÑùÄÜ°ìµ½£¬Õâ¸öÎļþÕƹÜÕâ̯ÊÂÎ¡°/etc/fstab¡±¡£
È¥¡°/etc¡±£¬ÕÒµ½¡°fstab¡±¡£ÓÒ¼üµã->¡°´ò¿ª·½Ê½¡±->¡°ÆäËû¡±¡£ÔÚѯÎʶԻ°¿òÉϲ¿ÊäÈë¡°kwrite¡±£¬°Ñµ×ϵġ°¼Çס¸ÃÎļþÀàÐ͵ÄÓ¦ÓóÌÐò¹ØÁª¡±£¬ÔÙ¡°È·¶¨¡±¡£´Ó´ËÒԺ󣬾ø´ó¶àÊýÎı¾Îļþ¶¼»áÓá°kwrite¡±´ò¿ª¡£ÕâÊǸö±ÈWindow$¼Çʱ¾Ç¿ºÜ¶àµÄ³ÌÐò¡£
¡°ÍÛ£¬ÎÒ²»Ï²»¶ÕâÑù£¬×ÖÌå̫С£¬ÓÖ²»ÕûÆ룡¡±ºÃ£¬Åöµ½Ò»¸öÎÊÌâ½â¾öÒ»¸ö¡£±à¼Æ÷¶¥ÉϵIJ˵¥Ìõ->¡°ÉèÖá±->¡°ÅäÖñà¼Æ÷¡±->¡°×ÖÌ塱¡£¾¹ý×Ðϸ¹Û²ì£¬×ÖÌåÑ¡¡°MonoSpace¡±£¬´óС¡°12¡±ÎªºÃ£¬ÕâÑùÒ»¸öºº×Ö»òÖÐÎıêµãµÄ¿í¶ÈÕýºÃµÈÓÚÁ½¸öÊý×Ö¡¢×Öĸ»òÆäËû×Ö·ûµÄ¿í¶È£¬ºÜ±ê×¼¡£
ºÃ£¬»Øµ½¡°fstab¡±ÎļþÉÏ¡£¸ù¾ÝÄã¶Ô·ÖÇø±àºÅµÄÁ˽⣬ÌíÄÚÈÝ°É¡£Äã¿ÉÒÔ°Ñ·ÖÇø¹ÒÔÚÈκοÕĿ¼ÏÂÃæ¡£ÓÐÄÚÈݵÄĿ¼£¬Èç¹ûÄã°Ñ·ÖÇø¹ÒÔÚÄÇÀÔÚÄã°Ñ¸Ã·ÖÇøжµôÇ°£¬ÄǸöĿ¼ÀïµÄÄÚÈݽ«Ò»Ö±±»¸Ã·ÖÇøÀïµÄÄÚÈÝÆÁ±Î¡£
ÒÔÏÂÊÇÎҵġ°fstab¡±£º
/dev/hda9 / ext3 defaults 1 1
/dev/hda10 /usr ext3 defaults 1 1
/dev/hda6 swap swap defaults 0 0
/dev/hda17 /opt/backup ext3 defaults,ro 1 1
/dev/hda11 /opt/home ext3 defaults 1 1
/dev/hda16 /opt/prog ext3 defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy ext3 noauto,owner 0 0
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/hda1 /opt/zzz/msw98se vfat default,ro,codepage=936,iocharset=cp936 0 0
/dev/hda12 /opt/zzz/msw2kpr vfat default,ro,codepage=936,iocharset=cp936 0 0
/dev/hda13 /opt/zzz/msw_app01 vfat default,ro,codepage=936,iocharset=cp936 0 0
/dev/hda14 /opt/zzz/msw_app02 vfat default,ro,codepage=936,iocharset=cp936 0 0
/dev/hda15 /opt/zzz/public vfat default,ro,codepage=936,iocharset=cp936 0 0
˵Ã÷һϣ¬¡°default¡±±íʾÆô¶¯×Ô¶¯¼ÓÔØ£»¡°ro¡±±íʾ¸ÃÎļþϵͳ¹ÒװΪֻ¶Á£»¡°vfat¡±ÊÇWindow$/DOS·ÖÇø¸ñʽ£¬µ«Èç¹ûÄãµÄ Window$·ÖÇøÊÇ¡°ntfs¡±¾Í±ðÓá°vfat¡±£»¡°codepage=936,iocharset=cp936¡±¸ø·ÇºìÆìϵͳÓã¬ÒÔͼ±ÜÃâä¯ÀÀ Window$/DOS·ÖÇøÖÐÎÄÂÒÂ룬µ«ÊÇËƺõ¶Ô RedHat Linux 9.0 ÎÞЧ¡£¶ÔÓÚ¡°ext2¡±¡¢¡°ext3¡±ºÍ¡°vfat¡±£¬²»Ö¸¶¨·ÖÇø¸ñʽ£¬ÏµÍ³Ò»°ãÒ²ÄÜ×Ô¶¯Ê¶±ð¡£
°´ÕÕÄã×Ô¼ºµÄÒâÖ¾Ð޸İɡ£
2.4.3 ÊÖ¶¯×°Ð¶
·ÖÇø¹Ò×°ÅäÖÃÎļþ¶¼¸ÄÁË£¬ÒªÖØÐÂÂð£¿ÄÇÊÇWindow$µÄרÀû¡£
¼ÇסÁ½¸öÃüÁî¡°mount¡±ºÍ¡°umount¡±£º
¡°umount -a¡±»áжÏÂËùÓÐÄÜжµôµÄÎļþϵͳ£¬¹âÅÌ¡¢ÈíÅÌ¡¢UÅ̺ÍÓ²ÅÌ·ÖÇø¡£
¡°mount -a¡±»á°´ÕÕ¡°fstab¡±¹Ò×°Ò»ÇпÉÒÔ¹Ò×°µÄÎļþϵͳ¡£
²»¹ýÊÖ¶¯²Ù×÷Ò»°ã²»ÕâÑù£¬¶øÊÇÕë¶ÔÌض¨ÎļþϵͳµÄ£¬±ÈÈç½ñÌìÏëÍæÓÎÏ·£¬Í»È»·¢ÏÖWin98»µµôÁË£¬µÃ×ö»Ö¸´¡£Òª°Ñhda1±ä³É¿É¶Áд¹Ò×°£¬²ÅÄÜ×ö»Ö¸´£¬ ¡°umount /dev/hda1¡±»òÕß¡°umount /opt/zzz/msw98se¡±¶¼ÊÇÕýÈ·µÄжÔØÃüÁî¡£Óá°mount /dev/hda1 /opt/zzz/msw98se¡±ÄÜ°Ñhda1ÒԿɶÁд·½Ê½¹Ò×°µ½¡°/opt/zzz/msw98se¡±Ä¿Â¼¡£»Ö¸´Íê±Ï£¬ÔÙ´ÎжÔغóÖØйÒװΪֻ¶ÁʱÓà ¡°mount /dev/hda1 /opt/zzz/msw98se¡±¡£
2.4.4 ¸ü¶à
²é¿´ÒѹÒ×°ÎļþϵͳµÄÇé¿öµÄÃüÁîΪ¡°mount¡±¡£
ͨÓõÄÎļþϵͳ¹Ò×°ÃüÁîÊÇ¡°mount É豸·¾¶/É豸Ãû -t ¸ÃÉ豸ÉϵÄÎļþϵͳÖÖÀà -o ÆäËû¸÷ÖÖÑ¡Ïî Òª¹Ò×°µÄµØ·½¡±¡£²ÎÊý¡°-t ¸ÃÉ豸ÉϵÄÎļþϵͳÖÖÀࡱֻÓÐLinux²»ÄÜ×Ô¶¯Ê¶±ð»òʶ±ð´íÎóʱ²ÅÐèÒª¡£
¹Òװʱ¾¡Á¿²»Òª°ÑÁ½¸öÉ豸¹ÒÔÚͬһ¸öµØ·½£¬ÒÔÃâ³öÂÒ×Ó¡£
ͨÓõÄÎļþϵͳжÔØÃüÁîÊÇ¡°umount É豸·¾¶/É豸Ãû¡±£¬Ò²¿ÉÒÔÊÇ¡°umount ҪжÔصÄÉ豸¹Ò×°µÄµØ·½¡±¡£
жÔØʱ¿ÉÄÜ»áÅöµ½¡°device is busy¡±µÄÌáʾ¡£ÇëÏÈ¿´¿´ÊÇ·ñÓÐÄĸö¡°Öնˡ±µ±Ç°Ä¿Â¼Î»ÓÚÄǸöÎļþϵͳ£¬Èç¹ûÓУ¬ÇëÇл»µ½ÆäËûĿ¼£¬×î±£ÏÕµÄÊÇ¡°cd /¡±¡£Èç¹ûÈÔ¾ÉÓÐÕâ¸öÌáʾ£¬ÇëÕÒ³ö²¢¹ØµôʹÓÃÕâ¸ö·ÖÇøµÄ³ÌÐò¡£
ÁоÙһЩ³£ÓÃÉ豸£º
IDE ½Ó¿ÚµÄCD-ROM£¬¡°/dev/cdrom¡±¡£ÕâÊÇÁ´½Ó£¬½Ð¿ì½Ý·½Ê½Ò²ÎÞ·Á¡£Êµ¼ÊÉ豸ÃûµÃ¿´ÄãµÄ¹âÇý½ÓÔÚÄĸöIDE¿ÚºÍÖ÷´ÓÉèÖã¬Åб𷽷¨ÓëIDEÓ²ÅÌÏàͬ¡£Èç¹ûÄÄÌìÄã°ÑÕâЩ¸ÄÁË£¬»òÕß¡°/dev/cdrom¡±±¾À´¾ÍÁ´½Ó´íÁË£¬Äã¿ÉÒÔɾ³ýÀϵġ°/dev/cdrom¡±£¬Ð½¨Á¢Ò»¸öÁ´½Ó¡£¹âÅÌÉϵÄÎļþϵͳ¶àΪ¡°iso9660¡±¡£È¡³ö¹âÅÌʱÈç¹ûÓÃÃüÁî¡°eject¡±£¬ÔòжÔغ͵¯³ö¹âÅÌ×Ô¶¯Íê³É¡£Èç¹û²»Ïë°´¹âÇýÃæ°åµÄ°´Å¥£¬¿ÉÓÃÃüÁî¡°eject -t¡±ÊջعâÇýÍÐÅÌ¡£
ÆÕͨÈíÇý£¬¡°/dev/fd0¡±£»Èç¹ûÄãÓеڶþÈíÇý(¹Å¶°¡)£¬ÄÇÊÇ¡°/dev/fd1¡±¡£Îļþϵͳô£¬µÃ¿´ÄãµÄÈíÅÌ£¬Èç¹ûÊÇFAT8µÈM$ϵͳ³£Óøñʽ£¬¾ÍÊÇ¡°vfat¡±¡£È¡³öʱÇë×¢ÒâÏÈжÔØ¡£
USB É豸һ°ã±»ÐéÄâ³ÉSCSIµÄ¡£Èç¹ûÄãµÄ»úÆ÷ÉÏûÓÐSCSIÉ豸£¬²åÉÏUSB½Ó¿ÚµÄÉÁÅÌ»òÒƶ¯Ó²ÅÌÒ»°ã±»Ê¶±ðΪ¡°/dev/sda¡±¡£Èç¹ûÅÌÉÏÒ²·ÖÇø£¬·ÖÇø±àºÅÓëÓ²ÅÌÅбð·½Ê½Ïàͬ¡£Èç¹ûUSBÉ豸±ê×¼£¬ºìÆìLinux×ÀÃæ4.0»á×Ô¶¯°ÑËüÃǹÒ×°ÔÚ¡°/mnt/USB¡±¡£È¡³öʱÇë×¢ÒâÏÈжÔØ¡£
µ½´Ë£¬ÄãÓ¦¸ÃÖªµÀ°ÑÄã×°¸èµÄ·ÖÇøÒÔʲô·½Ê½¹ÒÔÚÄĸöĿ¼ÏÂÃæºÍÈçºÎ²Ù×÷ÁË¡£°Ñ×°¸èµÄÄǸö·ÖÇø¹ÒºÃ£¬¿ª¡°MP3²¥·ÅÆ÷¡±¡£Ìý¸èÈ¥°É¡£
2.5 ÓëWindow$-NTÏà´¦
2.5.1 ¹²´æ
Window$-NT(°üÀ¨ÎÁ¶þØܺÍÎÁ²åƨ)£¬Ëã²»ÉÏÓѺõÄϵͳ£¬ÄÑÒÔÓë·ÇM$µÄϵͳ¹²´æ¡£°²×°ÍêLinux£¬Äã¿ÉÄÜ»áÓöµ½NTÀàÎ÷Æô¶¯¡¢ÔËÐпñÂýµÄÎÊÌâ¡£
WinNTÆô¶¯Ê±ÒªÉ¨ÃèËùÓеÄÎļþϵͳ£¬²¢×ö¼Ç¼¡£Õâ±¾À´ÊÇÓÉ·ÖÇø±í×öµÄÊÂÇ飬ËüÈ´ÒªÀ´²åÒ»¸Ü×Ó¡£¸ü²»¿ÉÀíÓ÷µÄÊÇ£¬Èç¹ûÄãɾ³ýÁËÒ»¸ö·ÖÇø²¢ÔÚÄÇÀïн¨ÁËÒ»¸öËü²»ÈÏʶµÄ·ÖÇø£¬ºÍËüµÄ¼ÇÒä¶Ô²»ÉÏ£¬ËüҲҪɨÃ裡½á¹ûËüɨÃèÁË°ëÌ죬»¹ÊÇûÈϳöÀ´£¬»¹ÀË·ÑÁËÄãµÄʱ¼ä¡£
Ò»¸ö±È½ÏºÃµÄ°ì·¨ÊÇÖØа²×°WinNT¡£ÔÚ´ËLinuxûÓÐÈκδíÎó¡£²»ÒªÉúÆø£¬ÒòΪÓÃWinNTµÄʧÎó³Í·£Äã×Ô¼ºÊDz»ÖµµÃµÄ¡£
2.5.2 Òýµ¼
Linux µÄÆô¶¯Òýµ¼Æ÷£¬²»¹ÜÊÇDRUB»¹ÊÇLILO£¬¶¼Äܹ»Ê¤ÈζàϵͳÒýµ¼£¬µ«ºÜÄÑÒýµ¼´¦ÓÚntfs·ÖÇøÖеÄϵͳ¡£ÔÒòÈÔÈ»³öÔÚM$ÉíÉÏ£ºntfsÊÇÒ»ÖÖ·â±Õ¸ñʽ£¬³ýÁËM$ÒÔÍ⣬ºÜÉÙÓÐÈËÖªµÀÕâÖÖ·ÖÇøÕæÕýµÄ¶Áд·½Ê½¡£Ö±µ½ÏÖÔÚ£¬ÈκÎM$ƽ̨ÒÔÍâ¶ÔntfsÎļþϵͳ½øÐеĶÁд²Ù×÷¶¼»¹´¦ÓÚ³¢ÊÔÖ®ÖС£ÕâÖÖÇé¿öÏ£¬ WinNTÖ»ÄÜÓÃËü×Ô¼ºµÄÒýµ¼Æ÷ntldrÀ´Æô¶¯¡£
Linux²»Åųântldr£¬Ö»ÒªntldrÄÜÕÒµ½×°ÓÐLinuxÆô¶¯Òýµ¼Æ÷µÄÉÈÇø£¬ Linux¼´¿ÉÆô¶¯¡£È»¶øM$²»»áΪËüµÄϵͳÌí¼Ó¶ÔLinux·ÖÇøµÄÖ§³Ö£¬ntldrÎÞ·¨¶ÁÈ¡Linux·ÖÇøµÄÄÚÈÝ£¬»¹µÃ×Ô¼º¶¯ÊÖ¸øÕâ¸öÉÈÇø×ö¸ö¾µÏ󣬷ŵ½ntldrÄܹ»¶Áµ½µÄµØ·½£¬ÐÞ¸ÄntldrµÄÅäÖÃÎļþ£¬ÈÃËüÈ¥¶ÁÕâ¸ö¾µÏó¡£
ÈÔÈ»¿ª¡°Öնˡ±¡£Ö´ÐÐÃüÁî¡°dd if=/dev/Äã°²×°Æô¶¯Òýµ¼Æ÷µÄ·ÖÇø of=/ijijÎļþÃû bs=512 count=1¡±£¬LinuxÒýµ¼ÉÈÇøµÄ¾µÏó¾Íдµ½¡°/ijijÎļþÃû¡±ÀïÁË¡£°ÑÕâ¸ö¾µÏó¸´ÖƵ½Window$/DOS·ÖÇø¡£
ÎÒÅöµ½¹ýµÄÇé¿öÊÇ£¬M$µÄϵͳ²»Ö¹Ò»¸ö£¬Õâʱ¡°CÅÌ¡±¶¥²ã»áÓÐÒ»¸öÎļþ¡°boot.ini¡±¡£ÔÚ´ËÎļþ×îµ×²¿Ìí¼ÓÈçÏÂÒ»ÐУº
C:\Äã·ÅÖþµÏóµÄĿ¼\¾µÏóµÄÎļþÃû = "ºìÆìLinux×ÀÃæ4.0Bate/Õýʽ°æ"
ÖØÐÂÆô¶¯¼ÆËã»úµÄʱºò£¬Window$-NTµÄÆô¶¯Òýµ¼²Ëµ¥Àï¾Í»á³öÏÖ¡°ºìÆìLinux×ÀÃæ4.0Bate/Õýʽ°æ¡±£¬ÕâÏîÄܹ»Òýµ¼LinuxÆô¶¯¡£