Using kickstart to implement PXE automatic installation

Source: Internet
Author: User
Tags file transfer protocol

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/#挂载光盘

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.