참고 : Setting Up a PXE Server 실험실의 25대 컴퓨터에 페도라7 을 설치 하기로 했다. 컴퓨터에 DVD가 달려있지 않다. 그래서 네트웍을 통한 페도라 7을 설치 하기로 했다. 먼저 페도라 7을 설치해야 한다. 페도라7에 tftp-server와 dhcp를 설치해야 한다.
yum install tftp-server syslinux dhcp
tftp-server 와 hdcp 서버 설정은 인터넷 검색을 통해 쉽게 찾을 수 있다.
/etc/dhcpd.conf
ddns-update-style ad-hoc;
ignore client-updates;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.1 192.168.0.254
}
option root-path "/tftpboot";
filename "pxelinux.0";
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option domain-name “embedded.kr”;
option domain-name-servers 192.168.0.1;
option time-offset -18000; # Eastern Standard Time
default-lease-time 600;
max-lease-time 7200;
/etc/xinetd.d/tftp
service tftp
{
socket_type = dgram
protocol = udp
wait = yes user = root
server = /usr/sbin/in.tftpd server_args = -s /tftpboot
disable = no per_source = 11
cps = 100 2
flags = IPv4
} /tftpboot/pxelinux.cfg 폴더를 만들고 dafault 파일을 만든다.
prompt 1
default linux
timeout 100
label linux
kernel pxeboot_install/vmlinuz
append initrd=pxeboot_install/initrd.img ramdisk_size=9216 noapic acpi=off
pxelinux.0 파일은 /usr/local/syslinux 폴더에 있으니 /tftpboot 폴더로 옮긴다. initrd.img 파일과 vmlinuz 파일은 시디에 들어 있다. /tftpboot/fedora7 폴더를 만들고 옮긴다.
모든 준비는 끝났다. 컴퓨터를 켜고 네트워크 부팅을 하면된다.
 ( 0)  ( 0)
|