Using pxe dhcp tfcp http kickstart to realize batch deployment of linux system
1. Why batch deployment is needed?
Use a configured host to install other host systems in bulk
two。 Understand what Pxe is
1. The pre-boot execution environment (Preboot eXecution Environment,PXE), also known as the pre-execution environment, provides a mechanism for starting a computer using a network interface (Network Interface). This mechanism allows the computer to start without relying on a local data storage device (such as a hard disk) or a locally installed operating system.
two。 Technology announced by Intel and Systemsoft on September 20, 1999
The working mode of 3.C/S
The 4.PXE client invokes network protocols such as Internet Protocol (IP), user data Protocol (UDP), dynamic Host allocation Protocol (DHCP), small File transfer Protocol (TFTP), and HTTP.
The PXE protocol generally combines DHCP and TFTP, although there are improvements in both. DHCP is used to find the appropriate boot server, and TFTP is used to download the initial bootstrap and additional files.
How 3.pxe works
Illustration
4. Pre-preparation (much like the previous chapter)
1. Configure the http module
two。 Share ks configuration resources 1.system-config-kickstart open graphical interface 2. The rest is like chapter 3 above. The source of selection is Http 4. Automatically configure the yum source after the system installation
Cat > / etc/yum.repos.d/westos.repo