PXE works in the Client/server network mode. During the boot process, the terminal requires the server to assign an IP address, and then uses the TFTP protocol to download an auto-start package to execute in memory.
To use the Kickstart installation platform, including the complete architecture is: KICKSTART+DHCP+NFS+TFTP+PXE, from the architecture can be seen, probably need to install services, such as DHCP,TFTP,NFS,KICKSTART/PXE and so on.
1, install common software
Yum-y Install dhcp* nfs* tftp*
2. Start the TFTP service (similar to telnet)
vi/etc/xinetd/tftp# default:off# description:the TFTP server serves files using the Trivial file transfer # Protoco L. The TFTP protocol is often used to boot diskless # workstations, download configuration files to Network-aware printer S, # and to start the installation process for some operating systems.service tftp{ socket_type = Dgram pr Otocol = UDP Wait = yes user = root Server =/usr/sbin/in.tftpd Server_args =-s/var/lib/tftpboot Disable = no per_source = one cps = 2 flags = IPv4} #将里边的yes改为no, I've got rid of this file.
3,TFTP+PXE Configuration
To implement a remote installation system, you first need to specify the PXE kernel module and related parameters in the TFTP directory.
The configuration is as follows:
#挂载景象 mount/dev/cdrom/mnt/#拷贝一个文件到这个目录/var/lib/tftpboot/, if not, need to be installed in advance.
Find/-name "pxelinux.0"
Yum-y Install Syslinux
Find/-name "pxelinux.0"
cp/usr/share/syslinux/pxelinux.0/var/lib/tftpboot/
Using the Kickstart automated installation platform architecture under Linux