mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 22:12:51 +08:00
update 5.PVE制作虚拟机模板.md.
Signed-off-by: 狐狸Nomad <9463297+callmer@user.noreply.gitee.com>
This commit is contained in:
@@ -215,23 +215,6 @@ sudo systemctl restart dhcpcd.service
|
|||||||
|
|
||||||
由于该 Debian 虚拟机模板将用于克隆内网 DNS 服务器,因此需要调整一部分系统内核参数来简单优化性能。
|
由于该 Debian 虚拟机模板将用于克隆内网 DNS 服务器,因此需要调整一部分系统内核参数来简单优化性能。
|
||||||
|
|
||||||
使用 `nano` 编辑器创建 **内核模块** 配置文件,执行以下命令:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
## 创建 内核模块 配置文件
|
|
||||||
sudo nano /etc/modules-load.d/server_modules.conf
|
|
||||||
```
|
|
||||||
|
|
||||||
在编辑器对话框中输入以下内容,并保存:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# This configuration file is customized by fox
|
|
||||||
# Optimize BBR modules at system boot
|
|
||||||
|
|
||||||
tcp_bbr
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
使用 `nano` 编辑器编辑 **内核参数** 配置文件,执行以下命令:
|
使用 `nano` 编辑器编辑 **内核参数** 配置文件,执行以下命令:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user