当前位置:网站首页>PXE无人值守安装管理
PXE无人值守安装管理
2022-07-28 05:28:00 【花生味花生米】
目录
前言
PXE(preboot execute environment,预启动执行环境)是由Intel公司开发的最新技术,工作于Client/Server的网络模式,支持工作站通过网络从远端服务器下载映像,并由此支持通过网络启动操作系统,在启动过程中,终端要求服务器分配IP地址,再用TFTP(trivial filtransferprotocol)或MTFTP(multicast trivial file transfer protocol)协议下载一个启动软件包到本机内存中执行,由这个启动软件包完成终端(客户端)基本软件设置,从而引导预先安装在服务器中的终端操作系统。PXE可以引导多种操作系统。
一.网络配置
1.关闭防火墙
systemctl stop firewalld
setenforce 0
2.添加网卡
3.配置网卡
vim /etc/sysconfig/network-scripts/ifcfg-ens33 ifcfg-ens36 将ens33配置信息复制到ens36 
systemctl restart network 重起网卡
二.安装DHCP服务
yum -y install dhcp 安装DHCP
查找DHCP路径
复制到指定目录下![]()
vim /etc/dhcp/dhcpd.conf(设置网段,地址池,默认网关,tftp服务器地址,pxe引导程序文件)
开启服务
systemctl start dhcpd
systemctl enable dhcpd
三.安装TFTP服务
安装TFTP
yum -y install tftp-server
yum -y install xinetd

vim /etc/xinetd.d/tftp(disable=yes改为no表示开启TFTP服务)
mount /dev/cdrom /mnt
cd /mnt/images/pxeboot/
内核文件 内核初始化镜像文件 /var/lib/tftpboot/ 站点
cp initrd.img vmlinuz /var/lib/tftpboot/
开启服务
systemctl start xinetd
systemctl enable xinetd
systemctl start tftp
systemctl enable tftp
三.PXE引导程序
安装服务

查找位置
复制到指定位置![]()
四.配置菜单文件
![]()

五.安装FTP服务
安装FTP
创建文件并复制到指定目录下![]()
开启服务
systemctl start vsftpd
systemctl enable vsftpd
六.安装Kickstart

开启配置文件








七.测试结果



边栏推荐
- HDU-5805-NanoApe Loves Sequence(思维题)
- Test interview questions collection (III) | computer network and database (with answers)
- 测试面试题集锦(二)| 测试工具篇(附答案)
- Technology sharing | how to do Assertion Verification in interface automated testing?
- Network - transport layer (detailed version)
- ---Stack & queue---
- Network - data link layer
- 技术分享 | 使用 cURL 发送请求
- Which is the best and most cost-effective air conduction headset recommended
- 测试面试题集锦(五)| 自动化测试与性能测试篇(附答案)
猜你喜欢

Custom component -- pure data field & component life cycle

Technology sharing | do you know the functions of the server interface automated testing and requests library?

MySQL installation and use

Shell script - "three swordsmen" awk command

一、PXE概述和安装

Applet creation component

About gcc:multiple definition of

Centos7 deploy MySQL database server

shell脚本——编程条件语句(条件测试、if语句、case分支语句、echo用法、for循环、while循环)

技术分享 | 接口测试常用代理工具
随机推荐
How to describe a bug and the definition and life cycle of bug level
什么是线性表?
SSH service configuration
MySQL主从
shell脚本——编程条件语句(条件测试、if语句、case分支语句、echo用法、for循环、while循环)
Array to linked list
Ubuntu18.04+Centos7配置redis主从【学习笔记】
Test interview questions collection (II) | test tools (with answers)
Installation and configuration of unit test framework jest with typescript
Esxi community network card driver updated in March 2022
Regular execution of scratch
小tips
Ubuntu18.04搭建redis集群【学习笔记】
技术分享 | 如何模拟真实使用场景?mock 技术来帮你
Ten thousand words summarize and realize the commonly used sorting and performance comparison
Common models in software development
Technology sharing | common proxy tools for interface testing
Life cycle (process) of software testing
HDU-1159-CommonSubsequence(LCS最长公共子序列)
On cookies and session