· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Linuxdoc Sgml/Thinclient-HOWTO

Thin Client: New User Guide

Thin Client: New User Guide

Stephen Noble stephen7 at bigfoot.com

30th November 1999 Á¶À±¹è itsfree@kldp.org
1.¹ö·ÁÁø °ª½Ñ ÄÄÇ»Å͵éÀ» ¾î¶»°Ô ¸ÞÀÎ ÄÄÇ»ÅÍÀÇ ÈûÀ» ÀÌ¿ëÇÒ ºü¸¥ ¼ÓµµÀÇ Å͹̳ηΠ¹Ù²Ü±î? ´ç½ÅÀÌ ÇÊ¿äÇÑ °ÍµéÀº ´ÙÀ½°ú °°´Ù: ¼­¹ö ¿ªÇÒÀ» ¼öÇàÇÒ ºü¸¥ ÄÄÇ»ÅÍ, ¿À·¡µÇ°í ¾Æ¹«µµ ¿øÄ¡¾Ê´Â Ŭ¶óÀ̾ðÆ® ÄÄÇ»ÅÍ, ¸®´ª½º ȣȯÀÇ ³×Æ®¿÷ Ä«µå, ¿¬°á ÄÉÀ̺í 2. ¾î¶»°Ô NFS¸¦ ÀÌ¿ëÇÔÀ¸·Î½á Áß¾Ó ÁýÁßÀûÀÎ ½Ã½ºÅÛ °ü¸®¸¦ ÇÒ ¼ö ÀÖÀ»±î? ±×°ÍÀº ºü¸¥ Ŭ¶óÀ̾ðÆ®ÀÇ Àüü ÆÄÀÏ ½Ã½ºÅÛÀ» ¼­¹öÀ§¿¡ µÎ´Â °ÍÀ¸·Î °¡´ÉÇÏ´Ù.

1. ¼Ò°³

  • ¸®´ª½º´Â ¾î¶² »õ ÄÄÇ»ÅÍ¶óµµ ÇÕ¸®ÀûÀ¸·Î ÇѴ볪 ±× ÀÌ»óÀÇ ¾À Ŭ¶óÀ̾ðÆ®¿¡°Ô ¼­¹ö·Î »ç¿ëµÇµµ·Ï ÇØÁØ´Ù. ¿©±â¼­ ¾À Ŭ¶óÀ̾ðÆ®¶õ ¿À·¡µÈ ½Ñ °ªÀÇ ÄÄÇ»Å͸¦ ¶æÇÑ´Ù. ÄÜ¼Ö Å͹̳ÎÀ» À§Çؼ­´Â 4-8mbÀÇ ·¥À» °¡Áø 386 ÇÑ´ë°¡ ÇÊ¿äÇÏ´Ù. ¹Ý¸é X-Å͹̳ηΠ»ç¿ëµÇ±â À§Çؼ­´Â 8-16mbÀÇ ·¥À» °¡Áø 486/66 ÇÑ´ë°¡ ÇÊ¿äÇÏ´Ù.
  • ÇÑ°¡Áö ¿É¼ÇÀº ÇÏµå µå¶óÀ̺긦 °®Áö ¾Ê´Â °ÍÀÌ´Ù. ÀÌ°ÍÀº ¼ÒÀ½À» ÁÙ¿©ÁÖ¸ç, ´ÜÁö À¯Áöº¸¼ö¸¦ À§Çؼ­ »ç¿ëÇÒ °Å¶ó¸é °ü¸®¸¦ °£´ÜÈ÷ ÇØÁֱ⵵ ÇÑ´Ù.
  • ¸¸¾à ´ç½ÅÀÌ ¿À·¡µÈ ÀÀ¿ë ÇÁ·Î±×·¥µéÀ» °®°í ÀÖ´Ù¸é, ´ç½ÅÀº ÇÏµå µå¶óÀ̺꿡 ±×°ÍµéÀÇ OS¿Í ÇÔ²² °®°í ÀÖÀ»°ÍÀÌ´Ù.
  • ÀÌ HOWTO¹®¼­´Â Unix/Linux¿¡ ½ÃÀÛÀÎ »ç¶÷µé¿¡°Ô ÃÐÁ¡ÀÌ ¸ÂÃß¾îÁ® À־ ¾Ë¾Æ¾ß ÇÒ ±âº»ÀûÀÎ ¿µ¿ªÀ» Æ÷ÇÔÇÏ°í ÀÖ´Ù. ±×¸®°í ´ç½ÅÀÌ Àß ¾Ë°í ÀÖ¾î¾ß ÇÒ °ÍµéÀÌ ´ã°ÜÀÖ´Â ´Ù¸¥ ¹®¼­µé¿¡ ´ëÇؼ­µµ ¾Ë·ÁÁÙ °ÍÀÌ´Ù.
  • ´ç½ÅÀº ¾Æ¸¶µµ ÀÌ ¹®¼­¸¦ http://www.slug.org.au/etherboot/ ¿¡ ´ëÇÑ µµ¿òÀ¸·Î »ç¿ëÇÒ °ÍÀÌ´Ù. ³ª´Â ¼³Á¤ ÆÄÀÏÀÇ ¸¹Àº ¿¹Á¦µéÀ» ÷°¡ÇÏ°í, µ¶ÀÚµéÀÇ ¿¬½ÀÀ¸·Î etherbootÀÇ ´Ù¸¥ Ư¡¿¡ ´ëÇؼ­´Â ±×³É ³²°Ü µÎ¾ú´Ù.
  • ¸¸¾à ´ç½ÅÀÇ Å¬¶óÀ̾ðÆ®°¡ °øÀ¯°¡ ÇÊ¿äÇÑ ÆÄÀÏ ½Ã½ºÅÛ¸¸ °®Ãß°í ÃæºÐÈ÷ ¼º´ÉÀÌ ÁÁ´Ù¸é, ÀÀ¿ë ÇÁ·Î±×·¥µéÀº Ŭ¶óÀ̾ðÆ® À§¿¡¼­ ½ÇÇàÀÌ °¡´ÉÇÒ °ÍÀÌ´Ù. (¸»ÇÏÀÚ¸é 32mb ·¥À» °®Ãá 233MhzÀÇ ÄÄÇ»ÅÍ Á¤µµ) ¼­¹ö¿¡ ÀÀ¿ë ÇÁ·Î±×·¥À» ¼³Ä¡ÇÏ°í ¸ðµç Ŭ¶óÀ̾ðÆ®µéÀÌ Á¢±Ù ±ÇÇÑÀ» °®°Ô Ç϶ó.

