From 5c55801cb04cad9caa6fabd3aae65f0fda311687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E5=88=80=E7=8B=90=E7=8B=B8?= <9463297+callmer@user.noreply.gitee.com> Date: Tue, 6 Sep 2022 04:01:54 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20sysctl=20=E4=BB=A5?= =?UTF-8?q?=E6=94=AF=E6=8C=81IPv6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 秋刀狐狸 <9463297+callmer@user.noreply.gitee.com> --- 5.PVE制作虚拟机模板.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/5.PVE制作虚拟机模板.md b/5.PVE制作虚拟机模板.md index a74ad0a..f463718 100644 --- a/5.PVE制作虚拟机模板.md +++ b/5.PVE制作虚拟机模板.md @@ -166,16 +166,12 @@ ip a sudo nano /etc/sysctl.conf ``` -在配置文件末尾输入以下内容,注意命令中间的空格。 - - **说明:如果需要使用 `IPv6` ,则去掉 `net.ipv6.conf.all.disable_ipv6 = 1` 项。** +在配置文件末尾输入以下内容,注意命令中间的空格: ```bash net.core.default_qdisc = fq_codel net.ipv4.tcp_congestion_control = bbr -net.ipv6.conf.all.disable_ipv6 = 1 - net.ipv4.tcp_fastopen = 1 net.ipv4.tcp_syncookies = 1 net.ipv4.tcp_notsent_lowat = 131072