You've already forked www.colben.cn
update
This commit is contained in:
@@ -6,7 +6,7 @@ tags: ["dnsmasq", "pxe"]
|
||||
categories: ["OS"]
|
||||
---
|
||||
|
||||
# 把 dnsmasq 配置成 pxe 服务器
|
||||
## 把 dnsmasq 配置成 pxe 服务器
|
||||
- 安装 dnsmasq
|
||||
```bash
|
||||
# rhel
|
||||
@@ -29,10 +29,10 @@ categories: ["OS"]
|
||||
systemctl start dnsmasq
|
||||
```
|
||||
|
||||
# 安装 CentOS7/8
|
||||
## 安装 CentOS7/8
|
||||
- **本次测试使用 CentOS7.7 和 CentOS8.0 镜像**
|
||||
|
||||
## 挂载系统镜像,提供软件源服务
|
||||
### 挂载系统镜像,提供软件源服务
|
||||
- 下载 centos7/8 镜像到 dnsmasq 服务器
|
||||
- 挂载镜像到 /mnt 目录
|
||||
```bash
|
||||
@@ -46,7 +46,7 @@ categories: ["OS"]
|
||||
python3 -m http.server 10086
|
||||
```
|
||||
|
||||
## 网络 BIOS 引导
|
||||
### 网络 BIOS 引导
|
||||
- 复制 centos7/8 镜像里的启动文件到 dnsmasq 服务器的 /var/ftpd/ 下
|
||||
```bash
|
||||
cd /var/ftpd
|
||||
@@ -73,7 +73,7 @@ categories: ["OS"]
|
||||
chown -R dnsmasq.dnsmasq /var/ftpd/
|
||||
```
|
||||
|
||||
## 网络 EFI 引导
|
||||
### 网络 EFI 引导
|
||||
- **不支持 secure boot**
|
||||
- 复制 centos7/8 镜像里的启动文件到 dnsmasq 服务器的 /var/ftpd/ 下
|
||||
```bash
|
||||
@@ -92,7 +92,7 @@ categories: ["OS"]
|
||||
chown -R dnsmasq.dnsmasq /var/ftpd/
|
||||
```
|
||||
|
||||
# 装机
|
||||
## 装机
|
||||
- 把待安装机器和 dnsmasq 服务器接入同一个交换机(无其他 dhcp 广播)
|
||||
- 启动待安装机器,选择 pxe 引导,从第一个启动项启动
|
||||
|
||||
|
Reference in New Issue
Block a user