Debian-based
原创2022/4/1...小于 1 分钟
Debian-based
tips
# 输出文本
sh -c 'printf "abcdefg" > xxx.txt'
# apt指定分支
apt-get -t jessie-backports install [package-name]congestion control
#!/bin/bash
# Set hybla
# modprobe tcp_hybla
# sysctl net.ipv4.tcp_available_congestion_control
# sysctl net.ipv4.tcp_congestion_control
cd /etc/modules-load.d
cp modules.conf bbr.conf
echo "tcp_bbr\n" >> bbr.conf
echo \
"net.core.default_qdisc=fq\nnet.ipv4.tcp_congestion_control = bbr\n"\
> /etc/sysctl.d/99-bbr.conf
# reboot