8/1/12

CÀI ĐẶT VÀ CẤU HÌNH PXE SERVER


1.1.         CÀI ĐẶT VÀ CẤU HÌNH PXE SERVER

a)    Cài đặt một số phần mềm cần thiết 
[root@pxe ~]#yum -y install syslinux xinetd tftp-server
[root@pxe ~]#mkdir /var/lib/tftpboot/pxelinux.cfg
[root@pxe ~]#cp /usr/share/syslinux/pxelinux.0 /var/lib/tftpboot/

b)   Khởi động TFTP
[root@pxe ~]#vi /etc/xinetd.d/tftp
# line 14: chnage
disable = no

[root@pxe ~]# /etc/rc.d/init.d/xinetd start
Starting xinetd:        [  OK  ]

[root@pxe ~]#chkconfig xinetd on

c)    Khởi động DHCP Server
[root@pxe ~]#vi /etc/dhcp/dhcpd.conf
option domain-name-servers    10.0.0.30;
# near line 8: add

filename    "pxelinux.0";
next-server       10.0.0.70;
# IP address of PXE Server

[root@pxe ~]#/etc/rc.d/init.d/dhcpd restart
Shutting down dhcpd:          [  OK  ]
Starting dhcpd:               [  OK  ]

d)  Cấu hình PXE hoàn thành

Bài đăng phổ biến