BBR常用加速
1、请先安装curl和wget:
#CentOS安装wget和curl
yum -y install wget
yum -y install curl
#Debian和Ubuntu安装wget和curl
apt-get install wget
apt-get install curl
2、针对KVM机:
#开启系统自带加速
适用Debian≥9,Ubuntu≥20,CentOS≥8系统
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
lsmod | grep bbr
#四合一BBR脚本
适用Centos7,Debian8/9,Ubuntu16/18系统
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
3、针对ovz机:
#BBRPlus脚本
需要开启TUN/TAP和至少256M空闲内存
适用Alpine / Debian / Ubuntu / CentOS系统
wget --no-cache -O lkl-haproxy.sh https://github.com/mzz2017/lkl-haproxy/raw/master/lkl-haproxy.sh && bash lkl-haproxy.sh
更多脚本教程参考:
https://www.v2rayssr.com/bbr.html
https://www.cokemine.com/openvzbbr.html
#脚本 #bbr
1、请先安装curl和wget:
#CentOS安装wget和curl
yum -y install wget
yum -y install curl
#Debian和Ubuntu安装wget和curl
apt-get install wget
apt-get install curl
2、针对KVM机:
#开启系统自带加速
适用Debian≥9,Ubuntu≥20,CentOS≥8系统
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
lsmod | grep bbr
#四合一BBR脚本
适用Centos7,Debian8/9,Ubuntu16/18系统
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
3、针对ovz机:
#BBRPlus脚本
需要开启TUN/TAP和至少256M空闲内存
适用Alpine / Debian / Ubuntu / CentOS系统
wget --no-cache -O lkl-haproxy.sh https://github.com/mzz2017/lkl-haproxy/raw/master/lkl-haproxy.sh && bash lkl-haproxy.sh
更多脚本教程参考:
https://www.v2rayssr.com/bbr.html
https://www.cokemine.com/openvzbbr.html
#脚本 #bbr