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

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         <-----------


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