Unattended installation of operating systems

=

Unattended installation of the operating system saves life for operation and maintenance.

1 New employee configures the machine.

2 The vast linux system, win system, etc. in the computer room.

 

Problems to be solved:

1 Automatically fill in, automatically click.

1 Configure other content, such as ip, etc., need to be connected to the Internet, etc.

=

from:http://www.linuxidc.com/Linux/2012-12/75570.htm

1. What is PXE

Strictly speaking, PXE is not a way of installation, but a way of booting. The prerequisite for PXE installation is that the computer to be installed contains a PXE-supported network card (NIC), that is, the network card must have a PXE Client. The PXE (Pre-boot Execution Environment) protocol enables computers to be booted over a network. The protocol is divided into client and server. The PXE client is in the ROM of the network card. When the computer boots, the BIOS transfers the PXE client into the memory for execution, and the PXE client downloads the files placed at the remote end to run locally through the network. Running the PXE protocol requires setting up a DHCP server and a TFTP server. The DHCP server is used to assign an IP address to the PXE client (the host where the system will be installed). Since the IP address is assigned to the PXE client, it is necessary to increase the corresponding PXE settings when configuring the DHCP server. In addition, in the ROM of the PXE client, the TFTP Client already exists. The PXE Client downloads the required files to the TFTP Server through the TFTP protocol.

 

2. What is KickStart

KickStart is an unattended installation method. The working principle of KickStart is to record various parameters filled in by manual intervention during a typical installation process, and generate a file named ks.cfg; in the subsequent installation process (not limited to the machine that generates the KickStart installation file) ) When it is required to fill in the parameters, the installation program will first look for the files generated by KickStart, and use the found parameters when it finds suitable parameters. When no suitable parameters are found, the installer needs to intervene manually. In this way, if the KickStart file covers all the parameters that need to be filled in during the installation process, the installer can just tell the installer where to get the ks.cfg file and go about his own business. After the installation is complete, the installer will restart the system according to the restart options set in ks.cfg and end the installation.

 

Three Conditions for PXE + KickStart Installation

The equipment required to perform a PXE + KickStart installation is:

• DHCP server;

• TFTP server;

• The ks.cfg configuration file generated by KickStart

 

Four installation steps

System: CentOS  6.3

ip address: 192.168.137.10

Two vms, one server and one for installing the system

                     . . . See the original text. . .

THE END

 

Other reference articles, not posted here:

Use Kickstart to automate CentOS installation  http://debugo.com/kickstart-install-centos/ 

Kickstart automation strategy: [1] How to make a KS file  http://jingyan.baidu.com/article/5d368d1eedc8ac3f60c057e1.html

Brother Bird's can't be wrong: http://linux.vbird.org/linux_enterprise/0120installation.php

PXE+Kickstart unattended installation of operating system under CentOS 6.4http: //www.cnblogs.com/mchina/p/centos-pxe-kickstart-auto-install-os.html  

 

=

=

=

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326179418&siteId=291194637