diff --git a/02.PVE初始化配置.md b/02.PVE初始化配置.md index b0b5250..ca1ac1d 100644 --- a/02.PVE初始化配置.md +++ b/02.PVE初始化配置.md @@ -190,8 +190,9 @@ $ journalctl --update-catalog |系统|作用|说明| |--|--|--| |RouterOS|主路由|PPPoE 拨号上网| -|Debian|Linux 服务器|内网 DNS 服务器| -|OpenWrt|旁路由|内网插件服务| +|Debian|DNS 服务器|内网 DNS 服务器| +|Debian|TS 服务器|内网 TS 组网服务器| +|OpenWrt|旁路网关|内网插件服务| 根据 **内部网络地址** 规划,PVE IP 地址规划如下。 diff --git a/04.PVE创建模板虚拟机.md b/04.PVE创建模板虚拟机.md index 01122e6..d9833b4 100644 --- a/04.PVE创建模板虚拟机.md +++ b/04.PVE创建模板虚拟机.md @@ -30,13 +30,15 @@ SCSI 控制器保持默认 `VirtIO SCSI single` ,机型可选 `q35` ,并勾选 `Qemu代理` 选项。 +固件可选 `OVMF (UEFI)` ,并勾选 `添加 TPM` 选项,存储路径需根据实际情况进行调整,演示为 `local-lvm` 。 + +`预注册密钥` 可按需启用,若启用将预装特定于发行版和 Microsoft 标准的安全启动密钥。 + ![虚拟机系统](img/p04/vm_system.jpeg) ### 1.4.磁盘 -一般情况下,如果该虚拟机仅为 Adguard Home 服务器,`20G` 磁盘空间足够使用。 - -由于使用 Debian 云镜像制作虚拟机模板,此处删除所有 `磁盘` 。 +因使用 Debian 云镜像制作虚拟机模板,此处需删除所有 `磁盘` 。 ![虚拟机磁盘](img/p04/vm_hd.jpeg) @@ -122,7 +124,7 @@ $ sha512sum debian-13-generic-amd64.qcow2 $ qm importdisk 1001 debian-13-generic-amd64.qcow2 local-lvm #### 镜像导入示例输出 -unused0: successfully imported disk 'local-lvm:vm-1001-disk-0' +unused0: successfully imported disk 'local-lvm:vm-1001-disk-2' ``` 磁盘导入成功后,虚拟机硬件列表中将显示一块未使用的磁盘设备,可鼠标 **双击** 该设备进行配置调整。 @@ -151,16 +153,28 @@ unused0: successfully imported disk 'local-lvm:vm-1001-disk-0' ### 2.3.添加 CloudInit -为了能够正常使用 Cloud-Init 初始化系统,需要给模板虚拟机添加 `CloudInit 设备` 。 +为确保 Cloud-Init 能正常初始化系统,需为模板虚拟机添加 `CloudInit 设备` 。 点击顶部 `添加` 菜单,选择 `CloudInit 设备` 。 ![虚拟机添加ci](img/p04/vm_cloudinit.jpeg) -`总线/设备` 选择 `SCSI` ,编号为 `1` ,`存储` 选择 `local-lvm` 。 +`总线/设备` 选择 `SCSI` ,编号为 `1` ,存储路径需根据实际情况进行调整,演示为 `local-lvm` 。 ![虚拟机ci参数](img/p04/vm_ci_details.jpeg) +### 2.4.添加 VirtIO RNG + +为确保系统拥有充足的可用熵,需为模板虚拟机添加 `VirtIO RNG` 熵源。 + +点击顶部 `添加` 菜单,选择 `VirtIO RNG` 。 + +![虚拟机添加RNG](img/p04/vm_rng.jpeg) + +`熵源` 选择 `/dev/urandom` ,其余参数保持默认即可。 + +![虚拟机RNG参数](img/p04/vm_rng_details.jpeg) + 虚拟机硬件设备修改完成后,如下图所示。 ![虚拟机全部硬件](img/p04/vm_hardware_all.jpeg) diff --git a/img/p04/vm_boot.jpeg b/img/p04/vm_boot.jpeg index 7a25d56..b2c3156 100644 Binary files a/img/p04/vm_boot.jpeg and b/img/p04/vm_boot.jpeg differ diff --git a/img/p04/vm_ci_details.jpeg b/img/p04/vm_ci_details.jpeg index 0dfeb64..e5705cd 100644 Binary files a/img/p04/vm_ci_details.jpeg and b/img/p04/vm_ci_details.jpeg differ diff --git a/img/p04/vm_cloudinit.jpeg b/img/p04/vm_cloudinit.jpeg index 120d664..57af507 100644 Binary files a/img/p04/vm_cloudinit.jpeg and b/img/p04/vm_cloudinit.jpeg differ diff --git a/img/p04/vm_confirm.jpeg b/img/p04/vm_confirm.jpeg index b14b7c8..41fd8b4 100644 Binary files a/img/p04/vm_confirm.jpeg and b/img/p04/vm_confirm.jpeg differ diff --git a/img/p04/vm_delete_cd.jpeg b/img/p04/vm_delete_cd.jpeg index 260637c..981eb80 100644 Binary files a/img/p04/vm_delete_cd.jpeg and b/img/p04/vm_delete_cd.jpeg differ diff --git a/img/p04/vm_hardware_all.jpeg b/img/p04/vm_hardware_all.jpeg index 1d73fc4..c373542 100644 Binary files a/img/p04/vm_hardware_all.jpeg and b/img/p04/vm_hardware_all.jpeg differ diff --git a/img/p04/vm_hd_resize.jpeg b/img/p04/vm_hd_resize.jpeg index 00a6772..133923a 100644 Binary files a/img/p04/vm_hd_resize.jpeg and b/img/p04/vm_hd_resize.jpeg differ diff --git a/img/p04/vm_hd_scale_up.jpeg b/img/p04/vm_hd_scale_up.jpeg index 66321ee..f15d647 100644 Binary files a/img/p04/vm_hd_scale_up.jpeg and b/img/p04/vm_hd_scale_up.jpeg differ diff --git a/img/p04/vm_rng.jpeg b/img/p04/vm_rng.jpeg new file mode 100644 index 0000000..d5029f8 Binary files /dev/null and b/img/p04/vm_rng.jpeg differ diff --git a/img/p04/vm_rng_details.jpeg b/img/p04/vm_rng_details.jpeg new file mode 100644 index 0000000..d7e308f Binary files /dev/null and b/img/p04/vm_rng_details.jpeg differ diff --git a/img/p04/vm_system.jpeg b/img/p04/vm_system.jpeg index 0e5de3e..a445501 100644 Binary files a/img/p04/vm_system.jpeg and b/img/p04/vm_system.jpeg differ diff --git a/img/p04/vm_unused_hd.jpeg b/img/p04/vm_unused_hd.jpeg index 259a870..fea2037 100644 Binary files a/img/p04/vm_unused_hd.jpeg and b/img/p04/vm_unused_hd.jpeg differ