Linux服务器开启bbr,关闭IPv6的两条命令
Linux内核开启bbr,需要默认内核是4.9以上,查看内核:uname -a开启bbr:echo -e "net.core.default_qdisc=fq\nnet.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf关闭IPv6:echo -e "net.ipv6.conf.all.disable_ipv6=1\nnet.ipv6.conf.default.disable_ipv6=1\nnet.ipv6.conf.lo.disable_ipv6=1" >> /etc/sysctl.conf最后:sysctl -p以上命令合一(方便复制执行):echo -e "
小菜鸡