2. Çϵå¿þ¾î¿Í Âü°í ¹®¼­

2.1 Çϵå¿þ¾î

´ç½ÅÀÌ ½ÃÀÛÇÏ·Á ÇÑ´Ù¸é, ÃÖ¼ÒÇÑ ÀÌ Á¤µµ´Â ÇÊ¿äÇÒ °ÍÀÌ´Ù.

  • ¼­¹ö·Î »ç¿ëµÉ ÄÄÇ»ÅÍ,
  • Ŭ¶óÀ̾ðÆ® ÄÄÇ»ÅÍ, ³ª´Â Çϵåµð½ºÅ©ÀÇ Àü¿ø ÄÉÀ̺íÀ» »Ì°í, µð½ºÅ© ¾ø´Â ±â°è·Î ¸¸µé±â À§Çؼ­ ¹ÙÀÌ¿À½º¿¡¼­ Çϵåµð½ºÅ© ¾øÀ½À¸·Î ¼³Á¤Çß´Ù.
  • ȣȯ °¡´ÉÇÑ ³×Æ®¿öÅ© Ä«µå,
  • ÄÄÇ»ÅÍ »çÀÌÀÇ ¿¬°á ÄÉÀ̺í, ³ª´Â RJ45 Å͹̳×ÀÌÅ͸¦ °¡Áø ÇÑ ½ÖÀÇ ÀÌ´õ³Ý ÄÉÀ̺íÀ» »ç¿ëÇß´Ù.
    • µÎ´ëÀÇ ÄÄÇ»Å͸¦ ¿¬°áÇϱâ À§Çؼ­´Â Å©·Î½º-¿À¹ö ÄÉÀ̺í Çϳª¸é ÃæºÐÇÏ´Ù.
    • µÎ´ë ÀÌ»óÀÇ Å¬¶óÀ̾ðÆ®¸¦ ¿¬°áÇϱâ À§Çؼ­´Â Çãºê°¡ ÇÊ¿äÇÏ´Ù. 4 Æ÷Æ®¸¦ °¡Áø 10mb Çãºê¿Í µÎ ÀåÀÇ ³×Æ®¿öÅ© Ä«µåµéÀÌ Æ÷ÇÔµÈ Å°Æ®´Â $150 ¹Ì¸¸¿¡ Æȸ°´Ù. ´ç½ÅÀº ¾Æ¸¶ À̺¸´Ù ´õ ³ªÀº °ª¿¡ »ì ¼ö ÀÖÀ» °ÍÀÌ´Ù.

