四合一bbr脚本
支持的系统:Centos 7, Debian 8/9, Ubuntu 16/18
适用环境
- 系统支持:CentOS 6 ,Debian 7 ,Ubuntu 12
- 虚拟技术: KVM、Xen、VMware 等,(OpenVZ 不支持!)
- 内存要求:≥128M
wget -N --no-check-certificate "https://gist.github.com/zeruns/a0ec603f20d1b86de6a774a8ba27588f/raw/4f9957ae23f5efb2bb7c57a198ae2cffebfb1c56/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
检查是否开启BBR
sysctl net.ipv4.tcp_congestion_control
设置服务器时间
timedatectl set-timezone Asia/Hong_Kong