Prepare two virtual machines, one is used as a PXE server, and the other does not need to install the system for subsequent PXE client installation
PXE server configuration
Two network cards are required, one for bridge mode and one for VMnet1
Services required for installation
Let the CD-ROM be mounted to the shared directory so that the ftp client can access the CD-ROM installation
Install the bootloader
Copy the files needed for network startup to the root directory of the server
Edit the installed configuration file
Start all services and turn off the firewall and core protection
Install the answer file kickstart, you can configure the installation answer file
yum -y install system-config-kickstart
graphical interface to configure the
configuration content:
The added partition/allocated capacity should be large enough otherwise it cannot be installed
Click to save the file to var/ftp
to copy the following content in the anaconda-ks.cfg file in the /root directory to the last line of ks.cfg
Client The
network card type is VMnet1 to
boot, select the network to start, and start PXE remote installation without any operation. The following interface appears, you can see that the DHCP service is dynamically assigned to the address of 192.168.10.150, and some boot programs are being loaded. The final loading is completed to the installation interface.