2.2 Âü°í ¹®¼­

´ç½ÅÀº ½º½º·Î°¡ ¸®´ª½º ¹®¼­¿¡ Á¤ÅëÇÒÁöµµ ¸ð¸£Áö¸¸, Ưº°È÷ ´ÙÀ½¿¡ ¿­°ÅµÇ´Â ¹®¼­µéÀÇ °³°üÀº Àоî(ÈȾî)µÑ ÇÊ¿ä°¡ ÀÖ´Ù.

  • /usr/doc/HOWTO/mini/Diskless - ÀÌ ¹®Á¦¸¦ ÇØ°áÇÒ ºñ½ÁÇÑ HOWTO
  • Networking Overview HOWTO - ¸®´ª½ºÀÇ ³×Æ®¿öÅ· ´É·Â
  • Ethernet HOWTO - ÀÌ´õ³Ý Çϵå¿þ¾îÀÇ È£È¯¼º¿¡ ´ëÇÑ Á¤º¸
  • NET-3 HOWTO - ¸®´ª½º¿¡¼­ TCP/IP ³×Æ®¿öÅ·À» ¼³Á¤ÇÏ´Â ¹æ¹ý

/usr/doc/LDP µð·ºÅ丮¿¡¼­ ãÀ» ¼öµµ ÀÖ´Ù.

  • The System Administrators' Guide
  • The Network Administrators' Guide
  • Linux Installation and Getting Started

°¡º¼¸¸ÇÑ ¸µÅ©

¸¶Áö¸·À¸·Î ÇÑ °¡Áö

  • ÇÊÀÚÀÇ ³×Æ®¿öÅ© ¼­¹ö´Â snoballÀÌ°í Ŭ¶óÀ̾ðÆ®´Â eliteÀÌ´Ù. (·ÎÄÃ)µµ¸ÞÀÎÀº gundog.netÀÌ´Ù. µû¶ó¼­ Àû¿ëµÇ´Â °÷¿¡¼­´Â ´ç½ÅÀÇ ÄÄÇ»ÅÍ À̸§À¸·Î ´ë½ÅÇضó.

3. ¼­¹ö ¼³Á¤

¼­¹ö´Â ƯÁ¤ °¹¼ö ¸¸Å­ÀÇ Å¬¶óÀ̾ðÆ®¿¡ ´ëÇØ ÁغñµÈ »óÅ·Π¼³Á¤µÇ¾î¾ß ÇÑ´Ù.

3.1 ¼­¹öÀÇ ³×Æ®¿öÅ© ¼­ºñ½ºµéÀ» üũÇ϶ó

/sbin/ifconfig ¸í·ÉÀ» ½ÇÇàÇÏ¿© ¾Æ·¡¿Í ºñ½ÁÇÑ °á°ú°¡ º¸ÀÎ´Ù¸é ´ç½ÅÀÇ ·çÇÁ¹é°ú ÀÌ´õ³Ý Ä«µå´Â ¿Ã¹Ù¸£°Ô ¼³Á¤µÈ °ÍÀÌ´Ù.


[cassie@snoball cassie]$ /sbin/ifconfig
lo        Link encap:Local Loopback
     inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
     UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
     RX packets:854 errors:0 dropped:0 overruns:0 frame:0
     TX packets:854 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0
eth0      Link encap:Ethernet  HWaddr 00:AA:00:BB:BD:09
     inet addr:192.168.53.1  Bcast:192.168.53.255  Mask:255.255.255.0
     UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
     RX packets:190369 errors:0 dropped:0 overruns:0 frame:0
     TX packets:249267 errors:0 dropped:0 overruns:0 carrier:1
     collisions:4793           Interrupt:5 Base address:0x320

¸¸¾à ¾Æ´Ï¶ó¸é...

  • ·çÇÁ¹é, ¸¸¾à ÀÌ°ÍÀÌ ¿©±â¿¡ ¾ø´Ù¸é óÀ½ ½ÃÀÛÇÒ¶§ È°¼ºÈ­ ½ÃÄÑ¾ß ÇÑ´Ù.
  • ÀÌ´õ³Ý Ä«µå, ¸¸¾à °Ë»öÁß¿¡ ÀÖ´Ù¸é ¸ðµâ·Î µÈ µå¶óÀ̹öÀÌ´Ù.
  • ´ç½ÅÀº À̰͵éÀ» linuxconf³ª netcfg¿¡¼­ ¼³Á¤ÇÒ ¼ö ÀÖ´Ù.

