当前位置:网站首页>PXE remote installation and kickstart unattended installation technical documents
PXE remote installation and kickstart unattended installation technical documents
2022-07-23 10:47:00 【1701y】
Catalog
build PXE Remote installation server
Install and enable DHCP service
Install and enable TFTP service
Get ready PXE Bootstrap pxelinux.0
Configure the Startup menu file
install ftp service , Get ready CentOS 7 Install source
Realization Kickstart Unattended installation
Verify unattended installation
Application scenarios
In our normal work , The system is generally installed individually , But this method is only applicable to the case that there are few servers to install , Once there are more bare metal machines on site , Manual operation is obviously not feasible , therefore PXE Remote installation and Kickstart Unattended installation is very convenient .
build PXE Remote installation server
You need to prepare a host in advance Configure two network cards. One is to download the installation package , One is dhp

Install and enable DHCP service
yum -y install dhcp

cp -rfp /usr/share/doc/dhcp-4.2.5/dhcpd.conf.example /etc/dhcp/dhcpd.conf
vim /etc/dhcp/dhcpd.conf ## Enter the configuration file to configure

systemctl start dhcpd
systemctl enable dhcpd
Then open dhcp service Turn on the power and start automatically
Install and enable TFTP service
yum -y install tftp-server
yum -y install xinetd
Install package I will not put the picture
vim /etc/xinetd.d/tftp ## Modify the configuration file
Change to no Open for indication TFTP service

mount /dev/cdrom /mnt
cd /mnt/images/pxeboot/
cp initrd.img vmlinuz /var/lib/tftpboot/
And then open the service Start the service and start it automatically

Get ready PXE Bootstrap pxelinux.0
yum -y install syslinux

cp /usr/share/syslinux/pxelinux.0 /var/lib/tftpboot/
Put the system boot file copy to tftp Under the root directory of
![]()
Configure the Startup menu file
mkdir /var/lib/tftpboot/pxelinux.cfg
vim /var/lib/tftpboot/pxelinux.cfg/default


install ftp service , Get ready CentOS 7 Install source
yum -y install vsftpd
mkdir /var/ftp/centos7
cp -rf /mnt/* /var/ftp/centos7

systemctl start vsftpd Turn on ftp
systemctl enable vsftpd Turn on the power and start automatically
Realization Kickstart Unattended installation
yum install -y system-config-kickstart

open "Kickstart Configuration program ” window












After configuration, save as ks.cfg file , The saved path is /var/ftp Next
We need to /root/anaconda-ks.cfg Inside from %packages start %end Copy the content at the end to ks.cfg

Verify unattended installation



We can wait for the installation
Must close the firewall must close the firewall must close the firewall must close the firewall must close the firewall must close the firewall must close the firewall must close the firewall
If you don't turn off the firewall, it will become unfortunate. If you don't turn off the firewall, it will become unfortunate. If you don't turn off the firewall, it will become unfortunate
边栏推荐
- Network data leakage events occur frequently, how to protect personal privacy information?
- Seektiger's okaleido has a big move. Will the STI of ecological pass break out?
- 【Unity】AVPro使用踩坑,编辑器模式使用视频播放正常,打包后视频无法播放的问题
- 中国经济网:“元宇宙”炙手可热
- Kubernetes技术与架构(六)
- Hololens third perspective development [nanny level tutorial] [stepping on the pit record]
- [Delphi] a simple method to make the installation icon of the control panel (translation)
- LeetCode刷题--点滴记录022
- Analysis of network security level protection 2.0 standard
- 第一章概述-------第一节--1.2互联网概述
猜你喜欢

Exciting metauniverse! Wealth outlet of next generation Internet

SVG、canvas、绘制线段和填充多边形、矩形、曲线的绘制和填充

元宇宙浪潮震撼来袭,抓住时机,齐心协力

第一章概述-------第一节--1.2互联网概述

第四篇章:运行时数据区——共享空间
![[unity] avpro uses stepping pits, and the editor mode uses video playback. The video cannot be played after packaging](/img/4a/e3f2107ec1a3868ce3aac592aff8e6.png)
[unity] avpro uses stepping pits, and the editor mode uses video playback. The video cannot be played after packaging

MGRE环境下实现私网互通综合实验

0基础转行软件测试,月薪6000和11000的必备技能,截然不同...

Sequence model (III) - sequence model and attention mechanism

Li Hongyi machine learning 2022-hw1
随机推荐
SQLZOO——SELECT Quiz
300 questions, Lecture 6, quadratic form
Openvino Datawhale
添加信任列表
Cs5266+ma8621 do the scheme design of typec to hdmi+pd+u3+2u+sd/tf seven in one expansion dock | cs5266 multi port expansion dock pcb+ schematic diagram reference
ANTLR4 入门学习(一):下载和测试
SAP batch import template (WBS batch import as an example)
Li Hongyi machine learning 2022-hw1
Chapter 4: runtime data area - shared space
常见神经网络参数量与计算量
Summary of topics related to strings
selenium JD爬虫
编译构建工具-bazel
SQLZOO——SELECT from WORLD Tutorial
Chapter 3 Standard Input
Leetcode skimming -- bit by bit record 023
Response object
[warning] recognizing corrupt image/label during yolov5 training: [errno 2]...... it is impossible to complete the training data set. I will take you to solve it quickly
How Alibaba cloud resolves a domain name to another domain name
阿里云如何将一个域名解析到另一个域名上