Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e87732ed00 | ||
|
|
0d97a04ea9 |
@@ -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)
|
||||
|
||||
@@ -52,7 +52,11 @@ CPU `类型` 选择 `host` ,`插槽` 与 `核心` 数根据物理 CPU 核心
|
||||
|
||||
### 1.6.内存
|
||||
|
||||
内存一般 `2G` 足够使用,取消勾选 `Ballooning 设备` 。
|
||||
建议将 `内存` 设置为业务峰值需求,`最小内存` 原则上不低于 `内存` 的 `75%` 。
|
||||
|
||||
默认启用 `Ballooning 设备` ,使 PVE 能够获取虚拟机内部的内存统计,并在宿主机出现内存压力时动态回收和调配内存。
|
||||
|
||||
将 `最小内存` 设置为与 `内存` 相同,可保留统计能力,同时为虚拟机提供固定的内存保障。
|
||||
|
||||
对于 `允许 KSM` 内核同页合并功能,建议保留勾选状态。
|
||||
|
||||
@@ -302,7 +306,7 @@ IPv6 使用 `静态` 地址后,并不影响虚拟机通过主路由获取 IPv6
|
||||
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
至此,模板虚拟机创建完成,可将该虚拟机开机。
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
Before Width: | Height: | Size: 203 KiB After Width: | Height: | Size: 197 KiB |
|
Before Width: | Height: | Size: 178 KiB After Width: | Height: | Size: 177 KiB |
|
Before Width: | Height: | Size: 255 KiB After Width: | Height: | Size: 252 KiB |
|
Before Width: | Height: | Size: 199 KiB After Width: | Height: | Size: 205 KiB |
|
Before Width: | Height: | Size: 235 KiB After Width: | Height: | Size: 232 KiB |
|
Before Width: | Height: | Size: 166 KiB After Width: | Height: | Size: 170 KiB |
|
Before Width: | Height: | Size: 286 KiB After Width: | Height: | Size: 283 KiB |
|
Before Width: | Height: | Size: 263 KiB After Width: | Height: | Size: 262 KiB |
|
Before Width: | Height: | Size: 174 KiB After Width: | Height: | Size: 174 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 190 KiB |
|
After Width: | Height: | Size: 188 KiB |
|
Before Width: | Height: | Size: 219 KiB After Width: | Height: | Size: 215 KiB |
|
Before Width: | Height: | Size: 148 KiB After Width: | Height: | Size: 145 KiB |
|
Before Width: | Height: | Size: 227 KiB After Width: | Height: | Size: 224 KiB |
|
Before Width: | Height: | Size: 133 KiB After Width: | Height: | Size: 133 KiB |
|
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 191 KiB |
|
Before Width: | Height: | Size: 254 KiB After Width: | Height: | Size: 250 KiB |