· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Gentoo Install

Gentoo linux ¼³Ä¡±â·Ï

Contents

1. Gentoo linux ¼³Ä¡±â·Ï
1.1. °³¿ä
1.2. ¼³Ä¡ÇϱâÀü¿¡
1.2.1. °ü·Ã ¸µÅ©
1.2.2. ¾Ë¾ÆµÑ ÇÊ¿ä°¡ ÀÖ´Â ¸í·É
1.2.3. ¼³Ä¡°úÁ¤¿¡ ÇÊ¿äÇÑ ÆÄÀϵé
1.3. ¼³Ä¡°úÁ¤
1.3.1. Live CD±Á±â
1.3.2. Network ±¸¼º
1.3.3. Root ¾ÏÈ£ Àӽà º¯°æ (¿ø°Ý¼³Ä¡¸¦ À§ÇÑ Áغñ)
1.3.4. ÆÄƼ¼Ç ¼³Á¤
1.4. Mirror ¼³Á¤
1.4.1. chrootÁøÀÔ
1.4.2. Portage ¹Þ¾Æ¿À±â
1.4.3. ÃÖÀûÈ­ ¼³Ä¡¸¦ À§ÇÑ ÀÛ¾÷
1.4.4. Boot strap ÀÛ¾÷
1.4.5. System ¼³Ä¡
1.4.6. Áö¿ªº° ½Ã°£´ë ¼³Á¤
1.4.7. fstab ¼³Á¤
1.4.8. Kernel ¼³Ä¡
1.4.8.1. Gentoo¿ë Ä¿³Î ¼³Ä¡
1.4.8.2. genkernel¿¡ ÀÇÇÑ Ä¿³Î¼³Ä¡
1.4.8.3. »ç¿ëÀÚ Ä¿³Î ¼³Ä¡
1.4.9. System ·Î±× µ¥¸ó ¼³Ä¡
1.4.10. CRON µ¥¸ó ¼³Ä¡
1.4.11. ±× ¹Û¿¡ ÇÊ¿äÇÑ package¼³Ä¡
1.4.11.1. rp-pppoe
1.4.11.2. pcmcia-cs
1.4.11.3. vim
1.4.11.4. cvs
1.4.12. ½Ã½ºÅÛ °ü¸®ÀÚ ¾ÏÈ£ ¼³Á¤ ¹× ÀϹݰèÁ¤ Ãß°¡
1.4.13. ÄÄÇ»ÅÍ À̸§ Áþ±â
1.4.14. Network ¼³Á¤
1.4.15. autoload ¸ðµâ ¿Ã¸®±â
1.4.16. Bootloader ¼³Ä¡
1.4.17. ¼³Ä¡¿Ï·á
1.4.18. Ãß°¡ÀûÀÎ portage ¼³Ä¡
1.4.18.1. GnomeÀÇ ¼³Ä¡
1.4.18.2. ÇѱÛÀԷ±⠼³Ä¡
1.4.18.3. ÀÔ¸À¿¡ ¸Â´Â ÆùÆ®·Î ²Ù¹Ì±â
1.4.18.4. ¸ÖƼ¹Ìµð¾îÀÇ °¨»óÀ» ÇѲ¯ ´À³¢±â À§ÇÑ mplayer
1.4.18.5. CD-RW »ç¿ëÀÚ¸¦ À§ÇÑ cdrecord ¼³Ä¡
1.4.18.6. ÀÌ»Û ¾ÆÀÌÄÜ
1.4.18.7. FTP server ¼³Ä¡
1.4.18.8. °³¹ßÀںе鿡°Ô ÇÊ¿äÇÑ Ãß°¡ ¼³Ä¡¿ä¼Ò
1.5. Gentoo linux Stage3À¸·Î ¼³Ä¡Çϱâ
1.6. FAQ
1.7. ºü¸¥¼³Ä¡¸¦ À§ÇÑ ¿ä¾à
1.8. ÀÌ ±ÛÀ» ¸¶Ä¡¸é¼­
1.9. ¼³Ä¡Èıâ

1.1. °³¿ä

  • ÇÊÀÚ°¡ Å«¸¶À½À» ¸Ô°í Gentoo¸¦ ¼³Ä¡Çϱâ·Î ¸¶À½¸Ô°í ¼³Ä¡¸¦ Çϸ鼭 ±× °úÁ¤À» ±â·ÏÇØµÎ¸ç ¸¹Àº ºÐµé¿¡°Ô ¾à°£ÀÇ µµ¿òÀÌ µÇ¾úÀ¸¸é ÇÏ´Â ¹Ù·¥¿¡¼­ Àû¾îº¾´Ï´Ù.
  • Gentoo linux¸¦ ¼³Ä¡Çϱâ À§Çؼ­´Â ±âº»ÀûÀ¸·Î Linux¸¦ »ç¿ëÇغ» °æÇèÀÌ ÀÖ¾î¾ß ¼³Ä¡Çϴµ¥ ¾î·Á¿òÀÌ ¾øÀ»°Í °°½À´Ï´Ù. ÀüÇô °æÇèÀÌ ¾ø´Â »ç¿ëÀÚ´Â Gentoo¸¦ »ç¿ëÇϴ°Ϳ¡ ´ëÇؼ­ ½ÅÁßÇÑ ¼±ÅÃÀÌ ÇÊ¿äÇÏ´Ù°í ´çºÎÇÏ°í ½Í½À´Ï´Ù. ±×¸® ½±Áö¸¸Àº ¾ÊÀº ÀÌÀ¯·Î ÃʽÉÀÚ¿¡°Ô´Â ±ÇÇÏ°í ½ÍÁö ¾ÊÀ¸¸ç ¾î´ÀÁ¤µµ Linux»ç¿ëÀ» Çغ»ºÐµé¿¡°Ô ÃßõÇÕ´Ï´Ù. ¹°·Ð ÃʽÉÀÚ¶ó°í ÇÏ¿©µµ IRCÁ¤µµ¸¸ ÇÒ¼ö ÀÖ´Ù¸é IRCÀÇ #gentoo ä³Î¿¡¼­ ¸¹Àº µµ¿òÀ» ¾òÀ»¼ö ÀÖ½À´Ï´Ù. ¸¸¾à ¿©ºÐÀÇ PC°¡ ÇÑ´ë ´õ ÀÖ´Ù¸é #gentoo ä³Î¿¡¼­ µµ¿òÀ» ¾ò¾î°¡¸é¼­ ¼³Ä¡Çصµ ÁÁÀ»µíÇÕ´Ï´Ù. ÃʽÉÀÚ¶ó°í ÇÏ¿©µµ Çѹø Á¨Åõ ¼³Ä¡¸¦ Çغ¸¸é ¸¹Àº°ÍÀ» ¾òÀ»¼ö ÀÖ´Ù°í È®½ÅÇÕ´Ï´Ù.
  • Á¨Åõ´Â ¼³Ä¡½Ã°£ÀÌ »ó´çÈ÷ ¿À·¡°É¸³´Ï´Ù. ±²ÀåÈ÷ ºü¸£¸é ÇÏ·ç¸é ¼³Ä¡°¡ µÇÁö¸¸ º¸ÅëÀº 2~3ÀÏÁ¤µµ °É¸³´Ï´Ù. ¶ÇÇÑ Ã³À½ Á¨Åõ¸¦ Á¢ÇÑ´Ù¸é ¾à 1ÁÖÀÏÁ¤µµ ¼Ò¿äµÉÁöµµ ¸ð¸¨´Ï´Ù.
±×¸®°í ¼³Ä¡½Ã°£Àº ¸Ó½ÅÀÇ ¼Óµµ¿¡ ±²ÀåÈ÷ Ä¿´Ù¶õ ¿µÇâÀ» ¹Þ½À´Ï´Ù. ¶§¹®¿¡ ¼³Ä¡ÇϽø鼭 Áö·çÇÏ°Ô ¸ð´ÏÅ͸¦ °è¼Ó º¸°í ÀÖÁö´Â ¸¶¼¼¿ä. ´À±ßÇÏ°Ô ¼³Ä¡ÇϽʽÿä. ¼³Ä¡´Â ¿À·¡°É¸®´Â ÆíÀÌÁö¸¸ Çѹø ¼³Ä¡Çϸé ÀÌó·³ ¿À·§µ¿¾È ¼³Ä¡¸¦ Àؾî¹ö¸®´Â ¹èÆ÷ÆÇÀÌ ÈçÇÏÁö ¾Ê½À´Ï´Ù.

1.2. ¼³Ä¡ÇϱâÀü¿¡

1.2.1. °ü·Ã ¸µÅ©

Gentoo linux home page (¿µ¹®) [http]view
Gentoo linux user group (Çѱ¹¾î) [http]view
Gentoo linux handbook (¿µ¹®) [http]http://www.gentoo.org/doc/en/handbook/index.xml
Gentoo Download Full Mirrors [http]http://www.gentoo.org/main/en/mirrors2.xml
Gentoo linux LiveCD 2007.0 (x86) ISO download [http]download
USE ¿É¼ÇÀÇ ¿¹Á¦ (¿µ¹®) [http]view
ºñ°ø½Ä portage ¸ðÀ½ (¿µ¹®) [http]view
Linux Repository, including kernel source [http]download
±Û²Ã ÇÏ¿ìÅõ [http]view
Á¨Åõ 1.4 ¼³Ä¡¹®¼­(Çѱ¹¾î) [http]view
Á¨Åõ¸®´ª½º FAQ [http]view
Á¨Åõ ¸®´ª½ºÀÇ ¶Ç ´Ù¸¥ ¼³Ä¡¹æ¹ý [http]view
Æ÷Å×ÀÌÁö »ç¿ëÀÚ °¡À̵å [http]view
Æ÷Å×ÀÌÁö ¸Å´º¾ó [http]view
Á¨Åõ ¸®´ª½º µ¥½ºÅ©Å¾ ¼³Á¤ °¡À̵å [http]view
Á¨Åõ ¸®´ª½º 1.0 Init System [http]view
Á¨Åõ ¸®´ª½º USE »ç¿ë ¼³¸í¼­ [http]view
Env.d HOWTO [http]view
Nano Basics Guide [http]view
Gentoo¿¡ Oracle¼³Ä¡ °¡À̵å [http]view
Linux from scratch (LFS) [http]view
Gentoo Linux Wiki (°­·ÂÃßõ) [http]http://gentoo-wiki.com

1.2.2. ¾Ë¾ÆµÑ ÇÊ¿ä°¡ ÀÖ´Â ¸í·É

  • µ¶ÀÚºÐµé ½º½º·Î Á¨ÅõȨÆäÀÌÁö¿¡¼­ ¾Æ·¡ÀÇ ´Ü¾î¸¦ °Ë»öÇغ¸½Ã°í ÃæºÐÇÑ Á¤º¸¸¦ ¾òÀºÈÄ¿¡ ¼³Ä¡ÇÏ½Å´Ù¸é º¸´Ù ½±°Ô ¼³Ä¡µÉ¼ö ÀÖ½À´Ï´Ù.
    À̸§ ¼³¸í
    emerge portage ¸¦ °ü¸®ÇÏ´Â Åø (Á¨Åõ´Â °ð emerge¶ó°í ÇÒÁ¤µµ·Î Áß¿äÇÑ Åø)
    ebuild emerge ÀÇ »À´ë¿¡ ÇØ´çÇÏ´Â Åø
    rc-update ·¹µ«»ç¿ëÀÚ¶ó¸é ntsysv¸í·É°ú Èí»çÇÏ´Ù°í ÀÌÇØÇÏ½Ã¸é µÇ¸ç ºÎÆÃÈÄ ¼öÇàÇÒ ÀýÂ÷¸¦ Á¶Á¤ÇÏ´Â ÅøÀÔ´Ï´Ù.
    env-update °¢Á¾ ȯ°æº¯¼ö¸¦ /etc/env.d ÇÏÀ§¿¡ ÁöÁ¤ÇÏ°í ÀÌ ¸í·ÉÀ» ÅëÇؼ­ ÃÖÁ¤ÀûÀ¸·Î ȯ°æº¯¼ö¸¦ µî·ÏÇÏ´Â /etc/profile.env ·Î ¸¸µé¾î ÁÝ´Ï´Ù.
    net-setup Network ¼³Á¤ Åø
    adsl-setup, adsl-start, adsl-stop, adsl-connect ADSL»ç¿ëÀÚ¿¡°Ô´Â ³Ê¹«³ªµµ Æí¸®ÇÑ Åø
    genkernel gentoo kernel ºôµå ÅøÀÔ´Ï´Ù. (ÇÊÀÚ´Â »ç¿ë¾ÈÇغýÀ´Ï´Ù.)
    revdep-rebuild ÀÇÁ¸°ü°è¿¡¼­ ºÎÀûÀýÇÑ ºÎºÐÀ» ÇØ°áÇØÁÖ´Â Åø
    w3m X°¡ ¼³Ä¡µÇ±â Àü±îÁö´Â À¥¼­ÇÎÀº ÀÌ°ÍÀ¸·Î ... (Âü°í·Î lynxµµ ÀÖ½À´Ï´Ù. ÇϳªÂë »ç¿ë¹ýÀ» ÀÍÈ÷½Ã¸é ÆíÇÕ´Ï´Ù.)
    cdrecord CD burning Åø
    qpkg ÆÐÅ°Áö¸¦ ½±°Ô °ü¸®ÇÒ¼ö ÀÖ´Â ¹æ¹ýÀ» Á¦°øÇÏ´Â ÅøÀÔ´Ï´Ù. (±²ÀåÈ÷ Æí¸®ÇÑ ±â´ÉÀÌ µ¸º¸ÀÔ´Ï´Ù.)
    chroot ÁöÁ¤ÇÑ µð·ºÅ丮¸¦ ÃÖ»óÀ§µð·ºÅ丮·Î ÀÓ¸íÇÏ´Â ÀüÅëÀûÀÎ ¸í·É¾îÀÔ´Ï´Ù.
    fdisk ÆÄƼ¼Ç ÆíÁýÅø

1.2.3. ¼³Ä¡°úÁ¤¿¡ ÇÊ¿äÇÑ ÆÄÀϵé

1.3. ¼³Ä¡°úÁ¤

