Brief introduction of Pxe+dhcp+tftp+ks unattended Batch Machine

Source: Internet
Author: User
Tags file transfer protocol

PXE (Preboot Execute environment): Pre-boot execution environment that can be used to boot the operating system over the network.

DHCP (Dynamic Host Configuration Protocol): a dynamically configured protocol that allows users within the LAN to assign IP addresses, subnet masks, gateways, and other network-related configuration information. Port number udp:67

tftp (Trivial file Transfer Protocol): Simple File Transfer Protocol Typically, files with smaller file sizes are transferred within the LAN. Port number    udp:69

ks (Kickstart): Anaconda configuration file, anaconda is capable of automating the installation of the operating system with this configuration file.

         ps:anaconda is the operating system installer for the CentOS series system.


Installation process for the CentOS series CD installation:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/38/wKioL1WVAD2CC3g9AAB0sWLoEig416.jpg "title=" 1.png " alt= "Wkiol1wvad2cc3g9aab0swloeig416.jpg"/>

Steps:

1, the CPU will be based on the boot sequence in the BIOS to find the boot device. (When installing with a CD, ensure that the disc in the boot sequence is at the front of the boot sequence).

2, the CPU will perform the bootloader found in the MBR of the disc, and then bootloader will be used to perform the system installation of the kernel and initrd.img files into memory decompression and execution.

3. The kernel will start the Anaconda installer on the current CD. According to the software prompts, the user manually enter the installation parameters (if at this time the CD has a user-defined Ks.cfg file, and the KS file path to pass the kernel, that is, you can achieve the CD automation installation).


Installation process for the CentOS series PXE network installation:

In this way of implementing a network installation, make sure that the NIC supports PXE functionality, and that there is a program in the NIC that allows the CPU to execute. This type of network adapter can request IP from the DHCP server without the operating system and configure it on the NIC. The NIC also has TFTP capability to request files on the TFTP server.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/3A/wKioL1WVDePRs9AbAADRygeXN6Y928.jpg "title=" 2.png " alt= "Wkiol1wvdeprs9abaadrygexn6y928.jpg"/>

Steps:

1, the CPU will be based on the boot sequence in the BIOS to find the boot device. (When using the network installation, to ensure that the boot sequence network card at the front of the booting sequence)

2. The CPU performs the program found in the NIC, which causes the NIC to send a request to the DHCP service to request an IP address. (The configuration file for this type of DHCP server will have next-server and filename two instructions to indicate the address of the TFTP server and the files to be downloaded from the TFTP server.)



To be Continued ...



This article is from "Chalet Technology" blog, please make sure to keep this source http://starli.blog.51cto.com/8813574/1670284

Brief introduction of Pxe+dhcp+tftp+ks unattended Batch Machine

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.