Linux Pxe+dhcp+kickstart Unattended Installation (1) network installed

Source: Internet
Author: User

PXE network installed

Note: We are going to install the rhel-server-5.9_x86_64

Yes: The address is a bit late for everyone.


Linux PXE Remote Installation description:


PXE is a protocol designed by Intel that enables a computer to boot over a network. The protocol is divided between client and server, PXE client in the Rom of the NIC, when the computer boots, the BIOS puts the PXE client into memory execution, and displays the Command menu, after the user chooses, PXE The client will be placed on the remote operating system to be downloaded locally and run on the network, and the diskless workstation is booted by PXE. The successful operation of the PXE protocol requires the following two issues to be resolved:

Allocation of 1.IP addresses:


The PXE client can be assigned an IP address using DHCP server, which is the protocol used to dynamically assign IP addresses to DHCP clients, but because this is the IP address assigned to the PXE client, when you configure DHCP server, You need to add the appropriate PXE-specific configuration.

2. Download the Linux kernel and root file system:


The TFTP client already exists in the ROM where the PXE client resides. The PXE client uses the TFTP client to download the required files via the TFTP protocol to the TFTP server.

3. Working principle:


The PXE client is a computer that needs to install Linux, and the TFTP server and DHCP server are running on another Linux server. Bootstrap files, configuration files, Linux kernels, and Linux root file systems are placed under the root directory of the TFTP server on the Linux server. While the PXE client is working, it requires three binaries: bootstrap, Linux kernel, and Linux root file system. The bootstrap file is an executable program that provides the user with a simple control interface and, depending on the user's choice, downloads the appropriate Linux kernel and Linux root file system.

4. What is Kickstart:


Kickstart is an unattended installation method. It works by documenting typical parameters that require manual intervention during the installation process and generating a file named Ks.cfg. If you have to fill in the parameters during the installation process (not limited to the machine that generated the Kickstart installation files), the installer will first look for the files generated by the kickstart, and if the appropriate parameters are found, use the found parameters; Need to be manually intervened by the installer. So, if the kickstart file covers all the parameters that may be required during installation, then the installer can simply tell the installer where to fetch the ks.cfg file and then go to work on it. When the installation is complete, the installer restarts the system according to the settings in the Ks.cfg and ends the installation.


Server Batch deployment:


scale : Assemble multiple hosts at the same time

Automation : Install systems, configure various services

Remote Implementation : No need to shut down, USB stick and other physical installation media

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/39/B1/wKiom1O6x3rR7bjQAACs_Usfv5E519.jpg "title=" Qq20140708000858.png "alt=" Wkiom1o6x3rr7bjqaacs_usfv5e519.jpg "/>

To configure the PXE server:


Basic Deployment ideas:

-1, Prepare Rhel 5.9 installation Source (Yum Library or NFS share)

-2, start the DNS service (optional)

-3, start the DHCP service

-4, enable the TFTP service, and provide the kernel, boot program

-5, configuring the Boot Menu for PXE installation


This article is from the "Dragon" blog, make sure to keep this source http://1208073155.blog.51cto.com/9039381/1435538

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.