´ÙÀ½ ÀÌÀü Â÷·Ê

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

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

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

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

3.3 Tftpd ¼³Á¤

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

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¿¡ µé¾îÀÖ´Ù.


´ÙÀ½ ÀÌÀü Â÷·Ê