ÃÑ ÆäÀÌÁö ¼ö : 3224
![]()
|
Facebook Joinc ±×·ì
Joinc QA »çÀÌÆ®
![]()
Tweet
joinc´Â Firefox¿Í chrome¿¡¼ Å×½ºÆ® Çß½À´Ï´Ù. IE¿¡¼´Â Å×À̺íÀÌ ±úÁö°Å³ª À̹ÌÁö°¡ º¸ÀÌÁö ¾ÊÀ» ¼ö ÀÖ½À´Ï´Ù. ƯÈ÷ ±¸±Û DocsÀ̹ÌÁöÀÇ °æ¿ì ¿¢¹Úó¸®µÉ ¼ö ÀÖ½À´Ï´Ù. ¼Ò°³
¸®´ª½º ¿î¿µÃ¼Á¦ÀÇ ÀÚµ¿ ¼³Ä¡
ȯ°æ
PXE boot
Preboot Execution EnvironmentÀÇ ÁÙÀÓ¸»·Î ³×Æ®¿öÅ© ÀÎÅÍÆäÀ̽º¸¦ ÀÌ¿ëÇØ¼ ¿î¿µÃ¼Á¦¸¦ ¼³Ä¡Çϱâ À§Çؼ »ç¿ëÇÑ´Ù.
PXE¸¦ »ç¿ëÇϱâ À§Çؼ´Â DHCP¿Í TFTP°¡ ÇÊ¿äÇÏ´Ù. DHCP´Â ºÎÆÃ ¼¹ö¿¡ ³×Æ®¿öÅ© Á¤º¸¸¦ ÀÚµ¿À¸·Î ¼³Á¤Çϱâ À§Çؼ »ç¿ëÇÏ´Â ÇÁ·ÎÅäÄÝÀÌ´Ù. TFTP´Â bootstrap ÇÁ·Î±×·¥°ú ¸î°¡Áö ºÎ°¡ ÆÄÀÏÀ» ´Ù¿î·ÎµåÇϱâ À§Çؼ »ç¿ëÇÑ´Ù. DHCP ¼¹ö ¼³Ä¡
dhcp server¸¦ ÀÌ¿ëÇØ¼ ³×Æ®¿öÅ© ȯ°æÀ» ÀÚµ¿À¸·Î ¼³Á¤Çϱâ·Î Çß½À´Ï´Ù. isc dhcp server¸¦ ¼³Ä¡Çß½À´Ï´Ù. # sudo apt-get install isc-dhcp-server
vi /etc/dhcp/dhcpd.conf ddns-update-style none;
# option definitions common to all supported networks...
option domain-name "example.org";
option domain-name-servers 8.8.8.8, 8.8.4.4;
option routers 172.30.1.254;
option subnet-mask 255.255.255.0;
default-lease-time 60;
max-lease-time 72;
log-facility local7;
subnet 172.30.1.0 netmask 255.255.255.0 {
range 172.30.1.100 172.30.1.200;
}
{[{#!plain # sudo /etc/init.d/isc-dhcp-server restart
TFTP ¼¹ö ¼³Ä¡
¼¹ö ÆÐŰÁö ¼³Ä¡ # apt-get install tftp tftpdtftp ¼³Á¤ ÆÄÀÏ. xinetd ±â¹Ý service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}
tftp ÀÛ¾÷µð·ºÅ丮 »ý¼ºmkdir /tftpboot
syslinux ¼³Ä¡
# apt-get install syslinux syslinux-common
ȯ°æ ¼³Á¤ ¹× ºÎÆÃ À̹ÌÁö º¹»ç # cp /usr/lib/syslinux/pxelinux.0 /tftpboot/ # cp /usr/lib/syslinux/menu.c32 /tftpboot/ºÎÆÃ À̹ÌÁö´Â Centos 5.7ÀÇ °ÍÀ» ¾÷¾î¿Ô´Ù. ºÎÆÃ À̹ÌÁö´Â /boot µð·ºÅ丮 ¹Ø¿¡ ÀÖ´Ù. vmlinux °ú initrd.img¸¦ ¾÷¾î¿Â tftp ÀÛ¾÷ µð·ºÅ丮¿¡ º¹»çÇÑ´Ù. # cp vmlinuz /tftpboot/cento/x86/ # cp initrd.img /tftpboot/cento/x86/
pxelinux ¼³Á¤ ÆÄÀÏ
# cat /tftpboot/pxelinux.cfg/default default menu.c32 timeout 100 menu background splash.jpg menu color border 0 #ffffffff #00000000 menu color sel 7 #ffffffff #ff000000 menu color title 0 #ffffffff #00000000 menu color tabmsg 0 #ffffffff #00000000 menu color unsel 0 #ffffffff #00000000 menu color hotsel 0 #ff000000 #ffffffff menu color hotkey 7 #ffffffff #ff000000 menu color timeout_msg 0 #ffffffff #00000000 menu color timeout 0 #ffffffff #00000000 menu color cmdline 0 #ffffffff #00000000 menu tabmsg Press ENTER to Install or TAB to edit a menu entry menu title #### OS Installer Boot Menu #### label 1 menu label CentOS5.7(32bit) on R210 kernel centos/x86/vmlinuz append ksdevice=eth0 initrd=centos/x86/initrd.img network ks=nfs:192.168.0.10:/tftpboot/ks/ks32.cfg text |
|
|
EmailÀ» ±âÀÔÇϸé, ´ñ±ÛÀÌ ¸ÞÀÏ·Î Àü´ÞµË´Ï´Ù. |
|