Configuration HOWTO ÀúÀÚ: Guido Gonzato, guido@ibogfs.cineca.it ¹ø¿ª: ¹Ú¹Î¼®, dolman@correl1.snu.ac.kr v0.99.3, 4 November 1997 Configuration HOWTOÀÇ ¸ñÀûÀº »õ·Î ¼³Ä¡ÇÑ ¸®´ª½º ½Ã½ºÅÛÀÇ ¼¼ºÎ ¼³Á¤À» ´õ ºü¸£°í ½±°Ô Çϵµ·Ï ÇÏ´Â °ÍÀÌ´Ù. ÀÌ ¹®¼­¿¡´Â ³Î¸® ¾²ÀÌ´Â ÀÀ¿ë ÇÁ·Î±×·¥µéÀ» À§ÇÑ ¼³Á¤ÀÌ Æ÷ÇԵǾî ÀÖÀ¸¸ç, À̸¦ ÀÌ¿ëÇÏ¸é ¾²±â ½¬¿î ½Ã½ºÅÛ¿¡¼­ ÀÛ¾÷À» ½ÃÀÛÇÒ ¼ö ÀÖÀ» °ÍÀÌ´Ù. ______________________________________________________________________ ¸ñÂ÷ 1. ¼Ò°³ 2. ÀϹÝÀûÀÎ ½Ã½ºÅÛ ¼³Á¤ 2.1 Å°º¸µå 2.2 Ä¿³Î 2.3 ºÎÆ®¾÷ ¸Þ½ÃÁö 2.4 È£½ºÆ® À̸§ 2.5 ¼¾µå¸ÞÀÏ¿¡ ÀÇÇÑ Áöü 2.6 µð¹ÙÀ̽º µå¶óÀ̹ö 2.7 ¸¶¿ì½º 2.8 ¸¶¿îÆ® ÁöÁ¡ 2.9 LILO¿Í Loadlin 2.10 ÇÁ¸°ÅÍ ¼³Á¤ 3. ¼ÒÇÁÆ®¿þ¾î ¼³Á¤ 3.1 bash(1) 3.2 ls(1) 3.3 less(1) 3.4 emacs(1) 3.5 joe(1) 3.6 jed 3.7 TeX ¹× °ü·Ã ÇÁ·Î±×·¥µé 3.8 PPP 3.9 POP Ŭ¶óÀ̾ðÆ® 3.10 X À©µµ¿ì ½Ã½ºÅÛ 3.11 Æ÷Æ®¶õ 3.12 °³º° »ç¿ëÀÚ¸¦ À§ÇÑ ¼³Á¤ 4. ³¡ 4.1 ÀúÀÛ±Ç 4.2 ÀÇ°ß 4.3 Ã¥ÀÓ¿¡ ´ëÇÑ Æ÷±â ______________________________________________________________________ 1. ¼Ò°³ ÇÊÀÚ´Â ¸¹Àº PC¿¡ ¸®´ª½º¸¦ ¼³Ä¡Çϸ鼭 ÇöÀçÀÇ ¹èÆ÷º»µéÀÌ ¸Å¿ì ÈǸ¢ÇÏ´Ù´Â °ÍÀ» ¾Ë¾ÒÁö¸¸, ¶§·Î´Â ±âº»ÀûÀÎ ¼³Á¤ÀÌ ºüÁ® ÀÖ´Â ¹ø°Å·Î¿òÀ» °Þ±âµµ Çß´Ù. ´ëºÎºÐÀÇ ÇÁ·Î±×·¥µéÀº ¸®´ª½º¿¡¼­ Á¦´ë·Î ÀÛµ¿ÇÏÁö¸¸, ±×·¸Áö ¾ÊÀº °Íµµ ÀÖ´Ù. ÀÌ°ÍÀº ºÎ²ô·¯¿î ÀÏÀÌ´Ù. ÇÊÀÚ´Â Ãʺ¸ÀÚµéÀÌ ÄÉÄɹ¬Àº "¹é½ºÆäÀ̽º ¹®Á¦"¸¦ °¨³»ÇØ¾ß Çϰųª, À̸ƽº¿¡´Â »ö±òÀÌ ¾ø´Ù°í »ý°¢ÇØ¾ß Çϰųª, ȤÀº µð·ºÅ͸®ÀÇ ³»¿ëÀ» °ËÀº»ö°ú Èò»öÀ¸·Î¸¸ º¸¾ß¾ß ÇÒ ÀÌÀ¯ µûÀ§´Â ¾îµð¿¡µµ ¾ø´Ù°í »ý°¢ÇÑ´Ù. ÇÊÀÚ´Â °¡Àå ¸ÕÀú ¼³Á¤ÇØ¾ß ÇÒ °ÍµéÀ» ±â¾ïÇϱâ À§Çؼ­ À϶÷Ç¥¸¦ ÀÛ¼ºÇߴµ¥, ÀÌ HOWTO´Â ±× À϶÷Ç¥¸¦ ¹ßÀü½ÃŲ °ÍÀÌ´Ù. ÀÌ ¹®¼­¸¦ Àд µ¿¾È °¡Àå ÈçÇÑ ÀÀ¿ë ÇÁ·Î±×·¥µéÀ» À§ÇÑ ¼³Á¤ÀÇ »ç·ÊµéÀ» ¸¹ÀÌ ¹ß°ßÇÒ ¼ö ÀÖÀ» °ÍÀÌ´Ù. ÀÌ »ç·ÊµéÀº ·¹µåÇÞ ¹èÆ÷º»À» ÀÌ¿ëÇؼ­ ¸®´ª½º ½Ã½ºÅÛÀ» ¼³Ä¡ÇØ ¿Â ÇÊÀÚÀÇ °³ÀÎÀûÀÎ °æÇè¿¡ ±âÃʸ¦ µÐ °ÍÀÌ´Ù. µû¶ó¼­ ´Ù¸¥ ¹èÆ÷º»À» »ç¿ëÇÏ°í ÀÖ´Ù¸é ÁÖÀÇÇÏ¿©¾ß ÇÑ´Ù. ÀÌ ¹®¼­ÀÇ ³»¿ëÀ» °ðÀÌ °ð´ë·Î ¹Þ¾ÆµéÀÌÁö´Â ¾Ê±â ¹Ù¶õ´Ù. ÀÌ ¹®¼­ÀÇ »ç·ÊµéÀº ÇÊÀÚÀÇ °æ¿ì Á¦´ë·Î ¸ÔÇôµé¾ú´ø °ÍµéÀÏ »ÓÀÌ´Ù. ´õ ¸¹Àº °ÍµéÀ» ¾Ë°í ½Í´Ù¸é, ÆÐÅ°Áö¿¡ µþ·Á¿Â ¹®¼­µé°ú °ü·Ã HOWTOµéÀ» Àо¾Æ¾ß¸¸ ÇÑ´Ù. ÀÌ HOWTO´Â ´ÜÁö °£ÆíÇÏ°í ¾µ¸ðÀÖ´Â À϶÷Ç¥ÀÌ°íÀÚ ÇÒ »ÓÀÌ´Ù. PCÀÇ Çϵå¿þ¾î »ç¾ç¿¡´Â ³¡ÀÌ ¾øÁö¸¸, ÇÊÀÚÀÇ °æÇè¿¡ µû¸£¸é ¼¼ °³ÀÇ ÆÄƼ¼Ç(Çϳª´Â DOS/Windows, Çϳª´Â ¸®´ª½º, Çϳª´Â ½º¿Ò)À¸·Î ³ª´µ¾îÁø ´ë¿ë·® Çϵåµð½ºÅ©¿Í ¸ðµ©, CD-ROM µå¶óÀ̺ê¿Í ÇÁ¸°ÅÍ, ¸¶¿ì½º¸¦ ÀåÂøÇÑ PC°¡ °¡Àå ÈçÇÑ µí ÇÏ´Ù. ÇÊÀÚ´Â ÀÌ·± Çϵå¿þ¾î »ç¾ç¿¡¼­ ¸®´ª½º¸¦ ¼³Á¤ÇÑ´Ù°í °¡Á¤ÇÏ°Ú´Ù. ÇÏÁö¸¸ ¾Æ·¡¿¡ ¼³¸íµÉ ÆÁÀ» ´Ù¸¥ »ç¾ç¿¡ Àû¿ëÇÏ´Â °ÍÀº ½¬¿î ÀÏÀÌ´Ù. ÀÌÈÄ ÆÄÀÏÀ» ÆíÁýÇϰųª ¼öÁ¤Çϰųª ÇØÅ·ÇÒ ¶§¿¡´Â ·çÆ®ÀÇ ±ÇÇÑÀ» °¡Áö°í ÀÖ´Ù°í ¾Ï¹¬ÀûÀ¸·Î °¡Á¤Çϵµ·Ï ÇÒ °ÍÀÌ´Ù. ÀÚ, ±×·³ ÀÌÁ¦ ½ÃÀÛÇØ º¸ÀÚ. 2. ÀϹÝÀûÀÎ ½Ã½ºÅÛ ¼³Á¤ 2.1. Å°º¸µå ¿ì¼± Å°º¸µå¸¦ ¼³Á¤ÇÏ´Â ¹æ¹ýÀ» ¾Ë¾Æ¾ß ÇÑ´Ù. ¼³Ä¡ÇÏ´Â µ¿¾È ÀÌ °úÁ¤À» ºüÆ®·È°Å³ª Å°º¸µå¸¦ ¹Ù²Ù°íÀÚ ÇÑ´Ù¸é, ¾Æ·¡ÀÇ ÀýÂ÷¸¦ µû¶ó¾ß ÇÑ´Ù. - /usr/lib/kbd/keytables¿¡¼­ Àû´çÇÑ Å° Å×À̺íÀ» ¼±ÅÃÇÑ´Ù. ¿¹¸¦ µé¾î ÀÌÅ»¸®¾Æ Å°º¸µå¶ó¸é it.mapÀ» °í¸¥´Ù. - /etc/sysconfig/keyboard¸¦ ÆíÁýÇؼ­ ¾Æ·¡¿Í °°ÀÌ µÇµµ·Ï ÇÑ´Ù. KEYTABLE="/usr/lib/kbd/keytables/it.map" - Å°º¸µåÀÇ ¹Ýº¹ ºñÀ²°ú Áö¿¬ ½Ã°£À» ¼³Á¤ÇÏ·Á¸é, /etc/profileÀ̳ª rc ÆÄÀÏ °¡¿îµ¥ Çϳª¿¡ ¾Æ·¡ÀÇ ÇàÀ» Ãß°¡ÇÑ´Ù. /sbin/kbdrate -s -r 16 -d 500 # or whatever - ³¡À¸·Î Å°º¸µå¸¦ ¼³Á¤ÇÒ ±ÇÇÑÀ» ¾ò±â À§ÇØ ¾Æ·¡¿Í °°ÀÌ ÇØÁØ´Ù. ~# chmod 666 /dev/port Å°º¸µå´Â ´ÙÀ½¿¡ ºÎÆÃÇÒ ¶§ºÎÅÍ º¯°æµÈ »çÇ×´ë·Î ÀÛµ¿ÇÏ°Ô µÈ´Ù. 2.2. Ä¿³Î ´ÙÀ½¿¡ ÇØ¾ß ÇÒ ÀÏÀº ÀÚ½ÅÀÇ ½Ã½ºÅÛ¿¡ °¡Àå ÀûÇÕÇϵµ·Ï Ä¿³ÎÀ» À籸¼ºÇÏ´Â °ÍÀÌ´Ù. ¸Å¿ì ½±±â´Â ÇÏÁö¸¸, ¹Ýµå½Ã /usr/src/linuxÀÇ README ÆÄÀÏÀ» Àо¾Æ¾ß ÇÑ´Ù. ¿ä·ÉÀº ´ÙÀ½°ú °°´Ù. - ÀÚ½ÅÀÌ ¿øÇÏ´Â °ÍÀÌ ¹«¾ùÀÎÁö Àß »ý°¢ÇØ¾ß ÇÑ´Ù. ÇÑ ´ÞÀÌ ¸Ö´Ù ÇÏ°í Àç ¼³Á¤, Àç ÄÄÆÄÀÏ ÇÏ´Â °Íº¸´Ù´Â, ÇÑ ¹ø¿¡ ÀûÀýÇÑ Ä¿³ÎÀ» ¼±ÅÃÇÏ°í ÆÐÄ¡¸¦ ³¡³»´Â ÆíÀÌ ´õ »ý»êÀûÀÌ´Ù. ƯÈ÷ ¼­¹ö·Î ¾²´Â ¸®´ª½º ½Ã½ºÅÛÀÇ °æ¿ì¿¡´Â ÀÌ Á¡ÀÌ Áß¿äÇÏ´Ù. ÀåÂ÷ Ãß°¡ÇÒ °¡´É¼ºÀÌ ÀÖ´Â ¸ðµç Çϵå¿þ¾î¸¦ Áö¿øÇϵµ·Ï ÇÏ´Â °ÍÀ» Àؾ´Â ¾ÈµÈ´Ù. - »çÀ̸¯½º CPU¸¦ ¾²´Â PC¶ó¸é ¼º´É Çâ»óÀ» À§ÇØ ÀûÀýÇÑ ÆÐÄ¡¸¦ °¡ÇØ¾ß ÇÑ´Ù. www.linuxhq.com/patch/20-p0591.html ¿¡ ÀÖ´Â Á¤º¸¸¦ ÂüÁ¶Çϱ⠹ٶõ´Ù. - ³ëÆ®ºÏ »ç¿ëÀÚ¶ó¸é noblink ÆÐÄ¡¸¦ ½á¼­ È­¸éÀ» Á» ´õ Àб⠽±°Ô ÇÏ´Â ÆíÀÌ ÁÁ´Ù. - ³ëÆ®ºÏ »ç¿ëÀÚ°¡ PCMCIA ¸ðµ©/Æѽº¸¦ ¾µ °èȹÀ̶ó¸é, ½Ã¸®¾ó Áö¿øÀ» ¸ðµâ·Î ÄÄÆÄÀÏÇؼ­´Â ¾ÈµÈ´Ù. Ä¿³Î ³»ºÎ¿¡ Æ÷ÇÔ½ÃÅ°Áö ¾ÊÀ¸¸é PCMCIA ¸ðµ©ÀÌ ÀÛµ¿ÇÏÁö ¾Ê´Â´Ù. 2.3. ºÎÆ®¾÷ ¸Þ½ÃÁö ºÎÆ®¾÷ ¸Þ½ÃÁö¸¦ ÃëÇâ¿¡ ¸ÂÃß°í ½ÍÀ¸¸é, /etc/rc.d/rc.localÀÌ /etc/issue¿Í /etc/motd¸¦ µ¤¾î¾²´Â Áö È®ÀÎÇÏ¿©¾ß ÇÑ´Ù. µ¤¾î¾²°Ô µÇ¾î ÀÖ´Ù¸é ÆíÁýÇؼ­ ¹Ù²Ùµµ·Ï Ç϶ó. 2.4. È£½ºÆ® À̸§ "hostname new_host_name"À̶ó°í ¸í·ÉÀ» ³»¸®´Â °ÍÀ¸·Î´Â ÃæºÐÇÏÁö ¾Ê´Ù. /etc/sysconfig/network ÆÄÀÏÀ» ÆíÁýÇؼ­ ±× ¾ÈÀÇ È£½ºÆ® À̸§À» ¹Ù²ã¾ß ÇÑ´Ù. 2.5. ¼¾µå¸ÞÀÏ¿¡ ÀÇÇÑ Áöü ¾î¶² ½Ã½ºÅÛ¿¡¼­´Â ºÎÆÃÇÒ ¶§ ¼¾µå¸ÞÀÏ ¶§¹®¿¡ ÁöüµÇ°ï ÇÑ´Ù. ÀÌ·± °æ¿ì¿¡´Â /etc/hosts ÆÄÀÏ¿¡ 127.0.0.1 localhost ¶ó´Â ÇàÀÌ µé¾îÀÖ´ÂÁö È®ÀÎÇؼ­ ¾øÀ¸¸é Ãß°¡ÇØ¾ß ÇÑ´Ù. 2.6. µð¹ÙÀ̽º µå¶óÀ̹ö /dev¿¡ µé¾îÀÖ¾î¾ß ÇÒ µð¹ÙÀ̽º°¡ (ȤÀº ½ÇÁ¦ µð¹ÙÀ̽º µå¶óÀ̹ö·Î ¿¬°áµÈ ¸µÅ©°¡) ¾øÀ» ¼öµµ ÀÖ´Ù. ÀÚ½ÅÀÇ ¸¶¿ì½º, ¸ðµ©, CD-ROM µå¶óÀ̹ö°¡ ¾î´À µð¹ÙÀ̽º¿¡ ´ëÀÀµÇ´ÂÁö È®ÀÎÇÑ µÚ ¾Æ·¡¿Í °°ÀÌ ÇÏ¸é µÈ´Ù. ~# cd /dev /dev# ln -s /dev/cua0 mouse /dev# ln -s /dev/cua1 modem /dev# ln -s /dev/hdb cdrom ±×¸®°í ÇÊ¿äÇÏ´Ù¸é "chmod 666"À¸·Î ¸ðµç »ç¿ëÀÚµéÀÌ ÀÌ µð¹ÙÀ̽ºµéÀ» ¸¶À½´ë·Î ¾²µµ·Ï ÇÑ´Ù. ÆÁ: ¾î¶² ·¦Å¾ ÄÄÇ»ÅÍÀÇ °æ¿ì¿¡´Â ¸¶¿ì½º µð¹ÙÀ̽º°¡ /dev/psauxÀÌ´Ù. X À©µµ¿ì¸¦ ¼³Á¤ÇÒ ¶§ ÀÌ Á¡µµ °í·ÁÇØ¾ß ÇÑ´Ù. Ãß°¡·Î "chmod 666 /dev/fd*"·Î ·çÆ® ÀÌ¿ÜÀÇ »ç¿ëÀÚ°¡ Ç÷ÎÇÇ µð½ºÅ© µå¶óÀ̺긦 »ç¿ëÇÒ ¼ö ÀÖµµ·Ï ÇÏ°í ½ÍÀ» ¼öµµ ÀÖ´Ù. ÀÌ·¸°Ô ÇÏ´Â °ÍÀº º¸¾È ¹®Á¦¸¦ ÀÏÀ¸Å³ ¼ö ÀÖÁö¸¸, ÇÊÀÚ´Â ÀÚ¼¼ÇÑ ³»¿ëÀ» ¸ð¸¥´Ù. ÀÌ Á¡¿¡ ´ëÇÑ Á¶¾ðÀ» ºÎŹÇÑ´Ù. 2.7. ¸¶¿ì½º gpm ¸¶¿ì½º ¼­ºñ½º¸¦ ÀÌ¿ëÇϸé Äֿܼ¡¼­ º¹»ç/»ðÀÔÀ» Çϰųª ÀϺΠÀÀ¿ë ÇÁ·Î±×·¥¿¡¼­ ¸¶¿ì½º¸¦ »ç¿ëÇϴµ¥ Æí¸®ÇÏ´Ù. /etc/sysconfig/mouse ¶ó´Â ÆÄÀÏ¿¡ ¾Æ·¡¿Í °°Àº ÇàÀÌ ÀÖ´ÂÁö È®ÀÎÇϱ⠹ٶõ´Ù. MOUSETYPE="Microsoft" XEMU3=yes ¾Æ¿ï·¯ /etc/rc.d/init.d/gpm ÆÄÀÏÀÌ ÀÖ¾î¾ß ÇÑ´Ù. ¹°·Ð ÀÌ ¼³Á¤ÀÌ ÀÚ±âÀÇ ¸¶¿ì½º¿¡ ¸Â´ÂÁö È®ÀÎÇØ¾ß ÇÑ´Ù. ÆÁ: ¾î¶² ·¦Å¾ ÄÄÇ»ÅÍ¿¡¼­´Â MOUSETYPEÀÌ "PS/2"ÀÌ´Ù. 2.8. ¸¶¿îÆ® ÁöÁ¡ Ç÷ÎÇÇ¿Í CD-ROM, µµ½º ÆÄƼ¼Ç ¹× ±âŸ ÀåÄ¡µé¿¡ ´ëÇÑ ¸¶¿îÆ® ÁöÁ¡À» °¡Áö°í ÀÖ´Â °ÍÀÌ ÆíÇÏ´Ù. ¿¹¸¦ µé¾î ´ÙÀ½°ú °°ÀÌ ÇÒ ¼ö ÀÖ´Ù. ~# cd /mnt /# mkdir a: ; mkdir floppy ; mkdir cdrom ; mkdir win ; mkdir zip ÀÌ·¸°Ô ÇÔÀ¸·Î½á MS-DOS Ç÷ÎÇÇ¿Í ext2 Ç÷ÎÇÇ, CD-ROM, µµ½º ÆÄƼ¼Ç, º´·Ä Æ÷Æ®¸¦ ÀÌ¿ëÇÏ´Â Zip µå¶óÀ̺êÀÇ ¸¶¿îÆ® ÁöÁ¡À» ¸¸µé ¼ö ÀÖ´Ù. ´ÙÀ½¿¡´Â /etc/fstab ÆÄÀÏÀ» ÆíÁýÇؼ­ ¾Æ·¡ÀÇ ³»¿ëÀ» Ãß°¡ÇÑ´Ù. /dev/fd0 /mnt/a: msdos user,noauto 0 1 /dev/fd0 /mnt/floppy ext2 user,noauto 0 1 /dev/cdrom /mnt/cdrom iso9660 ro,user,noauto 0 1 /dev/hda1 /mnt/dos msdos user,noauto 0 1 /dev/sda4 /mnt/zip vfat user,noauto 0 1 ¹°·Ð ù ¹ø° Ç׸ñ¿¡´Â Á¤È®ÇÑ µð¹ÙÀ̽º¸¦ ½á¾ß ÇÑ´Ù. À©95ÀÇ ±ä ÆÄÀÏ À̸§À» »ç¿ëÇϱâ À§ÇØ ¸¶Áö¸· ÁÙ¿¡¼­´Â msdos ´ë½Å vfat¸¦ »ç¿ëÇß´Ù. ÇÏÁö¸¸ (¾ÆÁ÷Àº) vfat32¿¡´Â ÀÌ°ÍÀÌ Àû¿ëµÇÁö ¾Ê´Â´Ù. 2.9. LILO¿Í Loadlin ¸¹Àº »ç¿ëÀÚµéÀÌ PC¿¡ ¸®´ª½º¿Í µµ½º/À©µµÁ ÇÔ²² ¾²±â¸¦ ¹Ù¶ó°í ÀÖ°í, ¶Ç ºÎÆÃÇÒ ¶§ ¾î´À ¿î¿µÃ¼Á¦¸¦ ¾µ °ÍÀÎÁö ¼±ÅÃÇÏ°í ½Í¾îÇÑ´Ù. /dev/hda1¿¡´Â µµ½º/À©µµÁî°¡ ÀÖ°í, /dev/hda2¿¡´Â ¸®´ª½º°¡ ÀÖ´Ù°í ÇÒ ¶§, ¾Æ·¡¿Í °°ÀÌ ÇÏ¸é µÈ´Ù. ~# fdisk Using /dev/hda as default device! Command (m for help):a Partition number (1-4): 2 Command (m for help):w ~# ÀÌ·¸°Ô ÇÏ¸é ¸®´ª½º ÆÄƼ¼ÇÀÌ ºÎÆà °¡´ÉÇÏ°Ô µÈ´Ù. ÀÌ ´Ü°è´Â LILOÀÇ QuickInst¸¦ ½ÇÇàÇÒ ¶§, È°¼ºÈ­(activate)¿¡ ÀÇÇؼ­ ¼öÇàµÇ¾î¾ß ÇÏÁö¸¸, ÇÊÀÚÀÇ ·¹µåÇÞ¿¡¼­´Â ÀÛµ¿µÇÁö ¾Ê¾Ò´Ù. ¾Æ·¡¿Í °°ÀÌ ±âº»ÀûÀÎ /etc/lilo.conf ÆÄÀÏÀ» ¾²µµ·Ï ÇÑ´Ù. boot = /dev/hda2 compact delay = 50 # message = /boot/bootmesg.txt # write your own root = current image = /boot/vmlinuz label = linux other = /dev/hda1 table = /dev/hda label = dos ÀÌÁ¦ /sbin/lilo¸¦ ¼öÇàÇÏ¸é ¼³Á¤Àº ³¡³­´Ù. LILO´Â ¼³Ä¡°úÁ¤¿¡¼­ ¸Å¿ì Áß¿äÇÑ ºÎºÐÀ̱⠶§¹®¿¡, ¹Ýµå½Ã ¸®·Î¿¡ µþ¸° ¹®¼­¸¦ Àеµ·Ï °­·ÂÈ÷ ±Ç°íÇÑ´Ù. µµ½º¿¡¼­ ¸®¼Â ´ÜÃ߸¦ ´©¸£Áö ¾Ê°í ¸®´ª½º¸¦ ºÎÆýÃÅ°·Á¸é, LOADLIN.EXE¸¦ µµ½ºÀÇ Æнº¿¡ Æ÷ÇÔµÈ (µµ½º ÆÄƼ¼Ç ³»ÀÇ!) µð·ºÅ͸®¿¡ À§Ä¡½ÃŲ´Ù. ´ÙÀ½¿¡´Â ÀÚ½ÅÀÇ Ä¿³ÎÀ» ¿¹¸¦ µé¾î C:\DOS\VMLINUZ·Î º¹»çÇÑ´Ù. ÀÌÁ¦ ¾Æ·¡¿Í °°Àº ¹èÄ¡ ÆÄÀÏ·Î ¸®´ª½º¸¦ ºÎÆýÃų ¼ö ÀÖ´Ù. rem linux.bat smartdrv /C loadlin c:\dos\vmlinuz root=/dev/hda2 r À©µµÁî 95¸¦ ¾´´Ù¸é, ÀÌ ¹èÄ¡ ÆÄÀÏÀÇ ¼Ó¼ºÀ» µµ½º ¸ðµå¿¡¼­ ½ÃÀÛÇÏ´Â °ÍÀ¸·Î ¼³Á¤ÇØ¾ß ÇÑ´Ù. 2.10. ÇÁ¸°ÅÍ ¼³Á¤ ·¹µåÇÞ¿¡´Â ÈǸ¢ÇÑ ¼³Á¤ µµ±¸°¡ À־ ÇÊÀÚ´Â HP µ¥½ºÅ©Á¬ 400 ¼³Á¤À» ¸ÚÁö°Ô ³¡³¾ ¼ö ÀÖ¾ú´Ù. ¸¸¾à ·¹µåÇÞÀ» ¾²Áö ¾Ê´Â´Ù¸é ¾Æ·¡¿Í °°ÀÌ ¼öµ¿ ¼³Á¤À» ÇØ¾ß ÇÑ´Ù. Æ÷½ºÆ®½ºÅ©¸³Æ®¸¦ Áö¿øÇÏÁö ¾Ê´Â ÇÁ¸°ÅÍ·Î (C ¼Ò½º ÆÄÀÏ °°Àº) ÅؽºÆ® ÆÄÀÏ°ú Æ÷½ºÆ®½ºÅ©¸³Æ® ÆÄÀÏÀ» ÀμâÇÏ°í ½Í´Ù°í ÇÏÀÚ. Æ÷½ºÆ®½ºÅ©¸³Æ®¸¦ ÀμâÇÏ·Á¸é °í½ºÆ®½ºÅ©¸³Æ®¸¦ ½á¾ß ÇϹǷΠ¹Ì¸® ¼³Ä¡µÇ¾î ÀÖ´Ù°í °¡Á¤Çϱâ·Î ÇÑ´Ù. ÇÁ¸°ÅÍ ¼³Á¤Àº ¸î °¡Áö ´Ü°è·Î ÀÌ·ç¾îÁø´Ù. - º´·Ä ÇÁ¸°ÅÍ µð¹ÙÀ̽º°¡ ¹«¾ùÀÎÁö ¾Ë¾Æº¸±â À§ÇØ, ´ÙÀ½°ú °°ÀÌ ÇÏ°í ~# echo "hello, world" > /dev/lp0 ~# echo "hello, world" > /dev/lp1 ¾î´À °ÍÀÌ ÀÛµ¿ÇÏ´ÂÁö Àû¾îµÐ´Ù. - µÎ °³ÀÇ ½ºÇ® µð·ºÅ͸®¸¦ ¸¸µç´Ù. ~# cd /var/spool/lpd /var/spool/lpd/# mkdir raw ; mkdir postscript - ÇÁ¸°ÅÍ°¡ "°è´Ü Çö»ó"À» º¸Àδٸé (´ëºÎºÐÀÇ À×Å©Á¬) ÇÊÅÍ°¡ ÇÊ¿äÇÏ´Ù. ¾Æ·¡¿Í °°ÀÌ ÇÏ¿© µÎ ÁÙÀ» ÇÁ¸°Æ®ÇØ º»´Ù. ~# echo "first line" > /dev/lp1 ; echo "second line" > /dev/lp1 Ãâ·Â °á°ú°¡ first line second line À̸é, ¾Æ·¡ÀÇ ÆÄÀÏÀ» /var/spool/lpd/raw/filter¶ó°í ÀúÀåÇÏ°í, #!/bin/sh # This filter does away with the "staircase effect" awk '{print $0, "\r"}' "chmod 755 /var/spool/lpd/raw/filter"·Î ½ÇÇà °¡´ÉÇÏ°Ô ÇÑ´Ù. - Æ÷½ºÆ®½ºÅ©¸³Æ® ¿¡¹Ä·¹À̼Ç(¸ð¹æ)À» À§ÇÑ ÇÊÅ͸¦ ¸¸µéÀÚ. ¾Æ·¡¿Í °°Àº ÇÊÅ͸¦ /var/spool/lpd/postscript/filter ·Î ÀúÀåÇÑ´Ù. #!/bin/sh DEVICE=djet500 RESOLUTION=300x300 PAPERSIZE=a4 SENDEOF= nenscript -TUS -ZB -p- | if [ "$DEVICE" = "PostScript" ]; then cat - else gs -q -sDEVICE=$DEVICE \ -r$RESOLUTION \ -sPAPERSIZE=$PAPERSIZE \ -dNOPAUSE \ -dSAFER \ -sOutputFile=- - fi if [ "$SENDEOF" != "" ]; then printf "\004" fi (¿©±â¼­´Â HP µ¥½ºÅ©Á¬ ÇÁ¸°Å͸¦ °¡Á¤Çß´Ù. ÀÚ½ÅÀÇ ÇÁ¸°ÅÍ¿¡ ¸ÂÃßµµ·Ï ÇÑ´Ù.) - ³¡À¸·Î ¾Æ·¡ÀÇ ³»¿ëÀ» /etc/printcap¿¡ Ãß°¡ÇÑ´Ù. # /etc/printcap lp|ps|PS|PostScript|djps:\ :sd=/var/spool/lpd/postscript:\ :mx#0:\ :lp=/dev/lp1:\ :if=/var/spool/lpd/postscript/filter:\ :sh: raw:\ :sd=/var/spool/lpd/raw:\ :mx#0:\ :lp=/dev/lp1:\ :if=/var/spool/lpd/raw/filter:\ :sh: ´õ º¹ÀâÇϰųª ƯÀÌÇÑ ÇÁ¸°Æà ¼³Á¤ÀÌ ÇÊ¿äÇϸé Printing-HOWTO¸¦ Àо±â ¹Ù¶õ´Ù. ·¹µåÇÞ »ç¿ëÀÚµéÀ» À§ÇØ: ÇÁ¸°Æ®ÅøÀÌ ¼±ÅÃÇÑ GSDEVICE´Â Á¦´ë·Î ÀÛµ¿ÇÒ °ÍÀÌ´Ù. ÇÏÁö¸¸ ÀÌ°ÍÀÌ ÀÚ½ÅÀÇ ÇÁ¸°ÅÍ¿¡ °¡Àå ¾Ë¸ÂÀº °ÍÀº ¾Æ´Ò ¼öµµ ÀÖ´Ù. postscript.cfg ÆÄÀÏÀÇ »ç¼ÒÇÑ ³»¿ëµéÀ» »ìÆ캸´Â °ÍÀÌ ÁÁ´Ù. ¿¹¸¦ µé¾î ÇÊÀÚÀÇ °æ¿ì¿¡´Â GSDEVICE¸¦ cdj500¿¡¼­ djet500À¸·Î ¹Ù²å´õ´Ï Ãâ·Â ¼Óµµ°¡ ÈξÀ »¡¶óÁ³´Ù. 3. ¼ÒÇÁÆ®¿þ¾î ¼³Á¤ 3.1. bash(1) bash¸¦ ±æµéÀÌ·Á¸é ´ÙÀ½°ú °°Àº ÆÄÀϵéÀ» ÆíÁýÇØ¾ß ÇÑ´Ù. - /etc/bashrc¿¡´Â ½Ã½ºÅÛ ±Ô¸ðÀÇ aliasµé°ú ÇÔ¼öµéÀÌ µé¾îÀÖ´Ù. - /etc/profile¿¡´Â ½Ã½ºÅÛ ±Ô¸ðÀÇ È¯°æ ¼³Á¤°ú ½ÃÀÛ ÇÁ·Î±×·¥µéÀÌ µé¾îÀÖ´Ù. - $HOME/.bashrc¿¡´Â »ç¿ëÀÚ°¡ Á¤ÀÇÇÑ aliasµé°ú ÇÔ¼öµéÀÌ ÀÖ´Ù. - $HOME/.bash_profile¿¡´Â »ç¿ëÀÚ°¡ °áÁ¤ÇÑ È¯°æ ¼³Á¤°ú ½ÃÀÛ ÇÁ·Î±×·¥µéÀÌ µé¾îÀÖ´Ù. - $HOME/.bash_logout¿¡´Â ·Î±× ¾Æ¿ôÇÒ ¶§ ¼öÇàµÉ ÇൿÀÌ µé¾îÀÖ´Ù. - $HOME/.inputrc¿¡´Â Å° °áÁ¤(binding)°ú ±âŸ ³»¿ëµéÀÌ ÀÖ´Ù. ¿¹Á¦ ÆÄÀϵéÀ» ¾Æ·¡¿¡ Àû¾î µÎ¾ú´Ù. ù ¹ø°´Â °¡Àå Áß¿äÇÑ /etc/profile ÀÌ´Ù. ÀÌ ÆÄÀÏÀº À̾îÁö´Â ¿©·¯ Àý¿¡¼­ º¸°Ô µÇµíÀÌ ¸®´ª½º ½Ã½ºÅÛÀÇ ¸¹Àº Ư¼ºÀ» °áÁ¤Çϱâ À§ÇØ ¾²ÀδÙ. # /etc/profile # ½Ã½ºÅÛ ±Ô¸ðÀÇ È¯°æ ¹× ½ÃÀÛ ÇÁ·Î±×·¥. # ÇÔ¼ö¿Í alias´Â /etc/bashrc¿¡ Àûµµ·Ï ÇÑ´Ù. # ÀÌ ÆÄÀÏÀº ´ÙÀ½°ú °°Àº Ư¼ºÀ» Á¤ÇÑ´Ù. # # o Æнº # o ÇÁ·ÒÇÁÆ® # o ¸î °¡Áö ȯ°æ º¯¼öµé # o Ä÷¯ ls # o lessÀÇ Æ¯¼º # o Å°º¸µå ¼³Á¤ # # »ç¿ëÀÚµéÀº °¢ÀÚÀÇ $HOME/.bash_profileÀ» ÆíÁýÇؼ­ ÀÌ ÆÄÀÏÀÇ # ¼³Á¤À» ¹«½ÃÇÏ°Ô ÇÒ ¼öµµ ÀÖ°í, ´Ù¸¥ Ư¼ºÀ» Ãß°¡ÇÒ ¼öµµ ÀÖ´Ù. # Ãß°¡ Æнº ¼³Á¤(set a decent path) echo $PATH | grep X11R6 > /dev/null if [ $? = 1 ] ; then # add entries to the path PATH="$PATH:/usr/X11R6/bin:$HOME/bin:." fi # »ç¿ëÀÚ¿¡°Ô ·Î±×ÀÎ ½©ÀÎÁö ¾Æ´ÑÁö ¾Ë·ÁÁØ´Ù. ·Î±×ÀÎ ½©À̸é Ǫ¸¥ »ö, # ¾Æ´Ï¸é ÀÚÈ«»ö ÇÁ·ÒÇÁÆ®¸¦ ¾²°í, ·çÆ®´Â ºÓÀº ÇÁ·ÒÇÁÆ®¸¦ ¾´´Ù. USER=`whoami` if [ $LOGNAME = $USER ] ; then COLOUR=44 else COLOUR=45 fi if [ $USER = 'root' ] ; then COLOUR=41 fi # ^[ ´ë½Å ÁøÂ¥ esc Å°¸¦ ¾´´Ù. PS1='^[[$COLOUR;37;1m$HOSTNAME:^[[37;40;1m\w\$ ' PS2="Continue> " # core dump¸¦ ¸¸µéÁö ¾Ê´Â´Ù. ulimit -c 0 # umask ¼³Á¤ if [ `id -gn` = `id -un` -a `id -u` -gt 14 ]; then umask 002 else umask 022 fi # ¸î °¡Áö º¯¼öµé USER=`id -un` LOGNAME=$USER MAIL="/var/spool/mail/$USER" EDITOR=jed HOSTNAME=`/bin/hostname` HISTSIZE=1000 HISTFILESIZE=1000 export PATH PS1 PS2 USER LOGNAME MAIL EDITOR HOSTNAME HISTSIZE HISTFILESIZE # Ä÷¯ ls¸¦ »ç¿ë eval `dircolors /etc/DIR_COLORS -b` export LS_OPTIONS='-F -s -T 0 --color=tty' # less¸¦ ÃëÇâ¿¡ ¸Â°Ô ¹Ù²Û´Ù. LESS='-M-Q' LESSEDIT="%E ?lt+%lt. %f" LESSOPEN="| lesspipe.sh %s" VISUAL=jed LESSCHARSET=latin1 export LESS LESSEDIT LESSOPEN VISUAL LESSCHARSET # Å°º¸µåµµ ÃëÇâ¿¡ ¸ÂÃá´Ù. /sbin/kbdrate -s -r 16 -d 500 for i in /etc/profile.d/*.sh ; do if [ -x $i ]; then . $i fi done ______________________________________________________________________ ´ÙÀ½Àº /etc/bashrc ÆÄÀÏÀÇ ¿¹´Ù. ______________________________________________________________________ # /etc/bashrc # ½Ã½ºÅÛ ±Ô¸ðÀÇ ÇÔ¼öµé°ú aliasµé # ȯ°æ ¼³Á¤¿¡ °ü°èµÈ ³»¿ëÀº /etc/profile¿¡ µÎ¾î¾ß ÇÑ´Ù. alias which="type -path" alias d="ls" alias dir="d" ______________________________________________________________________ ´ÙÀ½Àº .bashrc ÆÄÀÏÀÌ´Ù. ______________________________________________________________________ # $HOME/.bashrc # ½Ã½ºÅÛ ±Ô¸ð·Î Á¤ÀÇµÈ °ÍµéÀ» Àû¿ëÇÑ´Ù. if [ -f /etc/bashrc ]; then . /etc/bashrc fi # ¾Æ·¡´Â »ç¿ëÀÚ¿¡°Ô ºñ-·Î±×ÀÎ ½©¿¡ ÀÖ´Ù°í ¾Ë·ÁÁÖ±â À§ÇØ ÇÊ¿äÇÏ´Ù. COLOUR=45 # ^[ ´ë½Å ÁøÂ¥ Esc ¹®ÀÚ¸¦ ¾²µµ·Ï ÇÑ´Ù. PS1='^[[$COLOUR;37m$USER:^[[37;40m\w\$ ' # aliasµé alias cp='cp -i' alias l=less alias lyx='lyx -width 900 -height 700' alias mv='mv -i' alias rm='rm -i' alias x=startx # ¸î °¡Áö À¯¿ëÇÑ ÇÔ¼öµé inst() # ÇöÀç µð·ºÅ͸®¿¡ .tar.gz ¾ÐÃà ÆÄÀÏÀ» ¼³Ä¡ÇÑ´Ù. { gzip -dc $1 | tar xvf - } cz() # .zip ¾ÐÃà ÆÄÀÏÀÇ ³»¿ë ¸ñ·ÏÀ» Ãâ·ÂÇÑ´Ù. { unzip -l $* } ctgz() # .tar.gz ¾ÐÃà ÆÄÀÏÀÇ ³»¿ë ¸ñ·ÏÀ» Ãâ·ÂÇÑ´Ù. { for file in $* ; do gzip -dc ${file} | tar tf - done } tgz() # gzip°ú tar·Î ¾ÐÃà ÆÄÀÏÀ» ¸¸µç´Ù. { name=$1 ; tar -cvf $1 ; shift tar -rf ${name} $* gzip -S .tgz ${name} } ______________________________________________________________________ ´ÙÀ½Àº .bash_profile ÆÄÀÏÀÌ´Ù. ______________________________________________________________________ # $HOME/.bash_profile # »ç¿ëÀÚ°¡ Á¤ÇÑ È¯°æ°ú ½ÃÀÛ ÇÁ·Î±×·¥µé # ÀÌ ÆÄÀÏ¿¡´Â /etc/profileÀÇ Á¤ÀÇ¿¡ ¿ì¼±ÇÏ´Â »ç¿ëÀÚ Á¤ÀÇ ¼³Á¤ÀÌ ÀÖ´Ù. # alias¿Í ÇÔ¼öµéÀ» Àû¿ëÇÑ´Ù. if [ -f ~/.bashrc ]; then . ~/.bashrc fi # PS1 ¼³Á¤À» ´Ù½Ã Àû¿ëÇÑ´Ù. if [ $USER = 'root' ] ; then COLOUR=41 else COLOUR=44 fi # ^[ ´ë½Å ÁøÂ¥ Esc¸¦ ¾´´Ù. PS1='^[[$COLOUR;37;1m$HOSTNAME:^[[37;40;1m\w\$ ' export PS1 ______________________________________________________________________ ´ÙÀ½Àº .bash_logout ÆÄÀÏÀÌ´Ù. ______________________________________________________________________ # $HOME/.bash_logout clear ______________________________________________________________________ ´ÙÀ½Àº .inputrc ÆÄÀÏÀÌ´Ù. ______________________________________________________________________ # $HOME/.inputrc # Å° ¼³Á¤ "\e[1~": beginning-of-line "\e[3~": delete-char "\e[4~": end-of-line # (F1 .. F5) are "\e[[A" ... "\e[[E" "\e[[A": "info \C-m" set bell-style visible # beep À½À» ³»Áö ¾Ê´Â´Ù. set meta-flag On # 8 ºñÆ® ÀÔ·ÂÀ» Çã¿ë (i.e, accented set convert-meta Off # 8 ºñÆ® ¹®ÀÚ¸¦ º¯È¯ÇÏÁö ¾Ê´Â´Ù. set output-meta On # 8 ºñÆ® ¹®ÀÚ¸¦ Á¦´ë·Î Ç¥½ÃÇÑ´Ù. set horizontal-scroll-mode On set show-all-if-ambiguous On xtermÀ» ºñ·ÔÇÑ X11 ÀÀ¿ë ÇÁ·Î±×·¥¿¡¼­ ¹é½ºÆäÀ̽º¿Í delete Å°°¡ Á¦´ë·Î ÀÛµ¿Çϵµ·Ï Çϱâ À§Çؼ­´Â ¾Æ·¡ÀÇ ÀÛ¾÷ÀÌ ÇÊ¿äÇÏ´Ù. - ¾Æ·¡ÀÇ ³»¿ëÀ» ÀÚ½ÅÀÇ .xinitrc¿¡ ³Ö´Â´Ù. usermodmap=$HOME/.Xmodmap xmodmap $usermodmap - ¾Æ·¡ÀÇ ³»¿ëÀ» ÀÚ½ÅÀÇ .Xmodmap¿¡ Æ÷ÇÔ½ÃŲ´Ù. keycode 22 = BackSpace keycode 107 = Delete ÀÌ·¸°Ô Çؼ­ ÄܼÖÀ» Á¦´ë·Î ¸ÂÃá ´ÙÀ½¿¡´Â, xtermÀ» ¼öÁ¤ÇÑ´Ù. - ¾Æ·¡ÀÇ ³»¿ëÀ» .Xdefaults¿¡ ³Ö´Â´Ù. xterm*VT100.Translations: #override BackSpace: string(0x7F)\n\ Delete: string(0x1b) string("[3~")\n\ Home: string(0x1b) string("[1~")\n\ End: string(0x1b) string("[4~")\n\ CtrlPrior: string(0x1b) string("[40~")\n\ CtrlNext: string(0x1b) string("[41~") nxterm*VT100.Translations: #override BackSpace: string(0x7F)\n\ Delete: string(0x1b) string("[3~")\n\ Home: string(0x1b) string("[1~")\n\ End: string(0x1b) string("[4~")\n\ CtrlPrior: string(0x1b) string("[40~")\n\ CtrlNext: string(0x1b) string("[41~") Á¤º¸°¡ ´õ ÇÊ¿äÇϸé bash(1)°ú readline(3)ÀÇ ¸Å´º¾ó ÆäÀÌÁö¸¦ º¸±â ¹Ù¶õ´Ù. ¸ðµç ÀÀ¿ë ÇÁ·Î±×·¥ÀÌ Á¤È®È÷ ÀÛµ¿Çϸ®¶ó°í´Â ±â´ëÇÏÁö ¸»¾Æ¾ß ÇÑ´Ù. ¿¹¸¦ µé¾î xterm¿¡¼­ joe¸¦ ½ÇÇà½ÃÅ°¸é ¸î °¡Áö Å°°¡ ÀÛ¿ëÇÏÁö ¾ÊÀ» °ÍÀÌ´Ù. rxvt¿¡¼­µµ ¸¶Âù°¡Áö´Ù. ÀÌ·± °ÍÀº termcapÀÇ ¹®Á¦¶ó´Â ¼Ò¹®ÀÌ ÀÖ´Ù. 3.2. ls(1) ¼­·Î ´Ù¸¥ ÆÄÀÏ À¯ÇüÀ» °­Á¶Çϱâ À§ÇØ, Ä÷¯ ls·Î µð·ºÅ͸® ¸ñ·ÏÀ» Ãâ·ÂÇÒ ¼ö ÀÖ´Ù. ÀÌ·¸°Ô ÇÏ·Á¸é ¾Æ·¡ÀÇ ÇàµéÀ» /etc/profile¿¡ Ãß°¡ÇØ¾ß ÇÑ´Ù. eval `dircolors /etc/DIR_COLORS -b` export LS_OPTIONS='-F -T 0 --color=tty' ÀÌ µÎ ÁÙÀº /etc/DIR_COLORS¿¡ ÁغñµÈ »ö»óÇ¥¸¦ Æ÷ÇÔÇÏ´Â LS_COLORS ȯ°æ º¯¼ö¸¦ ¼³Á¤ÇÏ´Â °ÍÀÌ´Ù. ÁÖÀÇ: ÀÌ ¹æ¹ýÀº rxvtÀÇ Æ¯Á¤ ¹öÀü¿¡¼­´Â Á¦´ë·Î ÀÛµ¿ÇÏÁö ¾Ê´Âµ¥, ÇÊÀÚµµ ±× ±î´ßÀº ¸ð¸¥´Ù. ´ë½Å xterm °°Àº °ÍÀ» ¾²µµ·Ï ÇÏÀÚ. ¾Æ¸¶ rxvt ³»¿¡ ¾î¶² ȯ°æ¿¡¼­´Â ȯ°æÀ» Á¤È®È÷ ¹°·Á¹ÞÁö ¸øÇϵµ·Ï ÇÏ´Â ¹ö±×°¡ ÀÖ´Â µí ÇÏ´Ù. 3.3. less(1) ÀÌ Å¹¿ùÇÑ ÆäÀÌÁ®(pager)´Â ÀÏ¹Ý ÅؽºÆ® ÆÄÀÏ »Ó ¾Æ´Ï¶ó gzipÀ¸·Î ¾ÐÃàµÈ ÆÄÀÏÀ̳ª, tar¿Í zipÀ¸·Î ¹­¿©Áø ÆÄÀÏ, ¸Å´º¾ó ÆäÀÌÁö µîµµ º¼ ¼ö ÀÖ´Ù. lessÀÇ ¼³Á¤Àº ¸î ´Ü°è·Î ÀÌ·ç¾îÁø´Ù. - less¿¡¼­ À̵¿ Å°¸¦ ¾²·Á¸é, ¾Æ·¡¿Í °°Àº .lesskey¶ó´Â ¾Æ½ºÅ° ÆÄÀÏÀÌ ÀÚ½ÅÀÇ È¨ µð·ºÅ͸®¿¡ ÀÖ¾î¾ß ÇÑ´Ù. ^[[A back-line ^[[B forw-line ^[[C right-scroll ^[[D left-scroll ^[OA back-line ^[OB forw-line ^[OC right-scroll ^[OD left-scroll ^[[6~ forw-scroll ^[[5~ back-scroll ^[[1~ goto-line ^[[4~ goto-end ^[[7~ goto-line ^[[8~ goto-end ´ÙÀ½¿¡´Â lesskey¶ó´Â ¸í·ÉÀ» ½ÇÇàÇÑ´Ù. ÀÌ ¸í·ÉÀº Å° ¼³Á¤À» ´ãÀº .less ¶ó´Â ÀÌÁø ÆÄÀÏÀ» ¸¸µé¾î ³½´Ù. - ¾Æ·¡ ÆÄÀÏÀ» /usr/bin/lesspipe.sh·Î ¾´´Ù. #!/bin/sh # ÀÌ ÆÄÀÏÀº 'less'ÀÇ Àü󸮱âÀÌ´Ù. # ÀÌ ÆÄÀÏÀº LESSOPEN="|lesspipe.sh %s" ¶ó´Â ȯ°æ º¯¼ö°¡ ¼³Á¤µÇ¾úÀ» # ¶§ »ç¿ëµÈ´Ù. lesspipe() { case "$1" in *.tar) tar tf $1 2>/dev/null ;; # .tar¿Í .tgz ÆÄÀÏÀÇ ³»¿ëÀ» º»´Ù. *.tgz|*.tar.gz|*.tar.Z|*.tar.z) tar ztf $1 2>/dev/null ;; *.Z|*.z|*.gz) gzip -dc $1 2>/dev/null ;; # ¾ÐÃà ÆÄÀÏÀ» Á¦´ë·Î º»´Ù. *.zip) unzip -l $1 2>/dev/null ;; # ¾ÐÃà ÆÄÀÏÀ» º»´Ù. *.arj) unarj -l $1 2>/dev/null ;; *.rpm) rpm -q -p -i -l $1 2>/dev/null ;; *.1|*.2|*.3|*.4|*.5|*.6|*.7|*.8|*.9|*.n|*.man) FILE=`file -L $1` FILE=`echo $FILE | cut -d ' ' -f 2` if [ "$FILE" = "troff" ]; then groff -s -p -t -e -Tascii -mandoc $1 fi ;; *) FILE=`file -L $1` ; # ÀÌÁø ÆÄÀÏÀÇ °æ¿ì º¸±â À§ÇØ Á¡°ËÇÑ´Ù. FILE1=`echo $FILE | cut -d ' ' -f 2` FILE2=`echo $FILE | cut -d ' ' -f 3` if [ "$FILE1" = "Linux/i386" -o "$FILE2" = "Linux/i386" \ -o "$FILE1" = "ELF" -o "$FILE2" = "ELF" ]; then strings $1 fi ;; esac } lesspipe $1 ´ÙÀ½¿¡´Â chmod 755 lesspipe.shÇؼ­ ½ÇÇà °¡´ÉÇÏ°Ô ¸¸µç´Ù. - ´ÙÀ½ ¸î ÁÙÀ» /etc/profile¿¡ Ãß°¡ÇÑ´Ù. LESS="-M-Q" # long prompt, silent LESSEDIT="%E ?lt+%lt. %f" # edit top line LESSOPEN="| lesspipe.sh %s" # filter VISUAL=jed # ±âº» ¿¡µðÅÍ-¿øÇÏ´Â °ÍÀ¸·Î. LESSCHARSET=latin1 # ÇÊ¿äÇÏ¸é °­Á¶ ¹®ÀÚ¸¦ ¾´´Ù. ÇÊÀÚ°¡ ÀÌÅ»¸®¾Æ¿¡ »ì°í ÀÖ°í ISO 8859/1 ¹®ÀÚ ÁýÇÕÀ» ¾²°í ½Í±â ¶§¹®¿¡ LESSCHARSET º¯¼ö¸¦ ¶óƾÀ¸·Î Çß´Ù. ´Ù¸¥ ³ª¶ó »ç¶÷µéÀº ÀÌ·¸°Ô ¼³Á¤ÇÏÁö ¾Ê´Â °ÍÀÌ ÁÁ´Ù. 3.4. emacs(1) ¸î °¡Áö À̸ƽº ¹èÆ÷º»µéÀº »ö±ò°ú ±¸¹® °­Á¶(syntax highlighting)¸¦ À§ÇÑ ¼³Á¤ÀÌ µÇÁö ¾ÊÀº »óÅ·Π¼³Ä¡µÈ´Ù. ÀÌ °æ¿ì ¾Æ·¡ÀÇ ³»¿ëÀ» ÀÚ±â Ȩ µð·ºÅ͸®ÀÇ .emacs ÆÄÀÏ¿¡ ½á¾ß ÇÑ´Ù. (global-font-lock-mode t) (setq font-lock-maximum-decoration t) ÀÌ ¼³Á¤Àº X11¿¡¼­¸¸ ÀÛµ¿ÇÑ´Ù. À̸ƽº¸¦ °¢ÀÚÀÇ ÇÊ¿ä¿¡ ¸Â°Ô ±æµéÀÌ´Â ¹æ¹ýÀ» ã±â À§Çؼ­´Â ½º½º·Î À̸ƽº °ü·Ã ¹®¼­µéÀ» ã¾Æº¸±â ¹Ù¶õ´Ù. À̸ƽº¸¦ Á¦´ë·Î ¼³Á¤ÇÏ·Á¸é ¿©·¯ ´Þ °É¸± ¼öµµ ÀÖ´Ù. 3.5. joe(1) /usr/bin ¹Ø¿¡ jmacs³ª jstar, jpico µîÀÌ joe·Î ½Éº¼¸¯ ¸µÅ©µÇ¾î ÀÖ´ÂÁö ¾Æ´Ï¸é µû·Î ÀÌÁø ÆÄÀÏ·Î µÇ¾î ÀÖ´ÂÁö È®ÀÎÇØ º¸¾Æ¾ß ÇÑ´Ù. º°µµÀÇ ÀÌÁø ÆÄÀÏ·Î µÇ¾î ÀÖ´Ù¸é, ÀÌ ÆÄÀÏµé ´ë½Å ½Éº¼¸¯ ¸µÅ©¸¦ ½á¼­ µð½ºÅ© °ø°£À» ¾Æ³¥ ¼ö ÀÖ´Ù. ~# cd /usr/bin /usr/bin# ln -sf joe jmacs ; ln -sf joe jstar ; ln -sf joe jpico ´ÙÀ½¿¡´Â /usr/lib/joe/joerc¸¦ ÀÚ±â Ȩ µð·ºÅ͸®¿¡ .joerc¶ó°í º¹»çÇÏ°í, ÀûÀýÈ÷ ÆíÁýÇÏ¸é µÈ´Ù. 3.6. jed ÇÊÀÚ´Â ÀÌ ¿¡µðÅ͸¦ ÁÁ¾ÆÇÑ´Ù. ÇÊÀÚ°¡ ¹Ù¶ó´Â ±â´ÉÀÌ ÀÖ°í, À̸ƽº¿¡ ºñÇØ ÀÛ°í ¼³Á¤µµ ½±´Ù. ¶Ç ´Ù¸¥ ¿¡µðÅ͵éÀ» »ó´çÈ÷ ½±°Ô Èä³»³¾ ¼ö ÀÖ´Ù. ÇÊÀÚ°¡ ´Ù´Ï´Â ´ëÇÐÀÇ ¸¹Àº »ç¿ëÀÚµéÀº VMSÀÇ ½Ã½ºÅÛ ¿¡µðÅÍÀÎ EDT ºñ½ÁÇÏ°Ô jed¸¦ ¾²°í ½Í¾îÇÑ´Ù. .jedrc¿Í /usr/lib/jed/lib/* °¡ ¼³Á¤ ÆÄÀÏÀÌ´Ù. .jedrc´Â /usr/lib/jed/libÀÇ jed.rc¸¦ º¹»ç/ÆíÁýÇؼ­ ¾²¸é µÈ´Ù. - jed°¡ ¸î °¡Áö Å°¸¦ Á¦´ë·Î ¾²µµ·Ï ÇÏ·Á¸é /usr/lib/jed/lib/defaults.sl ÆÄÀÏÀ» ¸¸µé¾î¼­ () = evalfile("linux"); ¶ó´Â ÇÑ ÁÙ ¸¸ ³Ö¾îÁÖ¸é µÈ´Ù. - /usr/lib/jed/lib/linux.slÀ» ÆíÁýÇÑ´Ù. Info_Directory = "/usr/info" ¶ó´Â ÇàÀÇ ÁÖ¼®¹® Ç¥½Ã¸¦ Áö¿ì°í, /bin/mailÀ» UCB_Mailer = µÚ¿¡ Ãß°¡ÇÑ´Ù. - jed°¡ EDT(ȤÀº ´Ù¸¥ ¿¡µðÅÍ)¸¦ Èä³»³»µµ·Ï ¼³Á¤ÇÏ´Â °ÍÀº ½±´Ù. .jedrc ³»ÀÇ µÎ ÁÙ¸¸ ÆíÁýÇÏ¸é µÈ´Ù. ¼ýÀÚ Å° ÆеåÀÇ '+'·Î ±ÛÀÚ Çϳª ´ë½Å ¿©·¯ ³¹¸»À» Áö¿ìµµ·Ï ÇÏ·Á¸é, ¾Æ·¡ ³»¿ëÀ» .jedrcÀÇ "() = evalfile("edt")"¶ó´Â Çà ¾Æ·¡¿¡ Ãß°¡ÇÑ´Ù. unsetkey("\eOl"); unsetkey("\eOP\eOl"); setkey("edt_wdel", "\eOl"); setkey("edt_uwdel", "\eOP\eOl"); - xjed°¡ ¼ýÀÚ Å° Æе带 ½á¼­ EDT¸¦ Èä³»³»µµ·Ï ÇÏ·Á¸é ¾Æ·¡ÀÇ ³»¿ëÀ» .Xmodmap¿¡ »ðÀÔÇÑ´Ù. keycode 77 = KP_F1 keycode 112 = KP_F2 keycode 63 = KP_F3 keycode 82 = KP_F4 keycode 86 = KP_Separator ´ÙÀ½¿¡´Â /etc/X11/XF86Config¿¡ ¾Æ·¡ µÎ ÁÙÀÌ Æ÷ÇԵǾî ÀÖ´ÂÁö È®ÀÎÇϵµ·Ï ÇÑ´Ù. # ServerNumLock # must be commented out XkbDisable ÀÌ ¼³Á¤Àº XFree 3.2¿¡ Àû¿ëµÈ´Ù. ÇÏÁö¸¸ Ç¥ÁØ ¹Ì±¹½Ä Å°º¸µå¸¦ ¾²Áö ¾Ê´Â´Ù¸é, "XkbDisable"·Î ¼³Á¤ÇßÀ» °æ¿ì ¸î °¡Áö ÀÛÀº ¹®Á¦°¡ »ý±ä´Ù. ÀÌ ¹®Á¦´Â °¢ÀÚ ÇØ°áÇØ¾ß ÇÑ´Ù. - xjedÀÇ »ö»óÀ» ÃëÇâ¿¡ ¸Â°Ô ÇÏ·Á¸é ¾Æ·¡¿Í °°Àº ÇàÀ» .Xdefaults¿¡ Ãß°¡ÇÏ¸é µÈ´Ù. xjed*Geometry: 80x32+150+50 xjed*font: 10x20 xjed*background: midnight blue ÀÌ ¹ÛÀÇ Á¤º¸µéÀº ÆÐÅ°Áö¿¡ Æ÷ÇÔµÈ xjed.doc¿¡ ÀÖ´Ù. 3.7. TeX ¹× °ü·Ã ÇÁ·Î±×·¥µé TeTeX ¹èÆ÷º»À» °¡Áö°í ÀÖ´Ù°í °¡Á¤Çϵµ·Ï ÇÏÀÚ. ¿©±â¼­´Â ¸î °¡Áö¸¸ ¾ê±âÇÑ´Ù. - ÀڱⰡ ¾²´Â ¾ð¾î¿¡ µû¸¥ ÇÏÀÌÇ ±ÔÄ¢À» ¼³Á¤ÇÏ·Á¸é, /usr/lib/texmf/texmf/tex/generic/config/language.dat ÆÄÀÏÀ» ÆíÁýÇÏ°í, ´ÙÀ½ ¸í·ÉÀ» ½ÇÇà½ÃŲ´Ù. ~# texconfig init ; texconfig hyphen - LaTeX ÆÐÅ°Áö¸¦ Ãß°¡ÇÏ·Á¸é /usr/lib/texmf/texmf/tex/latex/ ¾Æ·¡¿¡ ÆÄÀÏÀ» Ãß°¡ÇÑ ´ÙÀ½¿¡ texhash ¸í·ÉÀ» ¼öÇàÇؼ­ TeTeXÀÌ »õ·Î¿î ÆÐÅ°Áö¸¦ ÀνÄÇÒ ¼ö ÀÖµµ·Ï ÇØ¾ß ÇÑ´Ù. - dvips ¼³Á¤À» ¹Ù²Ù·Á¸é /usr/lib/texmf/texmf/dvips/config/config.ps. ÆÄÀÏÀ» ÆíÁýÇØ¾ß ÇÑ´Ù. ±âº» Çػ󵵿¡ ´ëÇÑ Ç׸ñÀº xdvi¿¡µµ ¿µÇâÀ» Áشٴ Á¡À» ¿°µÎ¿¡ µÎ±â ¹Ù¶õ´Ù. xdvi¸¦ ½ÇÇà½Ãų ¶§¸¶´Ù ÆùÆ®¸¦ ¸¸µå´Â °ÍÀÌ ±ÍÂú´Ù¸é, .Xdefault ¾È¿¡ ¾Æ·¡ ÇÑ ÁÙÀ» ³ÖÀ¸¸é µÈ´Ù. XDvi*mfmode: 3.8. PPP Ä¿³ÎÀÌ PPP + TCP/IP¸¦ Áö¿øÇϵµ·Ï ÄÄÆÄÀÏ µÇ¾î ÀÖ°í, ·çÇÁ¹é(loopback)ÀÌ °¡´ÉÇϸç, pppd ÆÐÅ°Áö¸¦ Á¦´ë·Î ¼³Ä¡Çß´Ù°í ÇÏÀÚ. (ÀÌ ¿ä±¸»çÇ×µéÀº ±âº»ÀûÀ¸·Î µÇ¾î ÀÖ¾î¾ß ÇÑ´Ù) PPP°¡ ÀÛµ¿Çϵµ·Ï ÇÏ´Â ¹æ¹ýÀº °¡)¼öµ¿À¸·Î ¼³Á¤Çϰųª ³ª)ÀÚµ¿ ¼³Á¤ ÇÁ·Î±×·¥À» ¾²´Â µÎ °¡Áö°¡ ÀÖ´Ù. ¸ÕÀú ¼öµ¿ ¿É¼ÇÀ» º¸ÀÚ. ÀÚ½ÅÀÇ ISP(ÀÎÅÍ³Ý ¼­ºñ½º Á¦°øÀÚ)°¡ ¾Æ·¡¿Í °°´Ù°í ÇÏÀÚ. - ÀüÈ­ ¹øÈ£: 1234567 - ³×ÀÓ ¼­¹ö: 123.231.112.111 - ¸ÞÀÏ ¼­¹ö: mbox.supernet.edu - µµ¸ÞÀÎ: supernet.edu - ¿ø°Ý È£½ºÆ® À̸§: - »ç¿ëÀÚ À̸§: John - Æнº¿öµå: _Loo%ny À» ¼öµ¿À¸·Î ¼³Á¤Çϱâ À§Çؼ­´Â ¾Æ·¡¿Í °°Àº °ÍÀ» ÇØ¾ß ÇÑ´Ù. - ¾Æ·¡ ³»¿ëÀ» ISP¿¡ ¿¬°áÇϱâ À§ÇØ »ç¿ëµÉ /usr/local/bin/ppp-on ÆÄÀÏ·Î ÀúÀåÇÑ´Ù. #!/bin/sh # ppp-on: #ISP¿¡ ¿¬°áÇÏ´Â ½ºÅ©¸³Æ® INIT=ATX3 # Àڱ⠸𵩿¡ ¸Â°Ô ¾´´Ù. PHONE=1234567 /usr/sbin/pppd connect "/usr/sbin/chat '' $INIT OK ATDP$PHONE CONNECT '' " user John ´ÙÀ½¿¡´Â chmod 755 /usr/local/bin/ppp-on Çؼ­ ½ÇÇà °¡´ÉÇÏ°Ô ÇÑ´Ù. Ȥ½Ã ÀÚ½ÅÀÇ ISP°¡ PAP ÇÁ·ÎÅäÄÝÀ» ¾²Áö ¾Ê´Â´Ù¸é, ¾Æ·¡ÀÇ ½ºÅ©¸³Æ®¸¦ ½á¾ß ÇÑ´Ù. #!/bin/sh # ppp-on: #ISP¿¡ ¿¬°áÇÏ´Â ½ºÅ©¸³Æ® INIT=atx3 # Àڱ⠸𵩿¡ ¸Â°Ô ¾´´Ù. PHONE=1234567 /usr/sbin/pppd connect "/usr/sbin/chat '' $INIT OK ATDT$PHONE \ CONNECT '' 'ogin' John 'word' _Loo%ny ''" /dev/modem 38400 \ modem defaultroute - ¾Æ·¡ ³»¿ëÀ» ppp ¿¬°áÀ» Á¾·áÇϱâ À§ÇØ ¾²ÀÏ /usr/local/bin/ppp-off ÆÄÀÏ¿¡ ¾´´Ù. #!/bin/sh # ppp-off DEVICE=ppp0 if [ -r /var/run/$DEVICE.pid ]; then kill -INT `cat /var/run/$DEVICE.pid` if [ ! "$?" = "0" ]; then echo "removing stale $DEVICE pid file." rm -f /var/run/$DEVICE.pid ; exit 1 fi echo "$DEVICE link terminated" ; exit 0 fi # link not active echo "$DEVICE link is not active" ; exit 1 ¿ª½Ã chmod 755 /usr/local/bin/ppp-off·Î ½ÇÇà °¡´ÉÇÏ°Ô ÇÑ´Ù. - /etc/ppp/options¿¡ ¾Æ·¡¿Í °°ÀÌ ¾´´Ù. # /etc/ppp/options /dev/modem 38400 lock crtscts modem asyncmap 0 remotename defaultroute - ISP°¡ PAP ÇÁ·ÎÅäÄÝÀ» ¾²¸é (´ëºÎºÐÀÌ ¾´´Ù), /etc/ppp/pap-secrets ÆÄÀÏ¿¡ ¾Æ·¡¿Í °°ÀÌ ¾´´Ù. # /etc/ppp/pap-secrets # username remotehost secret John _Loo%ny - /etc/resolv.conf¸¦ ÆíÁýÇÑ´Ù. # /etc/resolv.conf search supernet.edu nameserver 123.231.112.111 - /etc/sendmail.cf¸¦ ÆíÁýÇÑ´Ù. DS·Î ½ÃÀÛÇÏ´Â ÁÙÀ» ã¾Æ¼­ ¾Æ·¡¿Í °°ÀÌ ¸¸µç´Ù. DSmbox.supernet.edu ÈÞ! ¿îÀÌ ÁÁ´Ù¸é, ÀÌ Á¤µµ·Î PPP¸¦ ¾µ ¼ö ÀÖ´Ù. ÇÏÁö¸¸ PPP-HOWTO¸¦ °øºÎÇÒ Áغñ¸¦ Çصα⠹ٶõ´Ù. ¼öµ¿ ¼³Á¤Àº ÇÒ ÀÏÀÌ ³Ê¹« ¸¹´Ù. ÇÏÁö¸¸, ÀÌ ¿Â°® ³ÊÀýÇÑ ÀϵéÀ» ¿¾ ÀÏ·Î ¸¸µé ¼ö ÀÖ´Â ¸ÚÁø ÆÐÅ°Áö°¡ ÀÖ´Ù. ¾Æ·¡ ÁÖ¼Ò¿¡¼­ ezppp ÆÐÅ°Áö¸¦ ´çÀå ´Ù¿î¹Þµµ·Ï ÇÏÀÚ. www.serv.net/~cameron/ezppp/index.html 3.9. POP Ŭ¶óÀ̾ðÆ® POP ¼­¹ö¿¡¼­ ¸ÞÀÏÀ» ¹Þ¾Æ¿À·Á¸é fetchpop³ª fetchmail °°Àº POP Ŭ¶óÀ̾ðÆ®¸¦ ½á¾ß ÇÑ´Ù. ÀÚ½ÅÀÇ PPP ¼­¹ö°¡ LAST ¸í·É¿¡ ¹®Á¦¸¦ º¸Àδٸé fetchmailÀ» ½á¾ßÇÒ °ÍÀÌ´Ù. ÀÌ Å¬¶óÀ̾ðÆ®µéÀ» ¼³Á¤ÇÏ´Â ¹æ¹ýÀº ¾Æ·¡¿Í °°´Ù. - fetchpop: óÀ½ ½ÇÇà½Ãų ¶§ ¸î °¡Áö ¾È³»¸¦ º¼ ¼ö ÀÖ´Ù. Áú¹®¿¡ ´ë´äÇÏ¸é ¼³Á¤ÀÌ ³¡³­´Ù. - fetchmail: ¾Æ·¡ÀÇ .fetchmailrc ¿¹Á¦¸¦ ¾²¸é µÈ´Ù. # $HOME/.fetchmailrc poll mbox.supernet.edu with protocol pop3; user john there with password _Loo%ny is john here mda "/usr/bin/procmail -f fetchmail" ¸¶Áö¸· ÁÙÀº ÇÊ¿ä ¾øÀ» ¼öµµ ÀÖ´Ù. chmod 600 .fetchmailrc·Î Çã°¡±ÇÀ» ÁÖ¾î¾ß Çϸç, Çã°¡±ÇÀÌ ´Ù¸£°Ô µÇ¾î ÀÖÀ¸¸é fetchmailÀÌ ½ÇÇàµÇÁö ¾Ê´Â´Ù. 3.10. X À©µµ¿ì ½Ã½ºÅÛ ºñµð¿À Ä«µå ¼³Á¤ µîÀ» ÅëÇؼ­ X À©µµ¿ì°¡ Á¦´ë·Î ÀÛµ¿ÇÏ°Ô ¸¸µé°í ³ª¸é, ¼ö¸¹Àº ¼³Á¤ÀÌ °¡´ÉÇÏ°Ô µÈ´Ù. ¾î¶² ¼³Á¤À» ¾²´ÂÁö´Â °¢ÀÚ »ç¿ëÇÏ´Â À©µµ¿ì ¸Å´ÏÀú¿¡ µû¶ó ´Ù¸£´Ù. ¾î´À °æ¿ì¿¡³ª ÀÚ½ÅÀÇ È¨ µð·ºÅ͸®¿¡ ÀÖ´Â Çϳª³ª ±× ÀÌ»óÀÇ ¾Æ½ºÅ° ÆÄÀÏÀ» ÆíÁýÇÔÀ¸·Î½á, ¼³Á¤À» ¸¶Ä¡°Ô µÈ´Ù. ¸î °¡Áö À©µµ¿ì ¸Å´ÏÀúÀÇ °æ¿ì¿¡´Â ¾Æ·¡¿Í °°´Ù. - fvwm: /etc/X11/fvwm/system.fvwmrc¸¦ Ȩ µð·ºÅ͸®¿¡ .fvwmrc¶ó°í º¹»çÇÏ°í, ±× ³»¿ëÀ» »ìÆ캸¸é¼­ Àڱ⿡°Ô ¸ÂÃç °¡µµ·Ï ÇÑ´Ù. ¹Ì¸® µé¾îÀÖ´Â system.fvwmrc´Â ¾à°£ Áö³ªÄ¡°Ô ´Ü¼øÇؼ­ fvwmÀÇ ±â´ÉÀ» ÃæºÐÈ÷ È°¿ëÇÏÁö ¸øÇÑ´Ù. - fvwm95-2: /etc/X11/fvwm95-2/fvwm2rc95¸¦ ÀÚ½ÅÀÇ È¨ µð·ºÅ͸®¿¡ .fvwm2rc95¶ó°í º¹»çÇÑ µÚ ÆíÁýÇÑ´Ù. ÀÌ ¼³Á¤Àº »ó´çÈ÷ ÈǸ¢ÇÏ´Ù. - TheNextLevel: ÀÌ ¸Å´ÏÀú´Â ¼³Á¤ÇϱⰡ ºñ±³Àû ±î´Ù·Ó´Ù. /etc/X11/TheNextLevel/.*¸¦ Ȩ µð·ºÅ͸®¿¡ º¹»çÇÏ°í, Á¶½ÉÇؼ­ »ìÆ캻 µÚ¿¡ Àڱ⿡°Ô ¸Âµµ·Ï ¹Ù²Ùµµ·Ï ÇÑ´Ù. °¡Àå ¸ÕÀú »ìÆ캼 ÆÄÀÏÀº .fvwm2rc.definesÀÌ´Ù. ¾Æ¿ï·¯ ¿Ã¹Ù¸¥ .xinitrc¸¦ °¡Áö°í ÀÖ¾î¾ß ÇÑ´Ù. ¾Æ·¡ ¿¹¸¦ º¸ÀÚ. #!/bin/sh # $HOME/.xinitrc # ¸î °¡Áö Å°¸¦ ÀûÀýÇÏ°Ô ¼³Á¤ÇÑ´Ù. usermodmap=$HOME/.Xmodmap xmodmap $usermodmap xset s noblank # ½ºÅ©¸° ¼¼À̹ö¸¦ ²ö´Ù. xset s 300 2 # 5ºÐ ÈÄ¿¡ ½ºÅ©¸° ¼¼À̹ö¸¦ ÀÛµ¿ÇÑ´Ù. xsetroot -solid "medium blue" & # rxvt´Â ¸Þ¸ð¸®¸¦ Àû°Ô ¾²Áö¸¸, ¹ö±×°¡ ¸î °¡Áö ÀÖ´Ù. # - home, end Å°°¡ ÀνĵÇÁö ¾Ê´Â´Ù. # - backspace¿Í delete°¡ Äֿܼ¡¼­ ó·³ ÀÛµ¿ÇÏÁö ¾Ê´Â´Ù. # - ȯ°æÀÌ »ö»óÀ» Á¦´ë·Î »ó¼Ó¹ÞÁö ¸øÇÑ´Ù. # - ÀϹÝÀûÀ¸·Î ȯ°æ¿¡ ¹®Á¦°¡ ÀÖ´Ù. # µû¶ó¼­ ¸¹Àº °æ¿ì¿¡ xtermÀÌ ´õ ³´´Ù. ÇÏÁö¸¸ mc °°Àº ¸î °¡Áö # Ä÷¯ ÀÀ¿ë ÇÁ·Î±×·¥À» ¼öÇà½ÃÅ°±â¿¡´Â rxvt°¡ ÃÖ°í´Ù. xterm -ls -bg black -fg white -sb -sl 500 -j -ls -fn 10x20 \ -fb 10x20bold -title "Color xterm" -geometry 80x25+150+0 & fvwm95-2 3.11. Æ÷Æ®¶õ ÇÊÀÚÀÇ °æÇè¿¡ µû¸£¸é, Æ÷Æ®¶õÀÌ ÇÊ¿äÇÏ´Ù¸é g77 ´ë½Å Æ÷Æ®¶õ-C ¹ø¿ª ÇÁ·Î±×·¥ÀÎ f2c¿Í ÇÁ·±Æ®-¿£µåÀÎ yaf77À» ¾²´Â °ÍÀÌ ÁÁ´Ù. yaf77Àº ftp.unc.edu/pub/Linux/devel/languages/fortran/yaf77-1.4.tgz ¿Í ±× ¹Ì·¯ »çÀÌÆ®¿¡¼­ ±¸ÇÒ ¼ö ÀÖ´Ù. 3.12. °³º° »ç¿ëÀÚ¸¦ À§ÇÑ ¼³Á¤ »õ·Î¿î »ç¿ëÀÚ°¡ óÀ½ ·Î±×ÀÎ ÇßÀ» ¶§¸¦ À§ÇØ ¸î °¡Áö ¼³Á¤ ÆÄÀϵéÀ» ÁغñÇØ µÎ´Â °ÍÀÌ ÁÁ´Ù. bashrc, bash_profile, bash_logout, inputrc, less, xinitrc, fvwmrc, fvwm2rc95, Xmodmap, Xdefaults, jedrc, joerc, emacs ÆÄÀϵéÀ» /ect/skel¿¡ µÎµµ·Ï ÇÏÀÚ. (ÁÖÀÇ: Æ÷¸Ë ¹®Á¦ ¶§¹®¿¡ ÇÊÀÚ´Â °¢ ÆÄÀÏ À̸§ ¾ÕÀÇ Á¡('.')À» ¶¼¾î³Â´Ù.) .pinerc´Â ¿ÏÀüÈ÷ ÆíÁýÇÒ ¼ö´Â ¾ø´Ù´Â °Í¿¡ ÁÖÀÇÇØ¾ß ÇÑ´Ù. ÃÖ¼ÒÇÑ user- domain, smtp-server, nntp-server ¶õÀº Á¦´ë·Î ¼³Á¤µÇ¾ú´ÂÁö È®ÀÎÇØ µÎÀÚ. 4. ³¡ 4.1. ÀúÀÛ±Ç ´Ù¸¥ ¾ð±ÞÀÌ ¾ø´Ù¸é, ¸®´ª½º HOWTO ¹®¼­µéÀÇ ÀúÀÛ±ÇÀº °¢ ¹®¼­ÀÇ ÀúÀڵ鿡°Ô ÀÖ´Ù. ¸®´ª½º HOWTO´Â ÀÌ ÀúÀÛ±ÇÀÌ À¯ÁöµÇ´Â ÇÑ ¸ðµç ¹°¸®Àû ¸Åü³ª ÀüÀÚ ¸Åü¸¦ ÅëÇØ ¹®¼­ Àüü ȤÀº ºÎºÐÀ¸·Î¼­ Àç»ý»ê ¹× ¹èÆ÷µÉ ¼ö ÀÖ´Ù. »ó¾÷ÀûÀÎ Àç¹èÆ÷µµ Çã¿ëµÇ¸ç Àå·ÁµÈ´Ù. ÇÏÁö¸¸ ÀÌ·± °æ¿ì¿¡´Â ÀúÀÚ¿¡°Ô ¾Ë·ÁÁֱ⠹ٶõ´Ù. ¸ðµç ¹ø¿ªÀ̳ª ÆÄ»ýÀûÀÎ ÀÛ¾÷µé, ¸®´ª½º HOWTO ¹®¼­µéÀ» °áÇÕÇÏ´Â ÀÛ¾÷ µéÀº ÀÌ ÀúÀÛ±Ç ¾È³»¿¡ µû¶ó¾ß ÇÑ´Ù. ÀÌ´Â ¿©·¯ºÐÀÌ HOWTO¸¦ ÀÌ¿ëÇÑ ÀÛ¾÷À» ÇÏ°í ³ª¼­ ±× ¹èÆ÷¿¡ ºÎ°¡ÀûÀÎ Á¦ÇÑÁ¶°ÇÀ» ´Þ¾Æ¼­´Â ¾ÈµÈ´Ù´Â ¶æÀÌ ´Ù. ¾î¶² °æ¿ì¿¡´Â ÀÌ ±ÔÄ¢¿¡ ´ëÇÑ ¿¹¿Üµµ Çã¿ëµÉ ¼ö ÀÖÀ¸¹Ç·Î, ¾Æ·¡ ÁÖ¼Ò ¸¦ ÅëÇؼ­ ¸®´ª½º HOWTO Á¶Á¤ÀÚ¿Í Á¢ÃËÇϱ⠹ٶõ´Ù. °£´ÜÈ÷ ¸»Çؼ­ ¿ì¸®´Â ÀÌ Á¤º¸¸¦ °¡´ÉÇÑ ÇÑ ¸¹Àº °æ·Î¸¦ ÅëÇؼ­ º¸±ÞÇϱ⸦ ¹Ù¶õ´Ù. ÇÏÁö¸¸ ¿ì¸®´Â HOWTO ¹®¼­¿¡ ´ëÇÑ ÀúÀÛ±ÇÀÌ À¯ÁöµÇ±â¸¦ ¹Ù¶ó¸ç, HOWTO¸¦ Àç¹èÆ÷ÇÏ´Â ¸ðµç °èȹÀ» Å뺸¹Þ±â¸¦ ¹Ù¶õ´Ù. Àǹ®ÀÌ ÀÖ´Ù¸é ¸®´ª½º HOWTO Á¶Á¤ÀÚÀÎ Greg Hankins¿Í ¾Æ·¡ ÁÖ¼Ò·Î Á¢ ÃËÇϱ⠹ٶõ´Ù. gregh@sunsite.unc.edu 4.2. ÀÇ°ß ´Ù¸¥ HOWTOµé ¸øÁö ¾Ê°Ô ÀÌ ±Ûµµ µ¶ÀÚÀÇ Á¦¾ÈÀ̳ª ºñÆò, ±â¿©¸¦ ȯ¿µÇÑ´Ù. µ¶ÀÚÀÇ ÀÇ°ßÀº ȯ¿µ Á¤µµ°¡ ¾Æ´Ï¶ó ÇʼöÀûÀ̱â±îÁö ÇÏ´Ù. ÀÌ ±Û¿¡¼­ ¹º°¡°¡ ºüÁ®ÀÖ´Ù°í »ý°¢ÇÑ´Ù¸é, ÇÊÀÚ¿¡°Ô ÀüÀÚ¸ÞÀÏÀ» º¸³»Áֱ⠹ٶõ´Ù. ·¹µåÇÞ ¿ÜÀÇ ¹èÆ÷º»À» ¾²°í ÀÖ°í ÀÚ½ÅÀÇ ¼³Á¤ ÆÄÀÏÀÌ ÀÌ ±Û¿¡¼­ ¼³¸íÇÑ °Í°ú ´Ù¸£°Å³ª ´Ù¸¥ µð·ºÅ͸®¿¡ À§Ä¡ÇÏ°í ÀÖ´Ù¸é, ±× ÆÁÀ» Æ÷ÇÔ½Ãų ¼ö ÀÖµµ·Ï ÇÊÀÚ¿¡°Ô ¾Ë·ÁÁֱ⠹ٶõ´Ù. ÇÊÀÚÀÇ ¸ñÀûÀº ¸®´ª½º¸¦ ¾²´Â °ÍÀÌ °¡´ÉÇÑ ÇÑ ÆíÇØÁöµµ·Ï ÇÏ´Â °ÍÀÌ´Ù. ¸®´ª½º¿¡´Â ¾öû³­ ¼ýÀÚÀÇ ÆÐÅ°ÁöµéÀÌ Àֱ⠶§¹®¿¡, ±× ÆÐÅ°ÁöµéÀ» À§ÇÑ µð·ºÅ͸®¸¦ ¸ðµÎ Æ÷ÇÔ½ÃÅ°±â¶õ ºÒ°¡´ÉÇÏ´Ù. µû¶ó¼­ ¿äû »çÇ×À̳ª Á¦¾ÈÀº "°¡Àå ÀûÀýÇÑ" ÇÁ·Î±×·¥µé¿¡ ´ëÇؼ­¸¸ ÇØÁֱ⠹ٶõ´Ù. ±¸Ã¼ÀûÀÎ ÆÇ´ÜÀº °¢ÀÚÀÇ »ó½Ä¿¡ ¸Ã±ä´Ù. 4.3. Ã¥ÀÓ¿¡ ´ëÇÑ Æ÷±â "Configuration HOWTO"´Â Guido Conzato, guido@ibogfs.cineca.it ¿¡ ÀÇÇØ ¾²¿©Á³´Ù. ÇÊÀÚ°¡ »·»·½º·´°Ô µµ¿ëÇß´ø ¸ðµç ´Ù¸¥ HOWTOÀÇ ÀúÀÚµé°ú ¸Å´º¾ó ÆäÀÌÁöÀÇ ÇÊÀÚ ¹× ±× À¯Áö°ü¸®¿¡ ¾Ö¾²´Â »ç¶÷µé¿¡°Ô ±íÀÌ °¨»çÇÑ´Ù. ÀÌ ±ÛÀº "ÀÖ´Â ¹Ù¿Í °°ÀÌ" Á¦°øµÈ´Ù. ÇÊÀÚ´Â ÇÒ ¼ö ÀÖ´Â ÇÑ Á¤È®ÇÏ°Ô ¾²·Á°í ´ë´ÜÇÑ ³ë·ÂÀ» ±â¿ï¿´Áö¸¸, ¿©±â Á¦½ÃµÈ Á¤º¸¸¦ ÀÌ¿ëÇÏ´Â °ÍÀº °¢ÀÚÀÇ Ã¥ÀÓ ÇÏ¿¡ ÇØ¾ß ÇÑ´Ù. ÇÊÀÚ´Â ÀÌ ¹®¼­¸¦ »ç¿ëÇÔÀ¸·Î½á »ý±æ ¼ö ÀÖ´Â ÀÏüÀÇ ¼ÕÇØ¿¡ ´ëÇؼ­ ¾î¶² °æ¿ì¿¡µµ Ã¥ÀÓÁöÁö ¾Ê´Â´Ù. ÀÌ ¹®¼­°¡ À¯¿ëÇÏ±æ ¹Ù¶õ´Ù. ÇÊÀÚ°¡ »õ·Î¿î ÄÄÇ»ÅÍ¿¡ ¸®´ª½º¸¦ ¼³Ä¡ÇÒ °æ¿ì¿¡´Â ´Ã ±×·¨´Ù. ±×·³ Áñ±â±â¸¦, Guido =8-)