3.2 dhcpd µ¥¸ó ¼³Ä¡Çϱâ

¼­¹ö´Â IP ÁÖ¼Ò¸¦ ¿ä±¸Çϴ Ŭ¶óÀ̾ðÆ®µé¿¡°Ô IP ÁÖ¼Ò¸¦ ³Ñ°ÜÁØ´Ù.

  • ¸¸¾à DHCPD°¡ ÀνºÅç µÇ¾ú´Ù¸é, ¾Æ¸¶µµ ´ÜÁö (root·Î½á) ntsysv¸¦ ½ÇÇàÇÏ¿© ºÎÆ® °úÁ¤¿¡ ½ÃÀ۵ǵµ·Ï ÇØÁÖ¸é µÉ °ÍÀÌ´Ù.
  • /etc/dhcpd.conf ÆÄÀÏÀº ¸ÅÄ¡µÇ´Â MAC ÁÖ¼Ò¸¦ °®°í ÀÖÀ» °æ¿ì¿¡ IP ÁÖ¼Ò¸¦ ÇÒ´çÇØ ÁÖµµ·Ï ÇÑ´Ù. MAC ÁÖ¼Ò´Â NIC¿¡°Ô ÁÖ¾îÁö´Â À¯ÀÏÇÑ '¼ýÀÚ'ÀÌ´Ù. ±× '¼ýÀÚ'ÀÇ ½ÃÀÛÀº Á¦Á¶¾÷ü¿¡ ±Ù°ÅÇÑ´Ù. ¸¸¾à ´ç½ÅÀÌ °¡Áø Ä«µå¿¡ ½ºÆ¼Ä¿°¡ ºÙ¾îÀÖÁö ¾Ê´Ù¸é, epromÀ̳ª Ç÷ÎÇǷκÎÅÍ ·Ò À̹ÌÁö¸¦ Àоîµé¿©¼­ ¾î¶² °á°ú°¡ ³ª¿À´ÂÁö º¸¶ó. (Ŭ¶óÀ̾ðÆ® ¼Â¾÷À» º¸¶ó.)
    #/etc/dhcpd.conf
    subnet 192.168.35.0 netmask 255.255.255.0 {
        option domain-name "gundog.net";
        range dynamic-bootp 192.168.35.128 192.168.35.255;
        default-lease-time 21600;
        max-lease-time 43200;
        }
    
    host 286 {
            filename "/tftpboot/kermit.nb";
            hardware ethernet 00:80:c8:22:ae:de;
            fixed-address 192.168.35.70;
            }
    
    host elite {
        filename "/tftpboot/vmlinuz.xterm";
        hardware ethernet 00:00:79:80:34:c9;
        fixed-address 192.168.35.23;
            option host-name "elite";
    

  • /etc/hosts ÆÄÀÏÀº IP ÁÖ¼Ò¸¦ ºÐÇØÇÏ¿© È£½ºÆ®³×ÀÓÀ¸·Î ¹Ù²ãÁØ´Ù.
    #etc/hosts
    127.0.0.1       localhost    localhost.localdomain
    192.168.53.1    snoball      snoball.gundog.net
    192.168.53.23   elite        elite.gundog.net
    

3.3 Tftpd ¼³Á¤

tftp - IP ÁÖ¼Ò¸¦ ¾òÀº ÈÄ¿¡ ´ç½ÅÀÇ Å¬¶óÀ̾ðÆ®´Â Ä¿³ÎÀ» ¿ä±¸ÇÑ´Ù. ¿©±â¼­ tftp°¡ ÀÌ´õ³ÝÀ» ÅëÇØ Ä¿³ÎÀ» ¹è´ÞÇØ ÁØ´Ù.

  • tftpd¸¦ ¼³Ä¡ÇÏ°í, /etc/inetd.conf ÆÄÀÏ ¾È¿¡ ¾Æ·¡¿Í °°Àº ÀüÇüÀûÀÎ ¶óÀÎÀÌ È°¼ºÈ­µÇ¾î ÀÖ´ÂÁö È®ÀÎÇ϶ó.
    tftp dgram udp wait root /usr/sbin/tcpd in.tftpd -s /tftpboot
    

kill -HUP "inetdÀÇ ÇÁ·Î¼¼½ºID" ¸í·ÉÀ¸·Î inetd¸¦ Àç½ÃÀÛÇ϶ó.

3.4 Ä¿³Î À̹ÌÁö

´ç½ÅÀº Ŭ¶óÀ̾ðÆ®¸¦ À§ÇØ NFS Áö¿ø°ú NIC µå¶óÀ̹ö°¡ Æ÷ÇÔÇÏ¿© Ä¿³ÎÀ» ÄÄÆÄÀÏ ÇؾßÇÑ´Ù. (¸ðµâ·Î ÄÄÆÄÀÏ Çؼ± ¾ÈµÈ´Ù) Root file system on NFS? ¹°À½°ú BOOTP support? ¹°À½¿¡ Yes·Î ´ë´äÇ϶ó.

Ä¿³ÎÀ» ¸¸µç ÈÄ¿¡, the Etherboot distribution ¿¡ µé¾îÀÖ´Â mknbi-linux¸¦ ½ÇÇàÇ϶ó. (mknbi ÇÁ·Î±×·¥Àº netboot/linux µð·ºÅ丮¿¡ µé¾îÀÖ´Ù) /tftpdir/"vmlinuz.xterm" À̶ó´Â À̸§À¸·Î ¸¸µç Ä¿³ÎÀ» ¼³Ä¡ÇÑ´Ù.

etherboot-4.2/doc/html/README-3.html ÆäÀÌÁö¸¦ »ìÆ캸¶ó.

3.5 º¸¾È

´©±¸µçÁö ´ç½ÅÀÇ ÄÄÇ»ÅÍ¿¡¼­ ¾Æ¹« ¼­ºñ½º³ª ÇÁ·Î¼¼½ºµéÀ» ½ÇÇà½ÃÅ°µµ·Ï ÇÏ´Â °ÍÀº ¸Å¿ì ½¬¿î ÀÏÀÏÁö ¸ð¸£³ª, ¾î´À³¯ ´ç½ÅÀº ÈÄȸÇÏ°Ô µÉ °ÍÀÌ´Ù. /etc/hosts.deny¸¦ ÀÌ¿ëÇؼ­ Á¦ÇÑÀ» °É°í, /etc/hosts.allow¸¦ ÀÌ¿ëÇؼ­ ±ÇÇÑÀ» º¹±¸½Ãų ¼ö ÀÖ´Ù. ¿¹Á¦¸¦ Âü°íÇ϶ó.


#hosts.deny
#hosts.allowÀÇ ¿¹¿Ü»çÇ× ÀÌ¿Ü¿¡´Â ¸ðµÎ °ÅºÎ
ALL:ALL


#hosts.allow
#³» µµ¸ÞÀÎ ³»ÀÇ È£½ºÆ®µé°ú Áý¿¡ Àִ ȣ½ºÆ®µé¸¸ Çã¿ë
ALL:LOCAL, 192.168.53.       #<-- ":" µÚ¿¡ °ø¹éÀÌ ¾øÀ½À» ÁÖ¸ñ

º¸´Ù ³ôÀº ¼öÁØÀÇ º¸¾È - ´õ ¸¹Àº Á¤º¸´Â LDP-HOWTO¿¡¼­ ã¾Æº¸°í etherboot¸¦ »ç¿ëÇÑ´Ù¸é ±×°ÍÀº security howto¿¡ µé¾îÀÖ´Ù.

4. Ŭ¶óÀ̾ðÆ® ¼Â¾÷

Network loader

BIOSÀÇ È®ÀåÀ¸·Î½á ½ÇÇàµÇ´Â ÀÛÀº ÇÁ·Î±×·¥Àº, Ç÷ÎÇÇ¿¡¼­ ºÒ·¯Áö°Å³ª eprom Ĩ¿¡ ÀÛ¼ºÇÏ¿© NIC¿¡ ²Å¾Æ ÁüÀ¸·Î½á ¿Ïº®È÷ µð½ºÅ© ¾ø´Â Ŭ¶óÀ̾ðÆ®°¡ µÉ ¼ö ÀÖ´Ù. ±×°ÍÀº DHCPD ÁúÀÇ¿Í TFTP ·ÎµùÀ» ´Ù·ç°í ³ª¼­ ºÒ·¯Áø À̹ÌÁö¸¦ TCP/IP ÇÁ·ÎÅäÄÝÀ» ÀÌ¿ëÇØ Àü¼ÛÇÑ´Ù.

TCP/IP ³×Æ®¿öÅ© ·Î´õ¿¡´Â °ø°³µÈ µÎ °¡ÁöÀÇ ¹æ¹ýÀÌ ÀÖ´Ù: Etherboot Netboot: Netboot°¡ ÆÐŶ µå¶óÀ̹öµéÀ» »ç¿ëÇÏ´Â ¹Ý¸é¿¡ Etherboot´Â ÅëÇÕµÈ µå¶óÀ̹ö¸¦ »ç¿ëÇÑ´Ù.

  • etherboot-4.2/doc/html/README-2.html ÆäÀÌÁö¸¦ »ìÆ캸¶ó.
  • ³ª´À ·ÎÄÃÀÎÁö ³×Æ®¿öÅ©ÀÎÁö ¹°¾îº¸°Å³ª 5ÃÊÈÄ¿¡ µðÆúÆ®·Î ·ÎÄ÷Π¼³Á¤µÇµµ·Ï ¿É¼ÇÀ» ³Ö¾î ÄÄÆÄÀÏ ÇÏ¿´´Ù.
  • ºÎÆ® ·Ò Ç÷ÎÇǸ¦ ¸¸µé±â À§ÇØ, floppyload.bin ÆÄÀÏ Ã£´Â°ÍÀº ¾î·Á¿ü´Ù. ³ª´Â ±×°ÍÀ» ·Ò À̹ÌÁöµéÀÌ ÄÄÆÄÀÏµÈ µð·ºÅ丮¿¡ Ä«ÇÇÇß´Ù.
    cat floppyload.bin ne2000.lzrom > /dev/fd0
    

5. ³×Æ®¿öÅ© ÆÄÀÏ ½Ã½ºÅÛ

Ŭ¶óÀ̾ðÆ®´Â /tftpboot/<IP address of client>¸¦ ¼­¹ö·ÎºÎÅÍ NFS¸¦ »ç¿ëÇÏ¿© ÀÚ½ÅÀÇ /·Î ¸¶¿îÆ® Çϱâ À§ÇØ ¿äûÇÑ´Ù. ´ç½ÅÀº ÀÌ°ÍÀ» ¼­¹ö·ÎºÎÅÍ ³»¾îÁÖ¾î¾ß ÇÑ´Ù. (/tftpboot/client·Î ½Éº¼¸µ ¸µÅ©ÇÏ´Â ÆíÀÌ ¾ÈÀüÇÏ´Ù)

NFS´Â ÇÏ¿ìÅõ³ª ¹Ì´ÏÇÏ¿ìÅõ ¹®¼­¿¡¼­´Â Ç×»ó Å« ÁÖÁ¦ °Å¸®´Ù.

ù°·Î ´ç½ÅÀº /tftpboot ¾Æ·¡¿¡ ÇöÀç ´ç½ÅÀÇ ½Ã½ºÅÛÀÇ º¹»çº»À» ¸¸µé ÇÊ¿ä°¡ ÀÖ´Ù. KenÀº ¸ðµç ÀÏÀ» ó¸®ÇÒ µÎ °³ÀÇ ½ºÅ©¸³Æ®¸¦ ¸¸µé¾úÀ¸¸ç ±×°ÍµéÀ» makefirst¿Í makecopy·Î ºÎ¸£±â·Î Çß´Ù. ³» ù¹ø¤Š Ŭ¶óÀ̾ðÆ®´Â 20-30mb Á¤µµ¸¦ Â÷ÁöÇÏ°í ÀÖ´Ù. ³ª´Â ºÒÇÊ¿äÇÑ Å« ÆÄÀϵéÀ» ã±â À§ÇØ du -h ¸í·ÉÀ» ¾²°ïÇÞ´Ù.

etherboot-4.2/doc/html/diskless-5.html ÆäÀÌÁö¸¦ »ìÆ캸¶ó.

´ÙÀ½ÀÇ ÆÄÀϵéÀº ³»°Ô À־ Áß´ëÇÑ ÆÄÀÏÀÏ ¼ö ÀÖ´Ù.

5.1 ¼­¹ö ¼¼ºÎ»çÇ×


#/etc/exports
/tftpboot/elite             elite(rw,no_root_squash)
/tftpboot/elite             gordon(rw,no_root_squash)
/usr                        *.gundog.net(ro)
/home                       *.gundog.net(rw)
/mnt/cdrom                  (ro)

º¯°æÈÄ¿¡´Â exportfs -a ¸í·ÉÀ¸·Î exports ÆÄÀÏÀ» ´Ù½Ã ÀÐ°Ô ÇÑ´Ù.

#/etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4="no"
HOSTNAME="snoball"         <-----------
GATEWAYDEV=""
GATEWAY=""


#/etc/sysconfig/network-scripts/ifcfg-eth0
IPADDR="192.168.53.1"            <-----------
BOOTPROTO=none

5.2 Ŭ¶óÀ̾ðÆ® ¼¼ºÎ»çÇ×


#tftpboot/elite/etc/fstab
snoball:/tftpboot/elite    /               nfs rw  1 1
none                    /proc proc          defaults   0 0
snoball:/usr           /usr                 nfs     ro  1 1
snoball:/home          /home                nfs     rw  1 1


#tftpboot/elite/etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4=nomore
HOSTNAME=elite
GATEWAYDEV=
GATEWAY="192.168.53.1"       <-----------


#/tftpboot/elite/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
USERCTL=yes
ONBOOT=yes
BOOTPROTO=none
BROADCAST=192.168.53.255
NETWORK=192.168.53.0
NETMASK=255.255.255.0
IPADDR=192.168.53.23         <-----------

6. X-Å͹̳Î

NFS¸¦ ÅëÇØ ÆÄÀÏ °øÀ¯¸¦ ÇÏ´Â°Í ÀÌ¿Ü¿¡ Ŭ¶óÀ̾ðÆ® PC´Â ´õ ÀÌ»óÀÇ º¯È­°¡ ¾ø´Ù.

ÀÌ ½ÃÁ¡¿¡¼­ ´ç½ÅÀº ÄÜ¼Ö Å͹̳ÎÀ» Çϳª °®°í ÀÖ´Ù. ÀÌÁ¦ ¸î°¡Áö º¯È­¸¦ ÁÖ¾î X¸¦ ½ÇÇàÇÒ ¼ö ÀÖ°Ô ÇØ º¸ÀÚ.

  • X ¼³Á¤Çϱâ

    Ŭ¶óÀ̾ðÆ®¿¡¼­ ·çÆ® ±ÇÇÑÀ¸·Î Xconfigurator¿Í mouseconfig¸¦ ½ÇÇàÇ϶ó

    ¸¸¾à ½ÇÆÐÇÑ´Ù¸é °®°í ÀÖ´Â CDÀÇ RPMS µð·ºÅ丮¸¦ üũÇÏ¿© XF86Config¸¦ »ç¿ëÇ϶ó.

  • X ÆùÆ® ¼­¹ö
    #/etc/rc.d/init.d/xfs ÆÄÀÏÀ» üũÇÏ¿© ¾î¶»°Ô xfs°¡ ¼­¹ö¿¡¼­ ½ÃÀ۵ǴÂÁö
    ¾Ë¾Æº¸¶ó.
        echo -n "Starting X Font Server: "
        rm -fr /tmp/.font-unix
        daemon --check xfs su xfs -c xfs -s /bin/sh
        touch /var/lock/subsys/xfs
        echo
        ;;
    
    #edit XF86Config for all machines
        FontPath  "tcp/snoball:7100"
    

  • ÄÜ¼Ö ·Î±×ÀÎ

    ´ç½ÅÀº Áö±Ý Ŭ¶óÀ̾ðÆ®¿¡¼­ÀÇ ÄÜ¼Ö ·Î±×ÀÎÀ» ¼³Á¤Çß´Ù. ´ç½ÅÀº Ŭ¶óÀ̾ðÆ®ÀÇ ¸Þ¸ð¸®¿Í ÇÁ·Î¼¼¼­¸¦ ÀÌ¿ëÇÏ°í ÀÖ°í, ÀÌ°ÍÀº ÄÜ¼Ö ÇÁ·Î±×·¥µé¿¡°Õ ÃæºÐÇÏ´Ù. ±×¸®°í pythonÀ¸·Î ÇÁ·Î±×·¡¹ÖÀ» ÇÏ´ø°¡, pineÀ¸·Î ¸ÞÀÏÀ» º¸³»°Å³ª lynx·Î ºê¶ó¿ì¡À» Çϴ°Ͱú °°ÀÌ ¿©·¯°¡Áö ÀÛ¾÷¿¡¼­ Ä¿´Ù¶õ ÀÕÁ¡À» Áö´Ñ´Ù.

    ´ç½ÅÀº ¾Æ¸¶ ¿©±âºÎÅÍ X¸¦ ½ÃÀÛÇÏ¿© ´ÙÀ½ Àý¿¡¼­´Â ¼­¹ö¿¡ º¯È­¸¦ °®µµ·Ï ¸¸µé¾î¾ß ÇÑ´Ù. ÇÁ·ÒÇÁÆ®¿¡¼­ X -query snoball¶ó°í Ä¡¸é ¼­¹ö·Î Á¢¼ÓÇÏ´Â ·Î±×ÀÎ »óÀÚ¸¦ º¸°Ô µÉ °ÍÀÌ´Ù.

  • ±×·¡ÇÇÄà ·Î±×ÀÎ

    ¼­¹ö ¼³Á¤/em>


    1. Ŭ¶óÀ̾ðÆ®°¡ /etc/X11/xdm/Xaccess ÆÄÀÏ¿¡¼­ ¹®¹ý¿¡ ¸Â°Ô ÀÏÄ¡ µÇ¾ú´ÂÁö
    È®ÀÎÇ϶ó.
    *   CHOOSER BROADCAST   #any indirect host can get a chooser
    
    
    2. /etc/X11/xdm/Xservers ÆÄÀÏ¿¡¼­ :0 ¾Õ¿¡ ÁÖ¼® 󸮸¦ Ç϶ó.
    #:0 local /usr/X11R6/bin/X
    
    3. ±×·¯°í³ª¼­ init ½ºÅ©¸³Æ®¸¦ ¼öÁ¤ÇÏ¿© xdmÀÌ ½ÇÇàµÇµµ·Ï Ç϶ó.
    #etc/inittab
    id:5:initdefault:
    
    °ú,
    # Run xdm in runlevel 5
    # xdm is now a separate service
    x:5:respawn:/etc/X11/prefdm -nodaemon
    xdm:5:respawn:/usr/X11R6/bin/xdm -nodaemon
    

    Ŭ¶óÀ̾ðÆ® ¼³Á¤

    WARNING¶ó°í Ç¥½ÃµÈ ºÎºÐÀº ¾ÆÁ÷ Á¦´ë·Î µ¿ÀÛµÇÁö ¾Ê´Â´Ù. ±×·¸Áö¸¸ ÄÜ¼Ö ·Î±äÀ» ÅëÇÑ µÎ ´Ü°èÀÇ ¹æ¹ýÀ» ÅëÇؼ­ Á¤È®ÇÑ ¹®¹ý¿¡ °¡±õ°Ô Ç¥ÇöÇß´Ù.


    #/tftpboot/elite/etc/inittab
    
    id:5:initdefault:                                    #WARNING
    x:5:respawn:/usr/X11R6/bin/Xwrapper -query snoball   #WARNING
    
    Ŭ¶óÀ̾ðÆ®¿¡¼­ÀÇ ½ÇÇàÀº?
    
    id:3:initdefault:                                    #runlevel 3 ie console
    x:5:respawn:/etc/X11/prefdm -nodaemon
    

7. °¨»çÀÇ ¸» & ´õ ¸¹Àº ¿¬½Àµé

Markus Gutschke and Ken Yap Etherboot ÇÁ·Î±×·¥ÀÇ Á¦ÀÛÀÚ.

¾Æ·¡ÀÇ ÇÁ·Î±×·¥µé·Î ´ç½ÅÀÇ ½Ã½ºÅÛÀ» È®ÀåÇØ º¸¶ó

  • squid - ´ç½ÅÀÇ ³×Æ®¿÷ »óÀÇ ´Ù¸¥ »ç¶÷µéÀ» À§ÇØ À¥ºê¶ó¿ì¡À» ij½¬
  • junkbuster - À¥ ¹è³Ê ±¤°íµéÀ» Â÷´Ü
  • mailman - ¸ÞÀϸµ ¸®½ºÆ® ;À̸ÞÀÏÀ̳ª À¥À» ÅëÇØ ¼Â¾÷ °¡´É
  • imp - À¥ ±â¹ÝÀÇ À̸ÞÀÏ (ÀÚ¹Ù°¡ °¡´ÉÇÑ ºê¶ó¿ìÁ®¿Í ÇÔ²¾)
  • python - ÀÚ¹Ù³ª C ¾ð¾î°¡ ³Ê¹« ¾î·Á¿î »ç¶÷µé¿¡°Ô
  • sgmltools - ´ç½ÅÀÇ ¹®¼­µéÀÇ º¹¼ö ¹öÁ¯À» °ü¸®
  • suggestions ?

stephen7 at bigfoot.com


ID
Password
Join
Try to divide your time evenly to keep others happy.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2003-08-10 11:52:30
Processing time 0.0029 sec