Get the App
SLTechnology News&Howtos  ›  Servers  › 

PXE deployment network installation and KICKSTART unattended installation

Shulou Source: shulou.com Published: 2022-06-03 08:36:15 12月06日 Update

PXE definition

PXE (Pre-boot Execution Environment, pre-boot execution environment) is a network boot technology developed by Inter, which works in Client/Server mode and allows clients to download boot images from remote servers over the network and load installation files or the entire operating system.

PXE, a prerequisite for PXE deployment and installation

Pre-start the execution environment, running before the operating system

Can be used for remote installation to build a diskless workstation server

Run the DHCP service to assign addresses and locate the bootstrapper

Run the TFTP server to provide the bootstrap download client

The network card supports PXE protocol.

The motherboard supports the advantages of network startup PXE deployment and large-scale installation: assemble multiple servers at the same time automatically: install the system, configure various services remotely: do not need CD, U disk and other installation media PXE deployment installation server configuration process prepare Centos7 installation source start TFTP service, and provide kernel, bootstrap startup DHCP service, used to assign address Point out the location of the bootstrapper configure the startup menu experiment: build a PXE remote installation server

Experimental environment:

Server address is 192.168.200.200 use PXE to remotely install centos7 system dual network card for bare metal experiment step: 1. Configure dual network cards

two。 Install DHCP service and modify dhcp service configuration file

3. Install the syslinux package, tftp service

4. Copy the bootstrapper to the TFTP service site

5. Modify tftp service profile

6. Install the ftp service

7. Create a centos7 folder in the ftp service site and mount the system image under this folder

8. Copy the compressed kernel file and system initialization file to the tftp service site

9. Create a new folder pxelinux.cfg folder in the tftp site, and create the file default inside

10. Turn off the firewall and enable the dhcp,tftp,ftp service

11. Verify the installation

The service was successfully set up unattended deployment installation step 1. Install the kickstart package

two。 Set up the kickstart tool

3. Copy the software package in the file default and paste it into the file anaconda-kc.cfg

4. Modify the default file

5. Verify the installation

Just wait for the installation to complete.

Tags: Services files servers systems configurations programs folders networks addresses environments network cards labs runs operating systems kernels clients service stations service configurations steps sites Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Shulou Tech Info NVidia Apple vpn