1.3.1. Live CD±Á±â

  • ¿ì¼± [http]¿©±â¸¦ ´­·¯ LiveCDÀÇ ISO image¸¦ ¹Þ½À´Ï´Ù. ¾à 82MByteÀÌ°í ¿ö³« mirror°¡ »¡¶ó¼­ ¾à 10ºÐ¹Ì¸¸¿¡ ¹ÞÀ»¼ö ÀÖ¾ú½À´Ï´Ù.
    1. [http]Stage 1 /[http]Stage 2 /[http]Stage 3
  • °ø CD 1ÀåÀ» ÁغñÇÕ´Ï´Ù.
  • ´ÙÀ½°ú °°ÀÌ ISO¸¦ CD·Î ±¸¿ì¸é LiveCD°¡ ¿Ï¼ºµË´Ï´Ù. (¾Æ·¡ÀÇ ¸í·ÉÀº ±âÁ¸¿¡ ÀÌ¹Ì ´Ù¸¥ ¹èÆ÷ÆÇÀ» »ç¿ëÇÏ´Â °æ¿ì »ç¿ëÇÏ´Â °ÍÀ̸ç Windows³ª ±× ¹Û¿¡ ´Ù¸¥ ¿î¿µÃ¼Á¦¿¡¼­¶ó¸é °¢ÀÚ ³ª¸§´ë·ÎÀÇ CD±Á´Â ¹æ¹ýÀÌ ÀÖÀ¸´Ï ¾î·°Ç ±Á½À´Ï´Ù. (Âü°í: CD-RW »ç¿ëÇϱâ À§ÇÑ Áغñ°úÁ¤)
    cdrecord -v -eject speed=4 dev=/dev/cdrom install-x86-minimal-2007.0-r1.iso
    
  • CD°¡ ±¸¿öÁ³À¸¸é CD ¸¦ ÀÌ¿ëÇÏ¿© ºÎÆÃÇÕ´Ï´Ù.

1.3.2. Network ±¸¼º

  • Gentoo linux´Â ¸ðµç ±¸¼º¿ä¼Ò°¡ ÃÖ¼ÒÇÑÀÇ ºÎºÐÀ» Á¦¿ÜÇÑ ³ª¸ÓÁö´Â ¸ðµÎ Gentoo mirror¿¡¼­ ¹ÞÀ¸¸é¼­ ÄÄÆÄÀÏ°ú ¼³Ä¡¸¦ ÇÏ´Â µ¿ÀÛ¿¡ ÀÇÇÑ °ÍÀ̹ǷΠNetwork ¼³Á¤ÀÌ °¡Àå ¼±ÇàµÇ¾î¾ß ÇÒ ³»¿ëÀÔ´Ï´Ù.
  • adsl»ç¿ëÀÚ¸¦ Á¦¿ÜÇÑ ³ª¸ÓÁö »ç¿ëÀÚ´Â net-setup¸í·ÉÀ» ¼öÇàÇÏ¿© ÀûÀýÇÑ network±¸¼ºÀ» ¸¶Ä¥¼ö ÀÖÀ¸¸ç adsl»ç¿ëÀÚ´Â adsl-setupÀ» »ç¿ëÇÏ¿© adsl¼³Á¤À» ¸¶Ä¨´Ï´Ù.
    • °íÁ¤ IP ¶Ç´Â À¯µ¿ IP(dhcp)¸¦ »ç¿ëÇϽô °æ¿ì ´ÙÀ½°ú °°ÀÌ ÀÔ·ÂÇÏ¿© ¼³Á¤ÇÕ´Ï´Ù.
      livecd gentoo # net-setup eth0
      
    • adsl»ç¿ëÀÚ´Â ´ÙÀ½°ú °°ÀÌ ÀÔ·ÂÇÏ¿© adsl ID, Password, DNSµîÀ» ±¸¼ºÇÏ¿© ÁÝ´Ï´Ù.
      livecd gentoo # adsl-setup
      ...          /* ÀÚ½ÅÀÇ ADSL ID, Password, DNS ÀÔ·Â (STANDALONE ¼±ÅÃ) */
      livecd gentoo # adsl-start
      ..Connected!
      livecd gentoo #
      
  • "/etc/resolv.conf" ÆÄÀÏÀ» ÀûÀýÈ÷ nameserver¸¦ ÆíÁýÇÏ¿© ÀÚ½ÅÀÇ ³×Æ®¿÷±¸¼ºÀ» ¸¶Ä¨´Ï´Ù.
  • 1.3.3. Root ¾ÏÈ£ Àӽà º¯°æ (¿ø°Ý¼³Ä¡¸¦ À§ÇÑ Áغñ)

  • Gentoo ´Â sshd ¸¦ »ç¿ëÇÏ¿© ¿ø°Ý¿¡¼­ ¼³Ä¡ÇÒ¼ö ÀÖ´Â ¹æ¹ýÀ» Á¦°øÇÕ´Ï´Ù. ¶§¹®¿¡ ·Î±×ÀÎÀÛ¾÷À» À§Çؼ­ Àӽ÷Π¾ÏÈ£¸¦ ÁöÁ¤ÇØ¾ß Çϴµ¥ ´ÙÀ½°ú °°ÀÌ ÇÏ¿© ¾ÏÈ£¸¦ ¼³Á¤ÇÕ´Ï´Ù. (¸¸¾à ¿ø°Ý¿¡¼­ ¼³Ä¡ÇÏÁö ¾Ê´Â´Ù¸é ÀÌ ÀÛ¾÷Àº ÇÊ¿ä¾ø½À´Ï´Ù.)
    livecd gentoo # passwd root
    New UNIX password: xxxxxxxx
    Retype new UNIX password : xxxxxxxx
    
  • ÀÌÁ¦ ¿ø°ÝÁö¿¡¼­ Á¢¼ÓÇÏ¿© Á¨Åõ¸¦ °è¼Ó ¼³Ä¡ÇÒ¼ö ÀÖ°Ô ÇÒ¼ö ÀÖ½À´Ï´Ù. ´ÙÀ½°ú °°ÀÌ sshd ¸¦ ¶ç¿ó´Ï´Ù.
    livecd gentoo # /etc/init.d/sshd start
    ... ÀÎÁõÅ° »ý¼ºÇÑ´Ù´Â ¸Þ½ÃÁö¿Í ÇÔ²² ...
     * Generating RSA-Hostkey...       [ ok ]
    ... ÀÎÁõÅ° »ý¼ºÇÑ´Ù´Â ¸Þ½ÃÁö¿Í ÇÔ²² ...
     * Starting sshd...                [ ok ]
    
  • ¿ÜºÎ¿¡¼­ ÀÚ½ÅÀÇ ¼³Ä¡È¯°æ¿¡ Á¢¼ÓÀ» Çϱâ À§Çؼ­´Â "ssh root@<Á¢¼ÓÁÖ¼Ò>"¿Í °°ÀÌ ÀÔ·ÂÇÏ¿© Á¢¼ÓÀ» ÇÒ¼ö ÀÖ½À´Ï´Ù. ÀÌÁ¦ºÎÅÍ ¿ø°ÝÀ¸·Î Á¢¼ÓÇÏ¿© ¼³Ä¡°¡ °¡´ÉÇÕ´Ï´Ù.
  • ¸¸¾à ¿ÜºÎ¿¡¼­ ssh ¸í·ÉÀ¸·Î Á¢¼ÓÀÌ ¾ÈµÇ´Â °æ¿ì ÇØ´ç Á¢¼Ó Ŭ¶óÀ̾ðÆ®ÀÇ "~/.ssh" µð·ºÅ丮 ¹Ø¿¡ "known_hosts" ÆÄÀÏÀ» »èÁ¦ÇÑÈÄ¿¡ ´Ù½Ã Á¢¼ÓÀ» ½ÃµµÇÏ¸é µÉ¼öµµ ÀÖ½À´Ï´Ù.
  • 1.3.4. ÆÄƼ¼Ç ¼³Á¤

  • ¼³Ä¡µÉ ÆÄƼ¼ÇÀ» ±¸¼ºÇÕ´Ï´Ù. ÇÊÀÚÀÇ °æ¿ì´Â ´ÙÀ½°ú °°ÀÌ ±¸¼ºÇÏ¿´½À´Ï´Ù. (ÂüÁ¶: ÆÄƼ¼Ç)
    cdimage root # /sbin/fdisk -l
    Disk /dev/hda: 30.0 GB, 30005821440 bytes
    255 heads, 63 sectors/track, 3648 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot    Start       End    Blocks   Id  System
    /dev/hda1   *         1        13    104391   83  Linux           100MByte
    /dev/hda2            14      1058   8393962+  83  Linux           8GByte
    /dev/hda3          1059      3614  20531070   83  Linux           ¾à 20GByte
    /dev/hda4          3615      3648    273105   82  Linux swap      256MByte
    
  • ÇÊÀÚ´Â /dev/hda1="/boot", /dev/hda2="/backup" , /dev/hda3="/", /dev/hda4="swap" À¸·Î °èȹÇÏ°í ¼³Ä¡Çϱâ·Î ÇÏ¿© À§¿Í °°Àº ±¸¼ºÀÌ µÇ¾ú½À´Ï´Ù.
  • ÀÌÁ¦ °¢ ÆÄƼ¼ÇÀ» Æ÷¸ËÇϱâ À§Çؼ­ ´ÙÀ½°ú °°ÀÌ Æ÷¸ËÇÏ¿´½À´Ï´Ù.
    cdimage root # mke2fs -j /dev/hda1 ; mke2fs -j /dev/hda2 ; mke2fs -j /dev/hda3 
    cdimage root # mkswap /dev/hda4 ; swapon /dev/hda4
    ...
    
  • À§¿¡¼­ ÀúÀÇ °æ¿ì´Â ext3¸¦ »ç¿ëÇϱâ À§Çؼ­ mke2fs ¸í·É¿¡ "-j"¿É¼ÇÀ» »ç¿ëÇÏ¿´Áö¸¸ ext2¸¦ »ç¿ëÇϽŴٸé "-j"¿É¼ÇÀº »©½Ã¸é µË´Ï´Ù. ¸¶Âù°¡Áö·Î ±×¹ÛÀÇ ÆÄÀϽýºÅÛÀÇ °æ¿ì ÀûÀýÇÑ Æ÷¸Ë¸í·ÉÀ¸·Î Æ÷¸ËÇÕ´Ï´Ù.
  • ÀÌÁ¦ Æ÷¸ËµÈ ÆÄƼ¼ÇÀ» "/mnt/gentoo" À§¿¡ mountÇÏ¿© ½ÇÁ¦ ±¸¼ºÀ» ÁغñÇÕ´Ï´Ù.
    cdimage root # mount /dev/hda3 /mnt/gentoo
    cdimage root # mkdir /mnt/gentoo/boot
    cdimage root # mount /dev/hda1 /mnt/gentoo/boot
    cdimage root # cd /mnt/gentoo
    
  • ÀÌÁ¦ °¢ ¸¶¿îÆ®¸¦ ¿Ï·áÇÏ¿´°í stage1ÀÇ ±âº» package¸¦ "/mnt/gentoo"¿¡ ¾ÐÃàÀ» Ç®¾îµÓ´Ï´Ù.
    livecd gentoo # cd /mnt/gentoo
    livecd gentoo # wget http://ftp.kaist.ac.kr/pub/gentoo/releases/x86/2007.0/stages/stage1-x86-2007.0.tar.bz2
    ...
    livecd gentoo # tar -xvjf stage1-x86-2007.0.tar.bz2
    ...
    
  • Stage1ÀÇ ±âº» package¸¦ Ç®¾îµÎ°í ÀÌÁ¦ procÀ» »ç¿ëÇÒ¼ö ÀÖµµ·Ï procÀ» mountÇÕ´Ï´Ù.
    livecd gentoo # mount -t proc proc /mnt/gentoo/proc
    
  • swap ÆÄƼ¼ÇÀº ÀÚ½ÅÀÇ ¸Þ¸ð¸®Å©±âÀÇ 2¹è¿¡ ÇØ´çÇÏ´Â Å©±â¸¦ Àâ´Âµ¥ ÀÌ Å©±â°¡ 256MByte¸¦ ³ÑÀ»°æ¿ì 256MByte¸¦ ³ÑÁö ¾Êµµ·Ï Àâ´Â°ÍÀÌ Àû´çÇÏ´Ù´Â ÇÊÀÚÀÇ ¼Ò°ßÀÔ´Ï´Ù. Àû´çÈ÷ ÀâÀ¸¼¼¿ä.
  • 1.4. Mirror ¼³Á¤

  • ¾Õ¿¡¼­µµ ¾ð±ÞÇÏ¿´µíÀÌ Gentoo linux´Â ±âº»±¸¼ºÀ» Á¦¿ÜÇÑ ³ª¸ÓÁö ¸ðµç package´Â mirror¸¦ ÅëÇؼ­ ¹Þ¾Æ¿À±â ¶§¹®¿¡ mirrorÀÇ ÀûÀýÇÑ ¼³Á¤ÀÌ ÇÊ¿äÇÕ´Ï´Ù. ÇöÀç ±¹³»¿¡ »§»§ÇÑ mirror°¡ À־ ±×°÷À» ÁöÁ¤Çϵµ·Ï ´ÙÀ½°ú °°ÀÌ ÁöÁ¤ÇÕ´Ï´Ù.
    cdimage root # mirrorselect -i -o >> /mnt/gentoo/etc/make.conf
    
  • À§¿Í °°ÀÌ ÀÔ·ÂÇϸé mirror¸¦ ¼±ÅÃÇÒ¼ö Àִ âÀÌ º¸¿©Áú°Ì´Ï´Ù. (¸¸¾à º¸ÀÌÁö ¾Ê´Â´Ù¸é Network¼³Á¤ÀÌ À߸øµÈ °ÍÀÌ´Ï ´Ù½Ã È®ÀÎÇØÁÖ¼¼¿ä.)
  • mirrorÁß¿¡¼­ http://ftp.kaist.ac.kr/pub/gentoo/ Çϳª¸¸ ¼±ÅÃÇÏ½Ã¸é ¹«³­ÇÏ°Ô »ç¿ëÇÒ¼ö ÀÖ½À´Ï´Ù. ´Ù¸¥ °ÍÀ» ¼±ÅÃÇÏ½Ç ÇÊ¿ä´Â ¾ø¾îº¸ÀÔ´Ï´Ù.
  • 1.4.1. chrootÁøÀÔ

  • ÀÌÁ¦ chroot¸¦ »ç¿ëÇÏ¿© ÀÚ½ÅÀÇ ¼³Ä¡µÉ ÆÄƼ¼ÇÀ» "/"·Î ¹Ù²Ù¾î º»°ÝÀûÀÎ ¼³Ä¡¸¦ ½ÃÀÛÇÒ ¶§°¡ µÇ¾ú½À´Ï´Ù.
  • chroot ¿¡ ÁøÀÔÇϱâ Àü¿¡ screen À» »ç¿ëÇϸé ssh ·Î Á¢¼ÓÇÏ¿© ³×Æ®¿öÅ©·Î ¼³Ä¡¸¦ ÁøÇàÇÒ ¶§ µµ¿òÀÌ µË´Ï´Ù.
    cdimage root # cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
    cdimage root # chroot /mnt/gentoo /bin/bash
    cdimage / # env-update
    cdimage / # source /etc/profile
    
  • À§ÀÇ ÀýÂ÷¸¦ ¼öÇàÇϸé "/mnt/gentoo"ºÎºÐÀÌ "/"·Î ¹Ù²î°Ô µÇ¸ç ÀÌÁ¦ºÎÅÍ´Â ÀÚ½ÅÀÇ ¼³Ä¡µÉ °÷ÀÇ È¯°æÀ¸·Î ¿òÁ÷ÀÔ´Ï´Ù.
  • 1.4.2. Portage ¹Þ¾Æ¿À±â

  • Gentoo´Â ¸ðµç ÆÐÅ°ÁöµéÀ» portage¶ó´Â ¹æ½ÄÀ» µµÀÔÇÏ¿© »ç¿ëÇϹǷΠÀÌ portage ȯ°æÀ» ¹Þ¾Æ¿Í¾ß ÇÕ´Ï´Ù. ´ÙÀ½°ú °°ÀÌ °£´ÜÈ÷ ¹ÞÀ»¼ö ÀÖ½À´Ï´Ù.
    cdimage / # emerge sync
    
  • ÀÌ ÀÛ¾÷Àº ³×Æ®¿÷ ¼Óµµ ¹× ½Ã½ºÅÛ¿¡ µû¶ó¼­ ¼ö½ÊºÐÁ¤µµ °É¸®¹Ç·Î ±×³É Àá½Ã ÁÖ¹«¼Åµµ ÁÁÀ»µí ÇÕ´Ï´Ù. (ÇÊÀÚ´Â ¾à 30ºÐ¿¡¼­ 1½Ã°£Á¤µµ ¼Ò¿äµÇ¾ú½À´Ï´Ù.)
  • 1.4.3. ÃÖÀûÈ­ ¼³Ä¡¸¦ À§ÇÑ ÀÛ¾÷

  • GentooÀÇ ÃÖ´ë ÀåÁ¡ÁßÀÇ ÇϳªÀÎ »ç¿ëÀÚÀÇ ÃëÇâ¿¡ ¸Â´Â ÃÖÀûÈ­±â´ÉÀ» À§Çؼ­ "/etc/make.conf"¸¦ ÆíÁýÇÏ¿©¾ß ÇÕ´Ï´Ù. ÇÊÀÚÀÇ ±âÁØÀ¸·Î ´ÙÀ½°ú °°ÀÌ ¼³Á¤ÇÏ¿´À¸¸ç »ç¿ëÀںеéÀÇ ÀûÀýÇÑ È¯°æ¿¡ ¸Âµµ·Ï ¼öÁ¤ÇÏ½Ã¸é µË´Ï´Ù. Âü°í·Î ÀÌ °úÁ¤¿¡¼­´Â vi¸¦ »ç¿ëÇÒ¼ö ¾ø°í "nano"¸¦ »ç¿ëÇÏ¿© ÆíÁýÀ» ÇÏ¼Å¾ß ÇÕ´Ï´Ù. ¹°·Ð vi¸¦ Àý´ë·Î »ç¿ëÇÒ¼ö ¾ø´Ù´Â °ÍÀÌ ¾Æ´Ï°í chrootȯ°æ¿¡¼­ vi°¡ ¼³Á¤µÇ¾î ÀÖÁö ¾Ê±â ¶§¹®ÀÔ´Ï´Ù. ±»ÀÌ vi¸¦ »ç¿ëÇÏ°íÀÚ ÇϽŴٸé "ALT + F2"¸¦ ´­·¯¼­ consoleÀ» ÀüȯÈÄ¿¡ "/mnt/gentoo/etc/make.conf"¸¦ ÆíÁýÇÏ½Ã¸é µË´Ï´Ù.
    CHOST="i686-pc-linux-gnu"
    CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe"
    CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe"
    LINGUAS="ko"
    VIDEO_CARDS="radeon vesa fbdev nvidia"
    PORTDIR_OVERLAY="/usr/local/portage"
    GENTOO_MIRRORS="http://ftp.gentoo.or.kr/"
    
  • ¿©±â¼­ ÇÊÀÚ´Â -fomit-frame-pointer¿É¼ÇÀ» ÁÖ¾úÀ¸³ª ¼³Ä¡ÇÒ package¿¡ inline assembly°¡ Æ÷ÇÔµÈ´Ù¸é °æ¿ì¿¡ µû¶ó¼­ ¹®Á¦¸¦ ¹ß»ý½Ãų¼ö ÀÖ½À´Ï´Ù. ´ëºÎºÐÀÇ package¿¡¼­´Â º° ¹®Á¦°¡ ¾øÁö¸¸ ÈçÇÏÁö ¾Ê´Â ÀϺΠpackage¿¡¼­´Â ȣȯ¼ººÎºÐ¿¡¼­ ¹®Á¦°¡ ¹ß»ýÇÒ¼ö ÀÖ½À´Ï´Ù. (ÀÏ´Ü ÀÚ½ÅÀÌ Hacking tool°ü·Ã °ü½ÉÀÌ Ä¿¼­ °ü·Ã toolÀ» ¼³Ä¡ÇÑ´Ù¸é ÀÌ ¿É¼ÇÀº »©½Ê½Ã¿ä!)
  • 1.4.4. Boot strap ÀÛ¾÷

  • ÀÌÁ¦ binutils, gcc, gettext, glibc¸¦ ÀÚ½ÅÀÇ ½Ã½ºÅÛ¿¡ ¸Âµµ·Ï µ¤¾î¾º¿ì´Â ÀÛ¾÷ÀÌ ÇÊ¿äÇѵ¥ °í¸¿°Ôµµ ÀÌ ÀÛ¾÷Àº script·Î ÀÛ¼ºµÇ¾î À־ ¹æ±ÝÀü¿¡ "emerge sync"ÀÛ¾÷¿¡ ÀÇÇؼ­ script°¡ ¹Þ¾ÆÁ® ÀÖ½À´Ï´Ù. °£´ÜÈ÷ ´ÙÀ½°ú °°ÀÌ ÀÔ·ÂÇÏ¿© ²ö±â¸¦ °¡Áö°í ±â´Ù¸®¸é µË´Ï´Ù. ¾à ¼ö½ÊºÐ¿¡¼­ ¼ö½Ã°£ÀÌ °É¸³´Ï´Ù. ÇÊÀÚ´Â 4½Ã°£Á¤µµ °É¸°µí ÇÕ´Ï´Ù. ¸¸¾à stage 3ºÎÅÍ ¼³Ä¡¸¦ ¼±ÅÃÇϼ̴ٸé ÀÌ °úÁ¤°ú µÚ¿¡ ¿À´Â "emerge system" °úÁ¤À» »ý·«ÇÕ´Ï´Ù.
    cdimage / # cd /usr/portage
    cdimage / # scripts/bootstrap.sh
    cdimage / # source /etc/profile        /* bootstrap °úÁ¤ÀÌÈÄ ÀÌ °úÁ¤À» ´Ù½Ã Ç϶ó´Â ¸Þ¼¼Áö°¡ º¸ÀÌ´õ±º¿ä. (¾ÈÇصµ Å©°Ô ¹®Á¦´Â ¾ø´Âµí.) */
    
  • ÆÁ: Àá±ñ! bootstrap°úÁ¤°ú ¹Ù·Î µÚ¿¡ ¿À´Â "emerge system" °úÁ¤ÀÌ ±²ÀåÈ÷ ±ä ½Ã°£À» ÇÊ¿ä·Î ÇϹǷΠ´ÙÀ½°ú °°ÀÌ ¿¬¼ÓÀ¸·Î ¼öÇàÇϵµ·Ï ÇÑ´Ù¸é º¸´Ù Æí¸®ÇÏ°Ú½À´Ï´Ù. ¾Æ·¡¿Í °°ÀÌ ÇØµÎ¸é ±â´Ù¸²¾øÀÌ system ±îÁö Âß À̾ ÇÒ°ÍÀÌ°í Á¶±ÝÀ̳ª¸¶ ¼³Ä¡½Ã°£À» ÁÙÀϼö ÀÖ°ÚÁÒ? ¸¶Âù°¡Áö·Î ¼¼¹ÌÄÝ·ÐÀ¸·Î ´ÙÀ½ ÀÛ¾÷±îÁö Âß Àû¾îµÐ´Ù¸é Á¶±ÝÀ̳ª¸¶ ½Ã°£À» ¾Æ³¢´Â ¹æ¹ýÀÏ°Ì´Ï´Ù.
    cdimage / # cd /usr/portage
    cdimage / # scripts/bootstrap.sh ; source /etc/profile ; emerge system
    
  • 1.4.5. System ¼³Ä¡

  • ÀÌÁ¦ º»°ÝÀûÀ¸·Î GentooÀÇ ±âº»¼³Ä¡¿¡ ÇÊ¿äÇÑ °¢Á¾ buildÅø°ú ȯ°æÅøÀ» ¼³Ä¡Çϴµ¥ ÀÚ½ÅÀÇ È¯°æ¿¡ ¸Âµµ·Ï ¾Ë¾Æ¼­ ¼³Ä¡¸¦ ÇØÁÝ´Ï´Ù.
    cdimage / # emerge system
    
  • ÀÌ ÀÛ¾÷Àº Á¤¸»·Î ¸¹Àº ½Ã°£ÀÌ ¼Ò¿äµÇ¹Ç·Î ÁÖ¹«½Ã±â Àü¿¡ ½ÇÇàÇϽðí ÁÖ¹«½Ã¸é Àû´çÇÒµí »ý°¢µË´Ï´Ù. (ÇÊÀÚÀÇ °æ¿ì 12½Ã°£Á¤µµ ¼Ò¿äµÇ¾ú½À´Ï´Ù.)
  • 1.4.6. Áö¿ªº° ½Ã°£´ë ¼³Á¤

  • ±âº»½Ã°£´ë´Â GMT±âÁØÀ¸·Î µÇ¾î ÀÖÀ¸¹Ç·Î ¿ì¸®³ª¶ó¿¡ ¸Âµµ·Ï ´ÙÀ½°ú °°ÀÌ ÁöÁ¤ÇÕ´Ï´Ù.
    cdimage / # ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
    
  • ¸¸¾à MS WindowsÁ¦Ç°°ú ¸ÖƼºÎÆÃÀ» ÅëÇÏ¿© »ç¿ëÇÏ°íÀÚ ÇϽŴٸé ÀÌ¿Í ´õºÒ¾î "/etc/conf.d/clock" ¼³Á¤ÆÄÀÏ¿¡¼­ CLOCK="local" ·Î º¯°æÇÏ½Ã´Â°Ô ÁÁ½À´Ï´Ù. Linux ¸¸ »ç¿ëÇϽŴٸé CLOCK=UTC ¸¦ ÃßõÇÏÁö¸¸ ²À ÀÌ·¡¾ß Çϴ°ÍÀº ¾Æ´Õ´Ï´Ù.
  • 1.4.7. fstab ¼³Á¤

  • ÀÌÁ¦ mount°ü·Ã fstabÀ» ¼öÁ¤ÇÏ¿© ÀÚ½ÅÀÇ ½Ã½ºÅÛ¿¡ ÇÊ¿äÇÑ mount¸¦ ÁöÁ¤ÇÕ´Ï´Ù. ÇÊÀÚÀÇ È¯°æ¿¡¼­´Â ´ÙÀ½°ú °°ÀÌ ÆíÁýÇÏ¿´½À´Ï´Ù.
    # <fs>          	<mountpoint>    <type>  	<opts>      		<dump/pass>
    /dev/hda1		/boot		ext3		noatime			1 1
    /dev/hda2		/storage	ext3		         noatime			0 0
    /dev/hda3		/		ext3		noatime			0 0
    /dev/hda4		none		swap		sw			0 0
    /dev/cdroms/cdrom0	/mnt/cdrom	iso9660		noauto,ro		0 0
    
    # ¿©±â´Â ¼öÁ¤ÇÏ¸é ½Ã½ºÅÛ µ¹¾Æ°¡´Âµ¥ ¹®Á¦°¡ ¸¹½À´Ï´Ù.
    none			/proc		proc		defaults		0 0
    none			/dev/shm	tmpfs		defaults		0 0
    
  • À§ÀÇ fstab ¿¹Á¦´Â ÇÊÀÚÀÇ È¯°æ¿¡ ¸Âµµ·Ï ±¸¼ºÇÑ°ÍÀÏ»ÓÀÌ¸ç ½ÇÁ¦±¸¼ºÀº °¢ÀÚ ÀÚ½ÅÀÇ ½Ã½ºÅÛ¿¡ ¸Âµµ·Ï ±¸¼ºÇÏ¿©¾ß ÇÕ´Ï´Ù. ¿·»ç¶÷ ºÙÀâ°í »óÀÇÇغ¾½Ã´Ù. ^^
  • 1.4.8. Kernel ¼³Ä¡

  • Kernel¼³Ä¡´Â 2°¡Áö ¹æ¹ýÀ» »ç¿ëÇÒ¼ö Àִµ¥ Gentoo¿ë Ä¿³ÎÀ» »ç¿ëÇÏ´Â ¹æ¹ý°ú ÀÚ½ÅÀÌ ¿øÇÏ´Â Ä¿³ÎÀ» ¹Þ¾Æ¼­ »ç¿ëÇÏ´Â ¹æ¹ýÀÌ ±×°ÍÀÔ´Ï´Ù.
  • ÇÊÀÚ´Â http://www.kernel.org ¿¡¼­ ÀÔ¸À¿¡ ¸Âµµ·Ï 2.6.6À» »ç¿ëÇÏ¿´½À´Ï´Ù.
  • 1.4.8.1. Gentoo¿ë Ä¿³Î ¼³Ä¡

  • Ä¿³Î ¼³Ä¡¿¡´Â genkernel À̶ó´Â ¸í·É¾î¸¦ »ç¿ëÇÏ¿© ¼³Ä¡Çϴ¹æ¹ý°ú Á÷Á¢ ÀÚ½ÅÀÌ ¼³Ä¡ÇÏ´Â »ç¿ëÀÚ ¼³Ä¡¹ýÀÌ ÀÖ½À´Ï´Ù.
  • ¹Ýµå½Ã Ä¿³Î¿É¼Ç ¼³Á¤½Ã¿¡ ¾Æ·¡ÀÇ ¼³Á¤Ç׸ñÀ» ¼±ÅÃÇϽñ⠹ٶø´Ï´Ù. ¾Æ¸¶µµ ÀÌ°ÍÀ» ¼±ÅÃÇÏÁö ¾ÊÀ¸¸é ºÎÆýÿ¡ ¹¹¶ó°í ¸Þ¼¼Áö°¡(¾Æ¸¶µµ Á¦ ±â¾ïÀÌ ¸Â´Ù¸é "DEVFS" ¾î¼±¸...) ³ª¿Ã°Ì´Ï´Ù.
    File systems --> Pseudo filesystems --> [*] /dev file system support
    File systems --> Pseudo filesystems --> [*]   Automatically mount at boot
    
  • 1.4.8.2. genkernel¿¡ ÀÇÇÑ Ä¿³Î¼³Ä¡

  • ÀÚ½ÅÀÌ ¿øÇÏ´Â Ä¿³Î¼Ò½º¸¦ ¼±ÅÃÇÏ¿©¾ß Çϴµ¥ "/usr/portage/sys-kernel" ¿¡¼­ Çѹø »ìÆ캸½Ã°í ÀûÀýÇÑ Ä¿³ÎÀ» ¼±ÅÃÇÕ´Ï´Ù. º¸ÅëÀº gentoo-sources À» ¹Þ¾Æ¼­ ¼³Ä¡ÇÏ¸é ¹«³­ÇØ º¸ÀÔ´Ï´Ù.
    cdimage / # emerge -k sys-kernel/gentoo-sources  /*  ¶Ç´Â emerge -k sys-kernel/gs-source µî°ú °°ÀÌ Á÷Á¢ ¼±ÅÃÇÑ Ä¿³Î¼Ò½º ¼±Åà  */
    cdimage / # emerge -k genkernel
    
  • Ä¿³Î ¼Ò½º¸¦ ¹Þ°Ô µÇ¸é "/usr/src/linux" µð·ºÅ丮¿¡¼­ "make menuconfig" ¸í·ÉÀ» ÀÔ·ÂÈÄ¿¡ Ä¿³ÎÀÇ ¿É¼ÇÀ» Á¶Á¤ÇÏ¿©¾ß ÇÕ´Ï´Ù. Â÷±ÙÂ÷±ÙÈ÷ ¼³Á¤À» ÇϽðí ÀúÀåÈÄ ´ÙÀ½°ú °°ÀÌ ÀÔ·ÂÇÕ´Ï´Ù. (¸¸¾à Ä¿³ÎÀÇ ¿É¼Ç¿¡ ´ëÇؼ­ Àß ¸ð¸£´Â °æ¿ì´Â ±×³É Á¶Á¤ÇÏÁö ¾Ê°í °ð¹Ù·Î "genkernel all" ¸í·ÉÀ» ¼öÇàÇϼ¼¿ä. Ưº°ÇÑ °æ¿ì°¡ ¾Æ´Ï¸é ¿ì¼± ºÎÆÿ¡ ¼º°øÇÒ¼ö ÀÖ´Â Ä¿³ÎÀÏ°Ì´Ï´Ù.)
    cdimage / # genkernel all
    
  • À§¿Í °°ÀÌ genkernelÀ» ½ÇÇàÇÑÈÄ¿¡ "/boot" µð·ºÅ丮¿¡ kernel-2.X.X-gentoo-rX ·Î ÆÄÀÏÀÌ »ý¼ºµÉ°Ì´Ï´Ù. (¾ÆÁ÷ ÀÌ °úÁ¤ÀÌ ³¡³µ´Ù°í ºÎÆÃÇÒ¼ö Àִ°ÍÀº ¾Æ´Õ´Ï´Ù. µÚ¿¡ ³ª¿À´Â Bootloader°úÁ¤À» °ÅÃÄ¾ß ÇÕ´Ï´Ù.)
  • 1.4.8.3. »ç¿ëÀÚ Ä¿³Î ¼³Ä¡

  • ÇÊÀÚ´Â [http]¿©±â¿¡¼­ Ä¿³Î 2.6À» ¹Þ¾Æ¼­ "/usr/src" ¹Ø¿¡ ¾ÐÃàÀ» ÇØÁ¦ÇÏ°í ¼³Ä¡Çϵµ·Ï ÇÏ°Ú½À´Ï´Ù.
    cdimage / # emerge module-init-tools (Ä¿³Î 2.6¸¦ »ç¿ëÇÏ´Â °æ¿ì ÇÊ¿äÇÑ ¼³Ä¡ÀÌ¸ç ±× ÀÌÀüÀÇ ¹öÁ¯À» »ç¿ëÇÑ´Ù¸é ÇÊ¿ä¾ø½À´Ï´Ù. 2.4 ¹öÀüÀÇ Ä¿³ÎÀ̶ó¸é emerge modutilsÇÏ½Ã¸é µË´Ï´Ù. À̵µ Àúµµ ±ÍÂúÀ¸¸é emerge genkernelÀ» ÇÑ ¹ø ÇϽʽÿÀ. ÀÚµ¿À¸·Î ¹Þ¾ÆÁÝ´Ï´Ù.)
    cdimage / # cd /usr/src
    cdimage / # wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.4.tar.gz  
    cdimage / # tar -xvzf linux-2.6.24.4.tar.gz
    ...
    cdimage / # rm -f /usr/src/linux ; ln -sf linux-2.6.24.4 linux
    cdimage / # cd linux
    cdimage / # make mrproper
    cdimage / # make menuconfig (Ä¿³Î ¼³Á¤)
    cdimage / # make clean modules modules_install bzImage
    cdimage / # cp arch/i386/boot/bzImage /boot/bzImage-2.6.24.4
    
  • º»·¡ Ä¿³Î ÄÄÆÄÀÏÈÄ¿¡ bzImage¸¦ º¹»çÇÏ´Â ¹æ¹ýµµ ¸¹ÀÌ »ç¿ëÇϱâ´Â ÇÏÁö¸¸ "make install" À» ÅëÇؼ­ ¸µÅ©µÈ "/boot/vmlinuz"¸¦ »ç¿ëÇϴ°ÍÀÌ ÇÊÀÚÀÇ °æ¿ì º¸´Ù Æí¸®ÇÏ°Ô ´À²¸Áý´Ï´Ù. (ÀÌÀ¯´Â ºÎÆ®·Î´õÀÇ ¼³Á¤ÆÄÀÏÀº °Çµå¸± ÇÊ¿ä°¡ ¾ø±â ¶§¹®ÀÔ´Ï´Ù.) ÇÏÁö¸¸ ¹¹°¡ ÁÁ´Ù°í Çϱâ´Â ¾î·Æ°í ±×³É Àû´çÈ÷ ÆÇ´ÜÇÏ½Ã¸é µÉ°Í °°½À´Ï´Ù.
  • Ä¿³ÎÀÇ Ãʱâ ÄÄÆÄÀϽÿ¡´Â ¸ðµâÀ» ¸ðµÎ ³»Àå½ÃÅ°°í Á¤»óÀûÀ¸·Î ºÎÆõǴ°ÍÀ» È®ÀÎÈÄ¿¡ Çϳª¾¿ ¿ÜÀå¸ðµâ·Î »©ÁÝ´Ï´Ù. ÀÌ°ÍÀÌ º¸´Ù ºü¸¥ ÀûÀÀ¹ýÀÔ´Ï´Ù. óÀ½ºÎÅÍ ¸ðµâ·Î »©¸é ºÎÆÃÀÌ ¾ÈµÇ¼­ °ï¿åÀÔ´Ï´Ù. ¹°·Ð Ä¿³Î ¼³Á¤À» ÀßÇϽô ºÐÀ̶ó¸é ÀÌ°ÍÀº ºÒÇÊ¿äÇÑ ¿¹±âÀÔ´Ï´Ù.
  • 1.4.9. System ·Î±× µ¥¸ó ¼³Ä¡

  • À¯¿¬ÇÏ°í ±â´ÉÀÌ ´Ù¾çÇÑ syslog-ng ¸¦ ÃßõÇÕ´Ï´Ù
    cdimage / # emerge syslog-ng 
    cdimage / # rc-update add syslog-ng  default
    
  • syslog-ng ¿Ü¿¡µµ ¼±ÅÃÀÇ ÆøÀÌ ¸¹½À´Ï´Ù. Çѹø /usr/portage ÇÏÀ§¿¡¼­ ã¾Æº¸¼¼¿ä. (Âü°í·Î ÇÊÀÚÀÇ ³ëÆ®ºÏÀº sysklogd¸¦ »ç¿ëÇÕ´Ï´Ù.)
  • 1.4.10. CRON µ¥¸ó ¼³Ä¡

    cdimage / # emerge vixie-cron 
    cdimage / # rc-update add vixie-cron default 
    

    1.4.11. ±× ¹Û¿¡ ÇÊ¿äÇÑ package¼³Ä¡

    1.4.11.1. rp-pppoe

    • adsl»ç¿ëÀÚ´Â ¹Ýµå½Ã rp-pppoe¸¦ ¼³Ä¡ÇÏ¼Å¾ß ÇÕ´Ï´Ù. ±×·±µ¥ ÀÌ°ÍÀÌ Xµµ Á¾¼Ó¼ºÀÌ ÀÖ³ªº¾´Ï´Ù. ¶§¹®¿¡ USE="-X"¸¦ ÇÏ¿© À̸¦ ¼³Ä¡¾Êµµ·Ï ½ÇÇàÇÕ´Ï´Ù.
      cdimage / # USE="-X" emerge rp-pppoe
      

    1.4.11.2. pcmcia-cs

  • ÇÊÀÚ´Â ³ëÆ®ºÏ ȯ°æÀ̹ǷΠpcmcia¸¦ »ç¿ëÇϵµ·Ï ±¸¼ºÇØÁÖ¾î¾ß ÇϹǷΠ´ÙÀ½°ú °°ÀÌ ÇÏ¿´½À´Ï´Ù.
    cdimage / # emerge sys-apps/pcmcia-cs
    cdimage / # rc-update add pcmcia default
    
  • 1.4.11.3. vim

    cdimage / # emerge vim
    

    1.4.11.4. cvs

    cdimage / # emerge cvs
    


    1.4.12. ½Ã½ºÅÛ °ü¸®ÀÚ ¾ÏÈ£ ¼³Á¤ ¹× ÀϹݰèÁ¤ Ãß°¡

    • rootÀÇ ¾ÏÈ£¸¦ ¼³Á¤ÇØÁÖ¾î¾ß ÇϹǷΠ´ÙÀ½°ú °°ÀÌ ÀÔ·ÂÈÄ ¾ÏÈ£¸¦ ¹°¾î¿À¸é rootÀÇ ¾ÏÈ£¸¦ 2ȸ¿¡ °ÉÃÄ ÀÔ·ÂÇÕ´Ï´Ù.
    • ÁÖÀÇ: ÀÌ ÀÛ¾÷Àº óÀ½ livecd ºÎÆÃÇßÀ»¶§ ÀÔ·ÂÇß´ø ¾ÏÈ£¼³Á¤°ú´Â ´Ù¸¥°ÍÀÔ´Ï´Ù. ÀÌ °úÁ¤À» »ý·«ÇÏÁö ¸¶½Ê½Ã¿À!
      cdimage / # passwd
      
    • °èÁ¤ Ãß°¡
      cdimage / # adduser {MyUser} -m -d /home/{MyUser} -G users,wheel,audio -s /bin/bash
      cdimage / # passwd {MyUser}
      

    1.4.13. ÄÄÇ»ÅÍ À̸§ Áþ±â

  • ÀÚ½ÅÀÇ ÄÄÇ»ÅÍ À̸§¼³Á¤
    cdimage / # echo {My PC name} > /etc/hostname                     
    cdimage / # echo {My domainname.com} > /etc/dnsdomainname         /* ¾øÀ¸¸é »ý·« ¶Ç´Â hostname °ú µ¿ÀÏ */
    cdimage / # echo {My nis.domainname.com} > /etc/nisdomainname     /* ¾øÀ¸¸é »ý·« ¶Ç´Â hostname °ú µ¿ÀÏ */
    
  • 1.4.14. Network ¼³Á¤

  • ½ÇÁ¦ ºÎÆÃÈÄ¿¡ ¼³Á¤µÉ network IP¸¦ ¼³Á¤ÇÕ´Ï´Ù. "/etc/conf.d/net"À» ÀûÀýÈ÷ ¼öÁ¤ÇÏ½Ã¸é µË´Ï´Ù. (adsl»ç¿ëÀÚ´Â ºÎÆÃÈÄ¿¡ adsl-setupÀ» ½ÇÇàÇÏ¿© ȯ°æÀ» ¸ÂÃß½Ã¸é µË´Ï´Ù. ¼³Á¤ÈÄ¿¡´Â adsl-start¸¦ ÇϽðí¿ä.)
  • ÀÌÁ¦ network script°¡ ÀÚµ¿À¸·Î ºÎÆýÿ¡ ½ÇÇàµÇµµ·Ï ´ÙÀ½°ú °°ÀÌ ÀÔ·ÂÇÕ´Ï´Ù.
    cdimage / # rc-update add net.eth0 default           /* ¸¸¾à eth0 °¡ ¾Æ´Ï¶ó¸é ÀûÀýÈ÷ ¼öÁ¤ÇØ¾ß Çϴµ¥ À̺κÐÀº »ý·«ÇÏ°Ú½À´Ï´Ù. */
    
  • 1.4.15. autoload ¸ðµâ ¿Ã¸®±â

  • ±âº»ÀûÀ¸·Î ºÎÆýÿ¡ ¿Ã·ÁÁ®¾ß ÇÒ moduleÀ» ¼³Á¤ÇÏ¿© ºÎÆÃÇÒ¶§¸¶´Ù ÀÚµ¿À¸·Î ¿Ã¶ó°¡µµ·Ï ÁöÁ¤ÇÕ´Ï´Ù.
  • ÀÚ½ÅÀÇ Ä¿³Î ¹öÁ¯°ú °°Àº "/etc/modules.autoload.d/kernel-2.x"¸¦ ÆíÁýÇÏ¿© ±×°÷¿¡ module À̸§À» ÁöÁ¤ÇÏ¸é ´ÙÀ½ ºÎÆýø¶´Ù ¸ðµâÀÌ ¿Ã¶ó°©´Ï´Ù. Áß¿äÇÑ°ÍÀº Àû¾îµµ ÀÚ½ÅÀÇ Ethernet driver moduleÀº ÁöÁ¤Çصξî¾ß ÇÒ°ÍÀÔ´Ï´Ù. Àú´Â e100.o(Ä¿³Î 2.6¿¡¼­´Â e100.ko) ¸¦ ¿Ã·Á¾ß Çϴµ¥ ÀÌ°ÍÀ» ´ÙÀ½°ú °°ÀÌ .o(¶Ç´Â .ko)¸¦ »ý·«ÇÏ°í ÀÔ·ÂÇÏ¸é µË´Ï´Ù.
    # This is assuming that you are using a 3com card. 
    # Check /lib/modules/<kernel version>/kernel/drivers/net for your card. 
    # 3c59x
    e100
    
  • 1.4.16. Bootloader ¼³Ä¡

  • ÇÊÀÚÀÇ °æ¿ì´Â lilo¸¦ ¾Ö¿ëÇϹǷΠlilo¸¦ ¼³Ä¡ÇÏ¿´Áö¸¸ grubµµ ÁغñµÇ¾î ÀÖÀ¸´Ï »ç¿ëÀÚºÐÀÇ Æí¸®ÇÑ loader¸¦ ¼±ÅÃÇϼ¼¿ä.
    cdimage / # emerge -p grub        /* GrubÀÌ ÀÖ´ÂÁö È®ÀÎ */
    cdimage / # emerge -p lilo        /* Lilo°¡ ÀÖ´ÂÁö È®ÀÎ */
    cdimage / # emerge lilo           /* ÇÊÀÚ´Â lilo°¡ ÁÁ¾Æ¼­ lilo¸¦ ¼³Ä¡ */
    
  • ÀÏ´Ü lilo¸¦ ¹Þ¾ÒÀ¸¹Ç·Î ÇÊÀÚ´Â "/etc/lilo.conf"¸¦ ÆíÁýÇÏ¿© ´ÙÀ½°ú °°ÀÌ ¼³Á¤ÇÕ´Ï´Ù. ÇÏÁö¸¸ grub»ç¿ëÀÚÀÇ °æ¿ì´Â "/boot/grub/grub.conf"¸¦ ÆíÁýÇÏ½Ã¸é µË´Ï´Ù.
    # Start LILO global section
    boot=/dev/hda 
    map=/boot/map 
    install=/boot/boot.b 
    prompt 
    timeout=50 
    lba32 
    default=linux 
    
    #Linux section
    image=/boot/bzImage-2.6.24.4 
    label=linux 
    read-only 
    root=/dev/hda3
    
    #/dev/hda1¿¡ Windows¸¦ ¼³Ä¡ÇÑ °æ¿ì
    
    #Windows section
    other=/dev/hda1 
    label=dos
    	
    # End of lilo.conf
    
  • ¼³Á¤ÆÄÀÏÀ» Á¤È®È÷ ±â¼úÇÏ¿´´Ù¸é lilo¸í·É(grub »ç¿ëÀÚ´Â grubÀ» ½ÇÇàÇØ¾ß °ÚÁÒ?)À» ½ÇÇàÇÕ´Ï´Ù.
  • 1.4.17. ¼³Ä¡¿Ï·á

  • ÀÌÁ¦ ¾î·Á¿î ¼³Ä¡°úÁ¤Àº Áö³ª°¬À¸¸ç Áö·çÇÑ ¼³Ä¡½Ã°£¸¸ÀÌ ¿ì¸®¸¦ ±â´Ù¸±°Ì´Ï´Ù. (¹°·Ð ºÎÆÃÀÌ Á¦´ë·Î µÈ´Ù¸é)
  • ÀçºÎÆÃÀ» À§Çؼ­ ´ÙÀ½°ú °°ÀÌ ÀÔ·ÂÇÕ´Ï´Ù.
    cdimage / # etc-update
    cdimage / # exit 
    cdimage / # cd / 
    cdimage / # umount /mnt/gentoo/boot
    cdimage / # umount /mnt/gentoo/proc
    cdimage / # umount /mnt/gentoo
    cdimage / # reboot
    
  • ÀçºÎÆÃÇÒ¶§ LiveCD »©´Â°Å ÀØÁö ¸¶¼¼¿ä.
  • 1.4.18. Ãß°¡ÀûÀÎ portage ¼³Ä¡

  • ÀÌ Àý¿¡¼­´Â ÀÏ´Ü ºÎÆÿ¡ ¼³°øÇÏ¸é ¼öÇàÇÏ´Â °ÍµéÀ» ´Ù·ì´Ï´Ù. »ç½Ç ÀÌÀü¿¡ Çصµ »ó°üÀº ¾øÁö¸¸ X°°Àº°æ¿ì ¿ö³« ½Ã°£ÀÌ ¸¹ÀÌ ¼Ò¸ð µÇ´Â ÀÛ¾÷À̹ǷΠÀÏ´Ü ºÎÆÃÀÌ µÇ´Â°ÍÀ» È®ÀÎÇÏ°í ¼³Ä¡ÇÏ´Â °ÍÀÌ ÁÁ´Ù°í »ý°¢ÇÕ´Ï´Ù. ¸¸¾à ºÎÆÿ¡ ½ÇÆÐÇÏ¿´´Ù¸é ´Ù½Ã LiveCD·Î ºÎÆÃÈÄ chroot°úÁ¤ºÎÅÍ ´Ù½Ã ½ÃÀÛÇÏ¸é µË´Ï´Ù.
  • 1.4.18.1. GnomeÀÇ ¼³Ä¡

  • Áß¿äÇÑ°ÍÀº GUI°¡ ÀÌ»Û°Ô ¼³Ä¡µÇ¾î¾ß ¹º°¡ »Ç´ë°¡ ³­´Ù°í Çϴ°Íó·³ Gnome¾ø´Â Linux´Â Àç¹Ì ¾ø°ÚÁÒ?
  • ¿ì¼± ÇÊÀÚÀÇ °æ¿ì ±×³É ¼³Ä¡Çß´Ù°¡ ÈÄȸÇÑ ºÎºÐÀÌ ÀÖ½À´Ï´Ù. ¹Ù·Î USE¿É¼ÇÀ» Á» ¼öÁ¤ÇÏ°í Çß¾ú¾î¾ß Çß´Ù´Â »ý°¢ÀÌ µì´Ï´Ù. /etc/make.conf¿¡¼­ ´ÙÀ½°ú °°ÀÌ ÁÖÀÎÀåÀº Ãß°¡Çß½À´Ï´Ù. ¹Ýµå½Ã "gtk" ¿É¼ÇÀº Áִ°ÍÀ» ±ÇÀåÇÕ´Ï´Ù.
    USE="X gtk gnome -qt -kde"
    
  • ¸¸¾à KDE ¹× QT¸¦ »ç¿ëÇÏÁö ¾Ê´Â´Ù¸é USE ¿É¼Ç¿¡ "-qt -kde"À» Ãß°¡ÀûÀ¸·Î Áִ°ÍÀÌ ºÒÇÊ¿äÇÑ ¼³Ä¡¸¦ ¸·À»¼ö ÀÖ½À´Ï´Ù. ¹Ý´ë·Î gnome°ú gtk(gtk2) ¸¦ »ç¿ëÇÏÁö ¾Ê°í KDE¸¦ »ç¿ëÇÑ´Ù¸é ¹Ý´ë·Î ¿É¼ÇÀ» ÁöÁ¤ÇÏ°Ô µÇ´Â°ÍÀº ´ç¿¬ÇÑ ÀÌÄ¡ÀÏ°Ì´Ï´Ù. ¼±ÅÃÀº À¯ÀúÀÇ ÀÚÀ¯°ÚÁÒ? ¶ÇÇÑ ÇÊÀÚ°°Àº »ç¶÷ÀÌ ÀÖ´Ù¸é gpm ÀÇ °æ¿ìµµ ¼³Ä¡¸¦ ¿øÇÏÁö ¾Ê´Â ºÐµéÀÌ ÀÖÀ»°Ì´Ï´Ù. ´ç¿¬È÷ "-gpm"À» ÇÊÀÚ´Â ÁÖ¾úÀ¸¸ç ´ëÃæ ÀÌ·± ¹æ¹ýÀ¸·Î ÀÚ½ÅÀÌ ¼³Ä¡¸¦ ¿øÇÏÁö ¾Ê´Â ÆÐÅ°Áö¸¦ Â÷ºÐÈ÷ USE¿¡ ÀÔ·ÂÇØµÎ¸é »ç¿ëÇÏÁöµµ ¾Ê´Â ÆÐÅ°Áö·Î ¿ë·®À» ¼ÒºñÇÏÁö ¾Ê°Ô µË´Ï´Ù. Áß¿äÇÑ°ÍÀº ±×³É ¼³Ä¡¸¦ ¿øÇÏÁö ¾Ê´Â´Ù°í ¹«ÀÛÁ¤ Ãß°¡Çϴ°ÍÀº ÁÁÁö ¾Ê½À´Ï´Ù. È®½ÇÇÑ °æ¿ì¸¸ "USE"¸¦ »ç¿ëÇϼ¼¿ä.
  • ÀÌÁ¦ "emerge gnome" (KDEÀÇ °æ¿ì´Â "emerge kde")À» ÀÔ·ÂÇÏ¸é ±²ÀåÈ÷ ±ä ¼¼¿ùÀ» ÄÄÆÄÀÏÇÏ°Ô µÇ´Â°ÍÀ» º¸½Ç¼ö ÀÖ½À´Ï´Ù. ÇÊÀÚÀÇ °æ¿ì ÀÌ ÀÛ¾÷¿¡¼­ ²¿¹Ú ÇÏ·ç°¡ °É·ÈÀ¸´Ï µÇµµ·ÏÀÌ¸é ³ªÁß¿¡ ÇϽô°ÍÀÌ ÁÁÀ»µí ÇÕ´Ï´Ù. Âü°í·Î gnomeÀ» ¼³Ä¡Çϸé mozillaµµ °°ÀÌ ¼³Ä¡°¡ µË´Ï´Ù. ÀÌ°ÍÀ» ¿øÇÏÁö ¾Ê´Â °æ¿ì´Â USE¿É¼Ç¿¡ -mozilla¸¦ Ãß°¡Çϼŵµ ÁÁÀ»µí ÇÕ´Ï´Ù.
    • libgnomeprintui °¡ ¿¡·¯¸¦ ³»¸é¼­ Á¦´ë·Î ÄÄÆÄÀϵÇÁö ¾Ê´Â °æ¿ì°¡ ÀÖ½À´Ï´Ù. ÀÌ·² ¶§´Â mkdir /var/tmp/portage/fontconfig-2.2.1/image ÇÑ ÈÄ ln -s /usr /var/tmp/portage/fontconfig-2.2.1/image/usr ¸í·ÉÀ» ³»·Á ÁØ ÈÄ¿¡ ´Ù½Ã emerge gnome ÇÏ½Ã°í ³ªÁß¿¡ ±× Àӽà µð·ºÅ丮¸¦ Áö¿ö ¹ö¸®¸é µË´Ï´Ù. Âü°íÇϼ¼¿ä.
  • ±âº»ÀûÀ¸·Î gentoo¸¦ óÀ½ ¼³Ä¡Çϸé X°¡ ½ÇÇàµÇÁö ¾Ê½À´Ï´Ù. ±âº»ÀûÀ¸·Î X¸¦ ±âµ¿Çϱâ À§Çؼ­´Â "/etc/X11/gdm/gdm.conf" ¸¦ ÀûÀýÈ÷ ¼öÁ¤ÇØÁÖ¼Å¾ß ÇÏ°í ÇÊÀÚÀÇ °æ¿ì´Â µû·Î gdmÀ» »ç¿ëÇϱ⠶§¹®¿¡ "emerge gdm"À» ¼öÇàÇÏ¿´°í "/etc/rc.conf" ¿¡ º¸½Ã¸é gdmÀ» ÁöÁ¤ÇÏ´Â ºÎºÐÀÌ ÀÖ½À´Ï´Ù. ¸¸¾à gdmÀ» ¼³Ä¡Çϱ⠽ÈÀ¸½Ã´Ù¸é "XSESSION=Gnome"À̶ó°í µÈ ºÎºÐÀÇ ÁÖ¼®À» Ç®¾îÁÖ½Ã¸é µÇ°Ú½À´Ï´Ù. ±×¸®°í ÀÌ·¯ÇÑ ¼³Á¤ÀÌ µÈÈÄ¿¡ ´ÙÀ½°ú °°ÀÌ ÀÔ·ÂÇÏ¿© xdmÀ» ºÎÆýÿ¡ ±âµ¿ÇÒ¼ö ÀÖµµ·Ï ÇØÁÝ´Ï´Ù.
    cdimage / # rc-update add xdm default
    
  • ±×¸®°í X¸¦ ¶ç¿ì±â Àü¿¡ "/etc/X11/xorg.conf" ¸¦ ÀÚ½ÅÀÇ È¯°æ¿¡ ¸Âµµ·Ï ¼³Á¤ÇØÁà¾ß Çϴµ¥ ÀÌ°ÍÀÌ º¸Åë ¹ø°Å·Î¿î°Ô ¾Æ´Ï¸ç ½±Áöµµ ¾Ê½À´Ï´Ù. ±×·¡¼­ Xorg ¿¡¼­ À̸¦ ¾î´ÀÁ¤µµ¼±±îÁö ÇØÁÖ´Â ¹æ¹ýÀ» Á¦°øÇÕ´Ï´Ù.
    cdimage / # Xorg -configure
    
  • xf86cfg -textmode ·Î ¼³Á¤ÇÏ½Ã´Â°Ô ´õ ºü¸£°í ½¬¿ïµí ÇÕ´Ï´Ù.
  • 1.4.18.2. ÇѱÛÀԷ±⠼³Ä¡

  • ÇÊÀÚ´Â krisna´ÔÀÇ ÇѱÛÀԷ±â "³ªºñ"¸¦ Æí¸®ÇÏ°Ô »ý°¢ÇϹǷΠ³ªºñ(nabi)¸¦ ¼³Ä¡ÇÏ¿´½À´Ï´Ù.
    cdimage / # emerge nabi
    
  • ÇÏÁö¸¸ nabi¸¦ ¼³Ä¡ÇÏ¿´´Ù°í µ¿ÀÛÇÏÁö´Â ¾Ê½À´Ï´Ù. ¿ì¼± /etc/env.d/00basic ÆÄÀÏÀ» ÆíÁýÇϼż­ ´ÙÀ½°ú °°Àº »çÇ×À» Ãß°¡ÇØÁÖ¼¼¿ä.
  • »ç½Ç ÃßÈÄ Áö¼ÓÀûÀÎ update °úÁ¤¿¡¼­ "/etc/env.d/00base" Àº ³»¿ëÀÌ º¯ÁúµÉ°æ¿ì°¡ ÀÖ½À´Ï´Ù. ¶§¹®¿¡ "/etc/env.d/02useretc" (ÀÌ°ÍÀº ¿¹ÀÏ»Ó.) ¶ó°í ÆÄÀÏÀ» ¸¸µé°í ¾Æ·¡ÀÇ ³»¿ëÀ» ÆíÁýÇØµÎ½Ã¸é ¿ÀÈ÷·Á Â÷ÈÄ¿¡ updateÇϸ鼭 ÀϾ´Â »ç¼ÒÇÑ ¹®Á¦¸¦ ÇÇÇÒ¼ö ÀÖ½À´Ï´Ù.
    # Çѱ¹¾îÁö¿øÀ» À§ÇÑ ±âº» »çÇ×
    LANG="ko_KR.euckr"
    # ko_KR.eucKR:ko_KR:ko:en_US:en
    SUPPORTED="ko_KR.eucKR:ko_KR:ko"
    SYSFONT="lat0-sun16"
    SYSFONTACM="iso01"
    
    # ÀԷ±â·Î¼­ nabi¸¦ ¾Ë·ÁÁÖ´Â »çÇ× - Çʼö! ÀÌ »çÇ×ÀÌ ´©¶ôµÇ¸é ³ªºñ´Â ¹øµ¥±â·Î ÀÖÀ»°Ì´Ï´Ù.
    XMODIFIERS="@im=nabi"
    XIM_PROGRAM=/usr/bin/nabi
    
  • À§¿Í °°ÀÌ /etc/env.d/00basic À» ¼öÁ¤ÇÏ¼Ì´Ù¸é ´ÙÀ½°ú °°ÀÌ ÇÏ¿© /etc/profile.env ¸¦ »ý¼ºÇÏ¿©¾ß ÇÕ´Ï´Ù. (¹Ýµå½Ã 00basicÀ» ¼öÁ¤ÇÑ´Ù°í ÀÌÇØÇϽñ⠺¸´Ù´Â ÀÌ·¸°Ô ȯ°æº¯¼ö¸¦ ¼³Á¤ÇØ¾ß ÇÑ´Ù´Â Á¤µµ·Î ÀÀ¿ëÀ» ÇϽñ⠹ٶø´Ï´Ù.)
    cdimage / # env-update
    
  • ÀÌÁ¦ ÀÏ´ÜÀº Áغñ´Â µÇ¾ú°í gnomeÀÇ ¼³Á¤ ¸Þ´ºÁß¿¡¼­ "¼¼¼Ç¼³Á¤"ÀÌ ÀÖ½À´Ï´Ù. "¼¼¼Ç¼³Á¤"¿¡ º¸½Ã¸é ½ÃÀÛÇÁ·Î±×·¥ µî·ÏÇÏ´Â Ç׸ñÀÌ Àִµ¥ °Å±â¿¡ "/usr/bin/nabi"¸¦ Ãß°¡ÇØÁÝ´Ï´Ù. ÀÌ°ÍÀ» Ãß°¡ÇÏ°í gnomeÀ» Àç±âµ¿Çϸé ÀÌÁ¦ºÎÅÍ ÇѱÛÀÔ·ÂÀÌ °¡´ÉÇÑ »óÅ·ΠµË´Ï´Ù.
  • 1.4.18.3. ÀÔ¸À¿¡ ¸Â´Â ÆùÆ®·Î ²Ù¹Ì±â

  • X¿¡¼­ °¡Àå ¾Æ½¬¿î ºÎºÐÀÌ ÆùÆ®¶ó°í ÇÏ´Â ºÐµéÀÌ ¸¹À» Á¤µµ·Î »ç¿ëÀÚ¸¦ ¸¸Á·½ÃÅ°±â À§Çؼ­´Â ÆùÆ®ÀÇ ¹Ì·ÁÇÔÀÌ ¾à°£ ºÎÁ·ÇÔÀÌ ÀÖ½À´Ï´Ù. ±×¸®°í ¾ÈƼ¾ó¶óÀ̽Ì(°î¼±ÀÇ ±¼°îÀ» ¹øÁöµíÀÌ ¾à°£ÀÇ Å׵θ®¸¦ Èñ¹ÌÇÏ°Ô ±×·ÁÁÖ´Â ±â¼ú)À» »ç¿ëÇÏ¸é ±ÛÀÚº¸´Âµ¥ ´«ÀÇ ÇǷζó°í ÇÒ±î? ¾Æ¹«Æ° ¾à°£ÀÇ ¾î»öÇÔÀÌ ½±°Ô ÀØÇôÁöÁö ¾ÊÀ»°Ì´Ï´Ù. ÇÊÀÚ´Â ±×·¡¼­ WindowsÀÇ ÆùÆ®¸¦ "/usr/share/fonts/ttf/korean/ms" µð·ºÅ丮¸¦ ¸¸µé¾î¼­ º¹»çÇصΰí À̸¦ »ç¿ëÇϵµ·Ï ȯ°æ¼³Á¤ÆÄÀÏÀ» ¼öÁ¤ÇÏ¿© ÁÖ¾ú½À´Ï´Ù. À©µµ¿ìÀÇ ÆùÆ®¸¦ »ç¿ëÇغ¸½ÅºÐµéÀº ¾Æ½Ã°ÚÁö¸¸ È®½ÇÈ÷ ¹Ì·ÁÇÔ°ú ¾ÈƼ¾ó¶óÀ̽̿¡ ´ëÇÑ ºÎÀûÀýÇÑ ¸ð½ÀÀÌ »ç¶óÁú°Ì´Ï´Ù.
  • ¿ì¼± "/usr/share/fonts/" ÇÏÀ§¿¡¼­ Àû´çÇÑ ¼º°Ý¿¡ ¸Â´Â °÷¿¡ ÆùÆ®¸¦ º¹»çÇÕ´Ï´Ù. ±×¸®°í fc-cache ¶ó´Â ¸í·ÉÀ» ½ÇÇàÇÕ´Ï´Ù.
    • AAó¸®µÈ ÇÑ±Û ÆùÆ®°¡ Å©°Ô °Å½½¸®½ÃÁö ¾Ê°í Xft(Fontconfig) ±â¹ÝÀÇ ÆùÆ®¸¦ ÀÌ¿ëÇÏ´Â µ¥½ºÅ©Å¾ ȯ°æ(Gnome2.x, KDE3.x, Xfce4... µîµî)À» ÁÖ·Î »ç¿ëÇϽŴٸé "~/.fonts" µð·ºÅ丮¸¦ ¸¸µå½Ã°í ¿øÇϽô Ʈ·çŸÀÔ ±Û²ÃÀ» º¹»çÇϽñ⸸ ÇÏ¸é µË´Ï´Ù. ȯ°æ¼³Á¤Àº ~/.fonts.conf - mattengi
    • [http]Fonts in XFree86
    • [http]Fontconfig
    • [http]Àº±Û²Ã(GPL ÇÑ±Û ±Û²Ã)
  • X font server µµ service ¿¡ µî·ÏÇØÁִ°ÍÀÌ ÁÁ½À´Ï´Ù. "rc-update add xfs default" ¸¦ ÀÔ·ÂÇϸé óÀ½ ½ÇÇà½Ã¿¡´Â "fc-cache" µµ ÇÔ²² ÇØÁָ鼭 ½ÇÇàµÉ°Ì´Ï´Ù.
  • 1.4.18.4. ¸ÖƼ¹Ìµð¾îÀÇ °¨»óÀ» ÇѲ¯ ´À³¢±â À§ÇÑ mplayer

  • mp3 Àç»ý±â´Â "¸®µë¹Ú½º"³ª "XMMS"¸¦ ¼³Ä¡ÇÏ¸é µÇ°í ±×¸® ¾î·ÆÁö ¾ÊÀ¸´Ï ¼³¸íÇÏÁö ¾Ê°Ú½À´Ï´Ù.
    • Âü°í·Î ÇÊÀÚ°¡ ¸¸µç pmp3 ¸¦ »ç¿ëÇϽøé ÁÁÀ»°Å °°³×¿ä. [http]pmp3¸¦ ÂüÁ¶Çϼ¼¿ä~ =3=33
    • "~/.mplayer/config"¸¦ ¼öÁ¤ÇÏ´Â °æ¿ì ÇØ´çÀ¯Àú¸¸ »ç¿ëµÇ´Â ¼³Á¤ÀÌÁö¸¸ ±×·¸°Ô ÇÏÁö ¾Ê°í ¸ðµç À¯Àú°¡ °øÅëÀûÀÎ ¼³Á¤À» (Ãʱ⼳Á¤Ä¡) °®µµ·Ï ÇÏ·Á¸é "/etc/mplayer.conf"¸¦ ¼öÁ¤ÇÏ½Ã¸é µË´Ï´Ù.
  • xineµµ ÁÁÀº µ¿¿µ»ó Àç»ý±âÀÌÁö¸¸ ÇÊÀÚ´Â ÀÚ¸·À» º¸µµ·Ï ÇÏ´Â ¹æ¹ýÀ» ½ÃµµÇÏ´Ù°¡ Àß ¾ÈµÇ¼­ Æ÷±âÇß½À´Ï´Ù. "emerge xine-lib;emerge xine-ui"¶ó°í ÀÔ·ÂÇÏ½Ã¸é ¼³Ä¡ÇÒ¼ö´Â ÀÖ½À´Ï´Ù.
  • 1.4.18.5. CD-RW »ç¿ëÀÚ¸¦ À§ÇÑ cdrecord ¼³Ä¡

  • CD-RW¸¦ »ç¿ëÇϽô ºÐµéÀº ·¹ÄÚµù ÅøÀ» ¼³Ä¡ÇÏ¼Å¾ß Çϴµ¥ ¼ø¼ö "cdrecord"¸¸À» ¼³Ä¡ÇϽñ⸦ ¿øÇϽŴٸé "emerge cdrtools" ¸¦ ÇϽøéµË´Ï´Ù.
  • 1.4.18.6. ÀÌ»Û ¾ÆÀÌÄÜ

  • [http]¿©±â ¸¦ ¹æ¹®ÇÏ¿© ÇÊÀÚ´Â ¾ÆÀÌÄÜÀ» »ç¿ëÇÏ¿´½À´Ï´Ù. ÀÌ»Û ¾ÆÀÌÄÜÀÌ ¸¹À¸´Ï ²À µÑ·¯º¸¼¼¿ä.
  • 1.4.18.7. FTP server ¼³Ä¡

  • ´ÙÀ½°ú °°ÀÌ ÇÏ¸é µË´Ï´Ù.
    cdimage / # emerge proftpd
    cdimage / # cp /etc/proftpd/proftpd.conf.sample /etc/proftpd/proftpd.conf
    /* "/etc/proftpd/proftpd.conf" ¸¦ ÀûÀýÈ÷ ¼öÁ¤ */
    cdimage / # rc-update add proftpd default
    cdimage / # /etc/init.d/proftpd start
    
  • 1.4.18.8. °³¹ßÀںе鿡°Ô ÇÊ¿äÇÑ Ãß°¡ ¼³Ä¡¿ä¼Ò

  • Àú´Â ´ÙÀ½°ú °°ÀÌ ¼³Ä¡ÇÏ¿´½À´Ï´Ù.
    bash # emerge nmap                    /* Æ÷Æ®½ºÄµ */
    bash # emerge valgrind                /* Memory leakÀ» °Ë»çÇØÁÖ´Â À¯¿ëÇÑ Åø */
    bash # emerge rpm                     /* RedHatÀÇ RPMÁß¿¡¼­ Source rpmÀ» ¼³Ä¡ÇÒ¼ö ÀÖ°Ô ÇÏ·Á°í »ç¿ëÇß½À´Ï´Ù. */
    bash # emerge unzip                   /* ZIP Ǫ´Â°Å */
    bash # emerge unrar                   /* RAR Ǫ´Â°Å */
    bash # emerge unlzh                   /* LZH Ǫ´Â°Å */
    bash # emerge telnet-bsd              /* Telnet client */
    bash # emerge ltrace                  /* Library ÃßÀû Åø */
    bash # emerge strace                  /* ½Ã½ºÅÛÄÝ/½Ã±×³Î ÃßÀû Åø */
    bash # emerge upx                     /* ½ÇÇà¾ÐÃà±â */
    bash # emerge gentoolkit              /* ÀÌ°Ç ¹«Á¶°Ç ÇØµÎ°í º¾½Ã´Ù. */
    
  • 1.5. Gentoo linux Stage3À¸·Î ¼³Ä¡Çϱâ

    • À§ÀÇ ³»¿ëÀº Stage 1ºÎÅÍ ¼³Ä¡ÇßÀ»°æ¿ì¸¦ ¼³¸íÇß½À´Ï´Ù. ÇÏÁö¸¸ ½Ã°£ÀÌ ¾Æ±î¿î ºÐµéÀº Stage 3ºÎÅÍ ¼³Ä¡Çϼŵµ Å« ¹®Á¦´Â ¾ø½À´Ï´Ù. ¶ÇÇÑ Stage 3¿¡¼­ ´Ù½Ã bootstrap °úÁ¤ºÎÅÍ ½ÇÇàÇÏ°Ô µÇ¸é Stage 1°úÁ¤°ú °°¾ÆÁú¼ö Àֱ⵵ ÇÕ´Ï´Ù. ¿ì¼± Stage 3ºÎÅÍ Çϱâ·Î °áÁ¤Çϼ̴ٸé À§¿¡ Stage 1ÀÇ tar.bz2¸¦ /mnt/gentoo¿¡ ¾ÐÃàÀ» ÇØÁ¦ÇÒ¶§ Stage 3·Î ¾ÐÃàÀ» ÇØÁ¦ÇϽÅÈÄ Ä¿³Î ÄÄÆÄÀÏ °úÁ¤À¸·Î °Ç³Ê¶Ù½Ã¸é µË´Ï´Ù. Áï, bootstrap °úÁ¤ºÎÅÍ kernel ¼³Ä¡ ÀÌÀü±îÁö¸¦ °Ç³Ê¶Ù½Ã¸é µË´Ï´Ù. ¹°·Ð Áß°£Áß°£¿¡ /etc/ÀÇ ¼³Á¤ÆÄÀϵîÀº ÀÔ¸À¿¡ ¸Âµµ·Ï ¼öÁ¤ÇØÁÖ¼Å¾ß ÇÕ´Ï´Ù. "emerge sync"´Â ÇÏ¼Å¾ß ÇÕ´Ï´Ù.

    1.6. FAQ

    • Q: X¸¦ ºÎÆÃÇÒ¶§ ±âº»ÀûÀ¸·Î ¶ç¿ì·Á¸é ¾î¶»°Ô ÇØ¾ß Çϳª¿ä?
      • A: ¿ì¼± /etc/rc.conf¿¡¼­ ÀûÀýÈ÷ ÀÚ½ÅÀÌ ¿øÇÏ´Â ¼³Á¤À¸·Î ÇϽðí "rc-update add xdm default" ¶ó°í ÀÔ·ÂÇϽþî xdmÀÌ ÀÚµ¿À¸·Î ½ÇÇàµÇµµ·Ï ÇÕ´Ï´Ù.
    • Q: ÀÌ¹Ì ½Ç¼ö·Î ¼³Ä¡ÇÑ°Ô Àִµ¥ ÀÌ°ÍÀ» ´Ù½Ã Áö¿ì·Á¸é ¾î¶»°Ô ÇØ¾ß Çϳª¿ä?
      • A: "emerge -C <portageÀ̸§>" ÀÌ·¸°Ô ÀÔ·ÂÇϽøé ÇØ´ç ÆÄÀϵéÀÌ ¼³Ä¡Á¦°Å°¡ µË´Ï´Ù. ´Ü, ÀÌ¿¡ µû¸¥ ºÎÀÛ¿ëµµ ÀÖÀ»¼ö ÀÖÀ¸´Ï ½ÅÁßÇÏ¼Å¾ß ÇÕ´Ï´Ù.
    • Q: ÇöÀç ½ÇÇàÁßÀÎ service ¸ñ·ÏÀ» º¸°í ½Í½À´Ï´Ù. ¶ÇÇÑ ¾î¶²°ÍÀÌ service¿¡ ÇöÀç µî·ÏÇÒ¼ö ÀÖ´ÂÁö ¾Ë°í ½Í½À´Ï´Ù.
      • A: ÇöÀç serviceÀÇ ½ÇÇàÁßÀÎ »óŸ¦ ¾Ë°íÀÚ ÇÒ¶§´Â "rc-status" ¸í·ÉÀ¸·Î È®ÀÎÇϽǼö ÀÖÀ¸¸ç service¿¡ µî·ÏÇÒ¼ö ÀÖ´Â °ÍÀÌ ¾î¶²°ÍÀÌ ÀÖ´ÂÁö ¾Ë°í ½ÍÀ»¶§´Â "rc-update show" ¸í·ÉÀ» »ç¿ëÇÏ¸é º¸½Ç¼ö ÀÖ½À´Ï´Ù.
    • Q: man page °¡ Ç×»ó ¿µ¹®¸¸ ³ª¿À°Å³ª ²©¼è±âÈ£·Î ¹®ÀÚ°¡ ´ëüµË´Ï´Ù. Çѱ۷Π¸ÇÆäÀÌÁö¸¦ º¼¼ö ÀÖ³ª¿ä?
      • A1: ±âº»ÀûÀ¸·Î UTF-8 ȯ°æÀ¸·Î ¸ÂÃß¼Ì´Ù¸é ´ëºÎºÐ ¹®Á¦¾øÁö¸¸ ±× ¿ÜÀÇ °æ¿ì¿¡´Â ȯ°æº¯¼ö¿¡ "LC_CTYPE=utf-8" ·Î ÁöÁ¤À» ÇØÁÖ¸é Çѱ۷ΠµÈ ¸ÇÆäÀÌÁö¸¦ º¸½Ç¼ö ÀÖ½À´Ï´Ù. Áï, "/etc/env.d/00basic" ¿¡ LC_CTYPE="utf-8" ¶ó°í Ãß°¡ÇϽðí "env-update"¸í·ÉÀ» ¼öÇàÈÄ ÀçºÎÆà ¶Ç´Â "source /etc/profile" À» ½ÇÇàÇØÁÖ½Ã¸é µË´Ï´Ù. ±× ÀÌÈĺÎÅÍ´Â ÇÑ±Û ¸Ç ÆäÀÌÁö¸¦ º¸½Ç¼ö ÀÖÀ»°Ì´Ï´Ù.
      • A2: ¸¸¾à ÀÚ½ÅÀÇ LANGȯ°æº¯¼ö°¡ ko_KR.euckr À̶ó¸é LESSCHARSET="iso8859" ¸¦ "/etc/env.d/00basic" ¿¡ ³Ö¾îÁֽô °Í¸¸À¸·Î º¸´Ù ±ú²ýÈ÷ ÇØ°áµÉ¼ö ÀÖ½À´Ï´Ù.
      • A3: ÇöÀç man page ´Â ÇѱÛÈ­ ÀÚü´Â ¸Å¿ì ÁÁÀ¸³ª UTF-8 °ü·Ã º¯È¯ÀýÂ÷°¡ ¸Å²ô·´Áö ¸øÇÑ°ÍÀ¸·Î »ý°¢µË´Ï´Ù. ¶§¹®¿¡ »ý°¢º¸´Ù Çѱ۷Π³ª¿Àµµ·Ï Çϴ°ÍÀÌ ½±Áö´Â ¾ÊÀ»°Ì´Ï´Ù.
    • Q: Àú´Â ³ëÆ®ºÏ »ç¿ëÀÚÀÔ´Ï´Ù. ÅÍÄ¡Æеå("synaptics")¸¦ »ç¿ëÁßÀε¥ XFree°¡ ½ÇÇàµÇ°í¼­ ÇÑÂüµ¿¾È Ä¿¼­°¡ ¹ÝÀÀÇÏÁö ¾Ê´Ù°¡(¾à 5ÃÊ+) ¿òÁ÷ÀÌ°í °¨µµ°¡ ³Ê¹« ¹Î°¨ÇÏ¿© ¿øÇÏÁö ¾Ê´Â °á°ú°¡ ¹ß»ýÇÕ´Ï´Ù. µû·Î °¨µµ¼³Á¤À» ÇØ¾ß ÇÒ°Í °°½À´Ï´Ù. ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä?
      • A: ¾Æ·¡ÀÇ ¼³Á¤À» Âü°íÇϽþî "/etc/X11/xorg.conf"À» ÆíÁýÇϽñ⠹ٶø´Ï´Ù. ([http]Download driver (HOWTO))
        Section "InputDevice"
        #	Identifier  "Mouse0"
        #	Driver      "mouse"
        #	Option	    "Protocol" "PS/2"
        #	Option "Edges" "1900 5400 1900 4000"
        #	Option "Finger" "25 30"
        #	Option "MaxTapTime" "180"
        #	Option "MaxTapMove" "220"
        #	Option "VertScrollDelta" "100"
        #	Option "MinSpeed" "0.02"
        #	Option "MaxSpeed" "0.18"
        #	Option "AccelFactor" "0.0010"
        #	Option "ZAxisMapping" "4 5"
        #	Option "Device" "/dev/mouse"
        #	Option "Emulate3Buttons" "true"
        #	Option "Emulate3Timeout" "70"
        
          Driver  	"synaptics"
          Identifier  	"Mouse0"
          Option 	"Device"  	"/dev/psaux"
          Option	"Protocol"	"PS/2"
          Option	"LeftEdge"      "1900"
          Option	"RightEdge"     "5400"
          Option	"TopEdge"       "1900"
          Option	"BottomEdge"    "4000"
          Option	"FingerLow"	"25"
          Option	"FingerHigh"	"30"
          Option	"MaxTapTime"	"180"
          Option	"MaxTapMove"	"220"
          Option	"VertScrollDelta" "100"
          Option	"MinSpeed"	"0.02"
          Option	"MaxSpeed"	"0.18"
          Option	"AccelFactor" "0.0010"
          Option	"SHMConfig"	"on"
        #  Option	"Repeater"	"/dev/ps2mouse"
        EndSection
        
    • Q: ¼³Ä¡´Â ÇÏÁö ¾Ê°í ¹Ì¸® package¸¸ ¹Þ¾ÆµÑ¼ö ¾øÀ»±î¿ä?
      • A: "emerge -f <portageÀ̸§>"(fetchonly) ÀÌ·¸°Ô ÀÔ·ÂÇϽøé ÇØ´ç ÇÊ¿äÇÑ ÆÄÀÏÀ» ¹Ì¸® "/usr/portage/distfiles"¿¡ ¹Þ¾ÆµÎ°Ô µË´Ï´Ù.
    • Q: È­¸éÀâ±â(Screen capture)´Â ¾î¶»°Ô Çϴ°ǰ¡¿ä?
      • A: "PrintScrn" Å°¸¦ ´­·¯º¸¼¼¿ä. Àüü È­¸éÀº Àâ¾ÆÁÙ°Ì´Ï´Ù. ¶ÇÇÑ Æ¯Á¤ ⸸ Àâ±âÀ§Çؼ­´Â "Alt + PrintScrn"Å°¸¦ ´­·¯º¸¼¼¿ä.
    • Q: µð½ºÅ© ¿ë·®ÀÌ ºÎÁ·ÇÕ´Ï´Ù. Àӽ÷Π¹º°¡ ¼³Ä¡°úÁ¤¿¡¼­ ºÒÇÊ¿äÇÏ ³²Àº ÆÄÀϵéÀ» Á¤¸®ÇÒ¼ö ÀÖÀ»±î¿ä?
      • A: "/usr/portage/distfiles" ÇϺο¡ ÀÖ´Â ÆÄÀϵ鸸 Áö¿ì¼¼¿ä. (µð·ºÅ丮 Áö¿ì¸é ¾ÈµË´Ï´Ù! ÆÄÀϵ鸸.)
    • Q: Áö±Ý±îÁö ¼³Ä¡ÇÑ °ÍÀ» ¸ðµÎ ÃÖ±Ù°ÍÀ¸·Î ¾÷µ¥ÀÌÆ® ÇÏ·Á¸é ¾î¶»°Ô Çմϱî?
      • A1: ¿ì¼± portage¸¦ ¾÷µ¥ÀÌÆ® ÇØ¾ß ÇÕ´Ï´Ù. "emerge sync" ¶ó°í ÀÔ·ÂÇÏ½Ã¸é µË´Ï´Ù. ¶Ç´Â "emerge rsync"ÀÔ´Ï´Ù. portage update°¡ ³¡³ª¸é "emerge -u world" ¶ó°í ÀÔ·ÂÇÏ½Ã¸é ¼³Ä¡µÈ Ç׸ñ¿¡¼­ ¾÷µ¥ÀÌÆ® °¡´ÉÇÑ°ÍÀ» °ñ¶ó¼­ Â÷±ÙÈ÷ ¾÷µ¥ÀÌÆ® ÇØÁÙ°ÍÀÔ´Ï´Ù.
      • A2: ¿À·£µ¿¾È Á¨Åõ¸¦ »ç¿ëÇÏ´Ù º¸¸é °¢ package °£ÀÇ ÀÇÁ¸¼º°ü°è°¡ ÈåÆ®·¯Áö´Â °æ¿ì°¡ Áõ°¡ÇÕ´Ï´Ù. À̶§´Â ´ÙÀ½°ú °°ÀÌ ¼öÇàÇÏ¿© ¸ðµç ÀÇÁ¸°ü°è¸¦ ¹Ù·ÎÀâÀ» ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù.
        1. "emerge rsync" : portage sync
        2. "emerge -pvDN world" : ÀÇÁ¸°ü°è¸¦ Á¾ÇÕÀûÀ¸·Î °Ë»çÇÏ¿© ¾÷µ¥ÀÌÆ®°¡ ÇÊ¿äÇÑ ÆÐÅ°ÁöµéÀ» È®ÀÎ
        3. "emerge -uDN world" : ÀÇÁ¸°ü°è¸¦ Á¾ÇÕÀûÀ¸·Î ÆÇ´ÜÇÏ¿© ¾÷µ¥ÀÌÆ® ½Ç½Ã
        4. "revdep-rebuild" : ¹öÁ¯ÀÇÁ¸°ü°è°¡ ±úÁø°Íµµ °Ë»çÇÏ¿© ¹Ù·ÎÀâ±â ½Ç½Ã
    • Q: Á¨Åõ´Â ¼³Ä¡ÇÏ¸é ¿ë·®ÀÌ ¾î´ÀÁ¤µµ µÇ³ª¿ä?
      • A: Àú°°Àº °æ¿ì´Â ¼³Ä¡ÇÒ°Í ´Ù ÇÏ°í ¾µµ¥¾ø´Â°Íµµ ¼³Ä¡Çصµ 1.2GByte¸¦ ¸ø³Ñ´Â±º¿ä. ÆÄƼ¼Ç 20GÀâ¾Ò´Âµ¥ 18G°¡ ³²¾Æµ¹°í ÀÖ½À´Ï´Ù. ¾µµ¥¾ø´Â°Í ¼³Ä¡¾ÈÇÏ°í ÇÊ¿äÇѰ͸¸ Àß ¼³Ä¡ÇÑ´Ù¸é 1.0GByteÁ¤µµ°¡ Æò±Õ¼±À̶ó°í »ý°¢µË´Ï´Ù. (XÆ÷ÇÔ)
    • Q: gentoo ¼³Ä¡È­¸éÀ» º¸´Ï±î gdesklets ¶ó´Â ¾ÖÇø´À¸·Î ¹è°æ¿¡ ¿¹»Ú°Ô ½Ã½ºÅÛ Á¤º¸°¡ ³ª¿À°Ô µÇ´øµ¥ ÀÌ°Ç ¾î¶»°Ô ¼³Ä¡Çϳª¿ä? "emerge"Çß´õ´Ï maskµÇ¾ú´Ù°í ³ª¿É´Ï´Ù.
      • A: ´ÙÀ½°ú °°Àº ¼ø¼­·Î ¼³Ä¡Çϼ¼¿ä. Âü°í·Î gdesklets °ü·Ã ¸ðµç°ÍÀº "ACCEPT_KEYWORDS="~x86"" À» emerge½Ã¿¡ ÇÔ²² ÁÖ¼Å¾ß ÇÏ´Â°Í ÀØÁö ¸¶¼¼¿ä.
        1. "ACCEPT_KEYWORDS="~x86" emerge gdesklets-core" ÀÏ´Ü ½ÇÇàÇÕ´Ï´Ù.
        2. "/usr/portage/x11-plugins/desklets-*" ·Î ½ÃÀÛÇϴ°Ϳ¡¼­ Àû´çÈ÷ Ãß°¡ ¼³Ä¡ÇÕ´Ï´Ù.
        3. ±×³ð½ê¼Ç ¼³Á¤¿¡ ½ÃÀÛÇÁ·Î±×·¥À¸·Î "/usr/bin/gdesklets" ¸¦ µî·ÏÇÕ´Ï´Ù.
        4. ±×³ðÀ» ´Ù½Ã Àç½ÃÀÛÇÕ´Ï´Ù.
        5. "/usr/share/gdesklets/Display" µð·ºÅ丮·Î À̵¿ÇÕ´Ï´Ù.
        6. ¿¹¸¦ µé¾î desklet-meminfo ¸¦ ¼³Ä¡Çß´Ù¸é "/usr/share/gdesklets/Displays/meminfo/dark-the" ·Î À̵¿ÇÏ°í "gdesklets meminfo.display" ¶ó°í ½ÇÇàÇÕ´Ï´Ù.
        7. ÀÌÁ¦ ¸¶¿ì½º¿¡ ¿øÇÏ´ø meminfo âÀÌ ´Þ¶óºÙ¾î¼­ À§Ä¡¸¦ Á¤ÇÏ°í ¸¶¿ì½ºÀÇ ¿ÞÂÊ ¹öÆ°À» ´­·¯Áֱ⸦ ±â´Ù¸±°Ì´Ï´Ù. ¹è°æÈ­¸é Àû´çÇÑ°÷¿¡ Ŭ¸¯
        8. ¾Æ·¡¿Í °°ÀÌ ¼³Ä¡µË´Ï´Ù. (¿ìÃøÇÏ´ÜÀÇ ½Ã½ºÅÛ Á¤º¸µé)
          1. [http]¼³Ä¡µÈ È­¸é º¸·¯°¡±â
    • Q: Apache 2¿Í PHP4¸¦ ¼³Ä¡ÇÏ°í ½ÍÀºµ¥ ¼³Ä¡Çصµ PHP°¡ ¿¬µ¿µÇÁö ¾Ê½À´Ï´Ù.
      • A: ´ÙÀ½°ú °°ÀÌ ¼³Ä¡ÇÏ½Ã¸é µÉ°Ì´Ï´Ù.
        1. "emerge apache" (ÇöÀç Apache 2 °¡ ¼³Ä¡µÉ°Ì´Ï´Ù.)
        2. "emerge mod_php"
        3. ÀûÀýÈ÷ apache ¼³Á¤ÇϽðí "/etc/conf.d/apache2" °¡ ÀÖÀ»°Ì´Ï´Ù. °Å±â¿¡ "APACHE2_OPTS="-D PHP4"" ÀÌ·± Ç׸ñÀ» Ãß°¡ÇϽøé PHP°¡ »ç¿ë°¡´ÉÇÏ°Ô µÉ°Ì´Ï´Ù.
        4. ¶ÇÇÑ "/etc/php/apache2-php4/php.ini" ¸¦ ÀûÀýÈ÷ ÀÚ½ÅÀÌ ¿øÇÏ´Â ¼³Á¤À¸·Î º¯°æÇϼ¼¿ä. (¿¹¸¦ µé¸é upload Á¦ÇÑÀ» ¿Ã¸®°Å³ª...)
    • Q: sshd ¸»°í telnet À» ¼³Ä¡ÇÏ°í ½Í½À´Ï´Ù. ¾î¶»°Ô ¾î¶² ÆÐÅ°Áö¸¦ ¼³Ä¡ÇÏ¿©¾ß Çϳª¿ä?
      • A: ´ÙÀ½°ú °°ÀÌ ¼³Ä¡ÇÕ´Ï´Ù.
        1. xinetd°¡ ¼³Ä¡µÇ¾î ÀÖÁö ¾Ê´Ù¸é ¼³Ä¡ÇÕ´Ï´Ù. "emerge xinetd"
        2. "rc-update add xinetd default"
        3. "/etc/xinet.conf" ÆÄÀÏ¿¡ localhost ¾î¼±¸ ³ª¿ÂºÎºÐÀÌ ÀÖ½À´Ï´Ù. ±× ÁÙÀ» ÁÖ¼®Ã³¸®ÇÕ´Ï´Ù.
        4. "emerge netkit-telnetd"
        5. "/etc/xinetd.d" ¾È¿¡ º¸½Ã¸é "telnetd" ¶ó´Â ÆÄÀÏÀÌ º¸ÀÏ°Ì´Ï´Ù. ±×¾È¿¡ º¸½Ã¸é "disable=yes" ¶ó°í µÇ¾î ÀÖÀ»°ÍÀ̸ç ÀÌ°ÍÀ» "disable=no" ¶ó°í ¹Ù²Ù¾îÁÖ½Ã¸é µÇ°Ú½À´Ï´Ù.
        6. ÀÌÁ¦ ÀçºÎÆÃÀ» ÇϽðųª "/etc/init.d/xinetd start" ¶ó°í ÀÔ·ÂÇØÁֽøé telnet ÀÌ »ç¿ë°¡´ÉÇÒ°Ì´Ï´Ù.
    • Q: ÇÁ¸°ÅÍÁ» »ç¿ëÇÏ°íÆÄ¿ä.
      • A: ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù. ´Ü, ÇѱÛÆùÆ®¹®Á¦¶§¹®¿¡ Çѱ۹®¼­´Â ÀμâÇÏÁö ¸øÇÒ¼öµµ ÀÖ½À´Ï´Ù. (±×·¡¼­ ÇÊÀÚ´Â ±×¸²À¸·Î ĸÃÄÇؼ­ ÀμâÇÑ´Ù´Â... : FIXME!!!)
        1. "emerge cups"
        2. "/etc/xinet.d/cups-lpd"¾È¿¡ "disable=yes" ºÎºÐÀ» "disable=no"·Î ¹Ù²ß´Ï´Ù.
        3. "rc-update add cupsd default"
        4. "/etc/printcap" À» ¼öÁ¤ÇÏ¿©¾ß ÇÏÁö¸¸ ¾î·Á¿î »çÇ×À̹ǷΠgnomeÀÇ "gnome-cups-manager"¸¦ ½ÇÇàÇÕ´Ï´Ù. ±×¸®°í ¼³Á¤ÇÕ´Ï´Ù.
        5. Äֻܼ󿡼­ ÅؽºÆ® ÆÄÀÏÀ» ÀμâÇÒ°æ¿ì "lpr <filename>" ÀÌ·¸°Ô ÀÔ·ÂÇÏ½Ã¸é µÇ¸ç ½ºÇ®»óȲÀ» º¸·Á¸é "lpq" ¸í·ÉÀ» »ç¿ëÇϸé È®Àΰ¡´ÉÇÏ°ÚÁö¿ä.
    • Q: Samba ¸¦ »ç¿ëÇϴµ¥ À©µµ¿ì¿¡¼­ ÆÄÀÏÀ» ¸®´ª½º·Î º¹»çÇϸé ÆÄÀϸíÀÌ ±úÁý´Ï´Ù. ¾îµð¸¦ ¼öÁ¤ÇØ¾ß Çϳª¿ä?
      • A: "/etc/samba/smb.conf"¿¡¼­ ´ÙÀ½°ú °°Àº ºÎºÐÀÌ ÀÖ½À´Ï´Ù. ÀÚ½ÅÀÇ charsetÀ¸·Î ¼öÁ¤ÇϽðí samba¸¦ Àç±âµ¿ÇÕ´Ï´Ù. ¶ÇÇÑ KernelÀÇ "File systems"->"Native Language Support" ÇÏÀ§¿¡ º¸½Ã¸é "Default NLS Option"¶ó´Â ¿É¼Ç¿¡ "cp949" ¶ó°í ÀÔ·ÂÇÏ¿© ÁÖ°í "Code page 437", "Korean charset", "NLS ISO 8859-1", "NLS UTF8" µîÀ» ¼±ÅÃÇÏ¿© ÁÝ´Ï´Ù.
        # ÇѱÛÀ©µµ¿ìÁîÀÇ °æ¿ì cp949 À̹ǷΠcp949¸¦ ¼±ÅÃÇÕ´Ï´Ù. ¿µ¹®À©µµ¿ìÁ »ç¿ëÇϽǰŶó¸é cp437ÀÔ´Ï´Ù.
        dos charset = cp949
        # ÀÚ½ÅÀÇ ¸®´ª½º ¸Ó½ÅÀÇ LANGȯ°æº¯¼ö¿Í ¾î¿ï¸®´Â(ÀÏÄ¡ÇÏ´Â) charsetÀ» Àû½À´Ï´Ù.
        # ÇÊÀÚÀÇ °æ¿ì ko_KR.euckr À» LANGȯ°æº¯¼ö·Î »ç¿ëÇϹǷΠÁ¡(.)µÞºÎºÐÀ» Àû¾ú½À´Ï´Ù.
        # UTF8À» »ç¿ëÇÑ´Ù¸é utf8 ·Î Àû¾îÁÖ½Ã¸é µÇ°ÚÁÒ.
        unix charset = euckr
        
    • Q: NIC µÎÀåÀ» Çϳª·Î ¹­¾î ÇϳªÀÇ NICó·³ »ç¿ëÇÏ°í ½Í½À´Ï´Ù. ¾î¶»°Ô ÀÌ·¯ÇÑ bonding À» ÇÒ¼ö ÀÖ³ª¿ä?
    • Q: IP°øÀ¯±â´ÉÀ» Á¦°øÇϵµ·Ï ÇÏ°í ½Í½À´Ï´Ù. ¾î¶»°Ô ÇÏ¸é °øÀ¯±âó·³ ±¸ÃàÇÒ¼ö ÀÖÀ»±î¿ä?
      • A: [http]http://www.minzkn.com:2744/bbs/viewtopic.php?f=2&t=458À» Âü°íÇϽþî NetFilter/IptableÀ» È°¿ëÇÏ¿© ±¸ÃàÇÏ´Â ¹æ¹ýÀ» º¸½Ç¼ö ÀÖ½À´Ï´Ù. ÀÌ ¹Û¿¡µµ ´Ù¸¥ ¹æ¹ýµµ ÀÖÀ¸³ª ±×°Ç ´Ù¸¥ºÐµéÀÌ ¼³¸íÇØÁֽðÚÁÒ?

    1.7. ºü¸¥¼³Ä¡¸¦ À§ÇÑ ¿ä¾à

    # net-setup eth0
    # vi /etc/resolv.conf
    # fdisk <...>
    # mke2fs -j <...>
    # mkswap <...>
    # swapon <...>
    # mount <...> /mnt/gentoo
    # mkdir /mnt/gentoo/boot
    # mount /dev/hda1 /mnt/gentoo/boot
    # cd /mnt/gentoo
    # wget http://ftp.gentoo.or.kr/releases/x86/2004.1/stages/x86/stage1-x86-2004.1.tar.bz2
    # tar -xvjf stage1-x86-2004.1.tar.bz2
    # mount -t proc proc /mnt/gentoo/proc
    # mirrorselect -i -o >> /mnt/gentoo/etc/make.conf
    # cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
    # chroot /mnt/gentoo /bin/bash
    # env-update
    # source /etc/profile
    # emerge sync
    # nano /etc/make.conf
    # cd /usr/portage ; scripts/bootstrap.sh ; emerge system
    # ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
    # nano /etc/fstab
    # emerge -k sys-kernel/gentoo-sources
    # emerge -k genkernel
    # cd /usr/src/linux
    # make menuconfig
    # genkernel all
    # emerge syslog-ng
    # rc-update add syslog-ng default
    # emerge vixie-cron
    # rc-update add vixie-cron default
    # passwd
    # echo MyHostName > /etc/hostname
    # nano /etc/conf.d/net
    # rc-update add net.eth0 default
    # nano /etc/modules.autoload.d/kernel-2.x
    # emerge lilo
    # nano /etc/lilo.conf
    # /sbin/lilo
    # etc-update
    # exit 
    # cd / 
    # umount /mnt/gentoo/boot
    # umount /mnt/gentoo/proc
    # umount /mnt/gentoo
    # reboot
    

    1.8. ÀÌ ±ÛÀ» ¸¶Ä¡¸é¼­

    • À̱ÛÀÇ ³»¿ëÀÌ ¹èÆ÷ÆÇ ÀüüÀÇ ¼³Ä¡¸¦ ´ã°í ÀÖÁö´Â ¾ÊÁö¸¸ Â÷±ÙÂ÷±Ù Çϳª¾¿ Çغ¸½Ã¸é¼­ "¾Æ! ÀÌ·¸°Ô ÇÏ¸é µÇ°Ú±¸³ª~" ¶ó´Â »ý°¢ÀÌ µé°Ô µÉ°Ì´Ï´Ù. ±× ÈÄÀÇ ¼³Ä¡°úÁ¤Àº °¢ »ç¿ëÀںеéÀÌ ¾Ë¾Æ¼­ ÇϽǼö ÀÖ´Â ³»¿ëÀεí ÇÕ´Ï´Ù. 1°³¸¦ ¾Ë¸é 10°¡Áö¸¦ Å͵æÇÏ´Â ¿ì¸® À¯Àúµé...
    • Àú¿¡°Ô Á¨Åõ ¼³Ä¡Çغ¸¶ó°í ±ÇÀ¯ÇϽŠ¸ðµçºÐµé²² °¨»çµå¸®¸ç IRCÀÇ #gentoo ä³Î¿¡¼­ ¸¹Àº ºÐµéÀÌ µµ¿ÍÁּ̽À´Ï´Ù. °¨»çµå¸³´Ï´Ù.
    • ÃʾÈÀÛ¼ºÀÚ: Á¶ÀçÇõ (minzkn)
      1. 2003.11.24 : ù ¹®¼­ ¸±¸®Áî (1.4 ±âÁØ)
      2. 2004.6.2 : 2004.1À» ±âÁØÀ¸·Î ¼öÁ¤¿Ï·á. (»ý°¢º¸´Ù ¿ÀŸ°¡ ¹«Áö ¸¹¾Ò´Ù´Â°ÍÀ» ´À³¢¸é¼­...)
      3. 2008.4.16 : 2007.0À» ±âÁØÀ¸·Î °¡º±°Ô ¤Ô¤¾¤Ì¤¼¾îº¸¸é¼­ ¼öÁ¤. (¿ÏÀüÇÑ ¼öÁ¤Àº ¾Æ´Ò°Í °°À¸¸ç)

    1.9. ¼³Ä¡Èıâ

    • ÀÌ ¹®¼­¸¦ Âü°íÇؼ­ Àúµµ ¹æ±Ý Á¨Åõ ±âº» ¼³Á¤ ÀÛ¾÷À» ¿Ï·áÇÏ°í emerge gnomeÀÌ µ¹¾Æ°¡°í ÀÖ´Â ÁßÀÔ´Ï´Ù. 2004.1 ¹öÀü ±âÁØÀ¸·Î ÀÛ¾÷Çߴµ¥ stage 3ºÎÅÍ ½ÃÀÛÇؼ­ ½Ã°£À» ¸¹ÀÌ ÁÙ¿´½À´Ï´Ù. ½Ã°£³¯¶§ stage º° ¼³Ä¡ ¹æ¹ýÀ» ³»¿ë¿¡ Ãß°¡Çϵµ·Ï ÇÏ°Ú½À´Ï´Ù. °¨»çÇÕ´Ï´Ù.... -- ±Ç¼ø¼±


    ID
    Password
    Join
    His heart was yours from the first moment that you met.


    sponsored by andamiro
    sponsored by cdnetworks
    sponsored by HP

    Valid XHTML 1.0! Valid CSS! powered by MoniWiki
    last modified 2011-06-05 04:07:15
    Processing time 0.0270 sec