One: Kickstart, what is PXE?
Kickstart installation is the way the redhat creates a fully automated installation of the system in a way that you design well. The installation method can be divided into CD-ROM, hard disk, and network.
PXE (Pre-Boot Execution Environment) is a protocol designed by Intel to enable the computer to boot over the network. The protocol is divided into client and server ends, PXE client in the network card ROM, when the computer boot, the BIOS to the PXE client into memory execution, and display the Command menu, after the user selection, PXE The client will be placed on the remote operating system downloaded to the local run via the network. Since it is transmitted over the network, the IP address is required; that is, during its startup, the client requests the server to assign an IP address, after which the PXE client uses the TFTP client via TFTP (Trivial File Transfer Protocol) protocol to download the files required to start the installer. Simply put, PXE network installation, the client through the support of PXE network card to send requests for DHCP information broadcast request IP address information, DHCP server to provide clients with IP address and other information (TFTP server, boot file, etc.), and then request and download the installation required files. In this process, a server is required to provide startup files, installation files, and automatic answer files during the installation process.
A way to install systems using Kickstart will be described in detail in a network installation.
Two: PXE automatic installation steps:
You need to install FTP, TFTP, DHCP, yum servers before automating the installation, and the server's IP address should be a static IP address.
To set a static IP address for a server:
[Root@lyt ~]# Service Network restart #重启network服务 for the latest configured IP address to take effect
[Root@lyt ~]# Mkdir/mnt/cdrom #建立光盘挂载点
[Root@lyt ~]# mount/dev/cdrom/mnt/cdrom/#挂载光盘