Compare commits

...
2 Commits
Author SHA1 Message Date
CallMeR e87732ed00 优化软件包顺序 2026-08-16 18:50:08 +08:00
CallMeR 0d97a04ea9 更新虚拟机创建截图 2026-08-16 18:03:17 +08:00
22 changed files with 16 additions and 12 deletions
+2 -2
View File
@@ -160,7 +160,7 @@ $ apt full-upgrade
$ apt update
## 安装系统软件
$ apt install btop lm-sensors curl tmux neovim unattended-upgrades powermgmt-base sshguard knot-dnsutils
$ apt install btop curl knot-dnsutils lm-sensors neovim powermgmt-base unattended-upgrades sshguard tmux
## 安装 CPU 调度调整工具
$ apt install linux-cpupower
@@ -172,7 +172,7 @@ $ update-pciids
$ apt install openvswitch-switch
## 安装网络检测工具(可选)
$ apt install iftop iperf3 iperf
$ apt install iftop iperf iperf3
## 根据 CPU 厂商安装 CPU 微码工具(可选,现已默认安装)
$ apt install intel-microcode (amd64-microcode)
+6 -2
View File
@@ -52,7 +52,11 @@ CPU `类型` 选择 `host` `插槽` 与 `核心` 数根据物理 CPU 核心
### 1.6.内存
内存一般 `2G` 足够使用,取消勾选 `Ballooning 设备`
建议将 `内存` 设置为业务峰值需求,`最小内存` 原则上不低于 `内存``75%`
默认启用 `Ballooning 设备` ,使 PVE 能够获取虚拟机内部的内存统计,并在宿主机出现内存压力时动态回收和调配内存。
`最小内存` 设置为与 `内存` 相同,可保留统计能力,同时为虚拟机提供固定的内存保障。
对于 `允许 KSM` 内核同页合并功能,建议保留勾选状态。
@@ -302,7 +306,7 @@ IPv6 使用 `静态` 地址后,并不影响虚拟机通过主路由获取 IPv6
```
![虚拟机备注](img/p04/vm_notes.jpeg)
![虚拟机备注](img/p04/vm_notes.jpg)
至此,模板虚拟机创建完成,可将该虚拟机开机。
+4 -4
View File
@@ -100,16 +100,16 @@ $ sudo apt full-upgrade
```bash
## 安装系统软件
$ sudo apt install qemu-guest-agent btop curl tmux logrotate cronie neovim zsh git
$ sudo apt install btop cronie curl git logrotate neovim qemu-guest-agent tmux zsh
## 安装系统自动更新工具
$ sudo apt install unattended-upgrades powermgmt-base
$ sudo apt install powermgmt-base unattended-upgrades
## 安装网络工具
$ sudo apt install nftables sshguard lsof knot-dnsutils
$ sudo apt install knot-dnsutils lsof nftables sshguard
## 安装网络检测工具(可选)
$ sudo apt install iftop iperf3 iperf
$ sudo apt install iftop iperf iperf3
## 刷新 systemd 日志分类索引
$ sudo journalctl --update-catalog
+4 -4
View File
@@ -103,19 +103,19 @@ $ sudo apt full-upgrade
```bash
## 安装系统软件
$ sudo apt install qemu-guest-agent btop curl tmux logrotate cronie neovim zsh git
$ sudo apt install btop cronie curl git logrotate neovim qemu-guest-agent tmux zsh
## 安装系统自动更新工具
$ sudo apt install unattended-upgrades powermgmt-base
$ sudo apt install powermgmt-base unattended-upgrades
## 安装网络工具
$ sudo apt install nftables sshguard lsof knot-dnsutils ethtool dnsmasq conntrack networkd-dispatcher
$ sudo apt install conntrack dnsmasq ethtool knot-dnsutils lsof networkd-dispatcher nftables sshguard
## 安装 TS
$ curl -fsSL https://tailscale.com/install.sh | sh
## 安装网络检测工具(可选)
$ sudo apt install iftop iperf3 iperf
$ sudo apt install iftop iperf iperf3
## 刷新 systemd 日志分类索引
$ sudo journalctl --update-catalog
Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 KiB

After

Width:  |  Height:  |  Size: 197 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 KiB

After

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 KiB

After

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 KiB

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 235 KiB

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 KiB

After

Width:  |  Height:  |  Size: 283 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 KiB

After

Width:  |  Height:  |  Size: 262 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 KiB

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 KiB

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 KiB

After

Width:  |  Height:  |  Size: 224 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 KiB

After

Width:  |  Height:  |  Size: 250 KiB