魔改Google BBR一键安装脚本,比正常版BBR强

说明:本方法出自于hostloc论坛大佬Yankee发布的BBR魔改,并由Vicer博主制作的一键包。魔改基本就是修改BBR源码,调整参数,使其更强劲。

更新:
[2017.07.25]
修复一个由检测gcc版本引起的不可预料的错误。
[2017.07.15]
自动检测gcc版本,如果gcc版本大于4.9的将不会再安装gcc
[2017.07.12]
支持用户自行指定内核版本(需要与-f命令同时使用)。

提示

1、执行过程中会重新编译模块。
2、模块默认为开机自动加载。
3、模块名称:tcp_bbr_powered
4、可用modprobe tcp_bbr_powered命令进行加载模块。
5、可执行lsmod |grep 'bbr_powered',结果不为空,则加载模块成功。
6、可执行sysctl -w net.ipv4.tcp_congestion_control=bbr_powered使用此模块。

方法

本方法已在debianubuntu上测试通过。

提示:关于CentOS系统魔改请参考:BBR+BBR魔改+Lotsever(锐速)一键脚本 for Centos/Debian/Ubuntu。

1、安装BBR并开启
使用命令:

wget --no-check-certificate -qO 'BBR.sh' 'https://moeclub.org/attachment/LinuxShell/BBR.sh' && chmod a+x BBR.sh && bash BBR.sh -f
# 备用地址
wget --no-check-certificate -qO 'BBR.sh' 'https://www.southcat.net/usr/down/BBR.sh' && chmod a+x BBR.sh && bash BBR.sh -f

2、魔改BBR
一键地址默认是选择官方提供的最新版本的内核,如想要指定内核则运行指定内核版本一键包即可!

(1)一键地址

wget --no-check-certificate -qO 'BBR_POWERED.sh' 'https://moeclub.org/attachment/LinuxShell/BBR_POWERED.sh' && chmod a+x BBR_POWERED.sh && bash BBR_POWERED.sh
# 备用地址
wget --no-check-certificate -qO 'BBR_POWERED.sh' 'https://www.southcat.net/usr/down/BBR_POWERED.sh' && chmod a+x BBR_POWERED.sh && bash BBR_POWERED.sh

(2)指定内核版本(以v4.12.9内核版本为例)

wget --no-check-certificate -qO 'BBR_POWERED.sh' 'https://moeclub.org/attachment/LinuxShell/BBR_POWERED.sh' && chmod a+x BBR_POWERED.sh && bash BBR_POWERED.sh -f v4.12.9
# 备用地址
wget --no-check-certificate -qO 'BBR_POWERED.sh' 'https://www.southcat.net/usr/down/BBR_POWERED.sh' && chmod a+x BBR_POWERED.sh && bash BBR_POWERED.sh -f v4.12.9

安装完成即可!



给TA打赏
共{{data.count}}人
人已打赏
cj

Linux VPS使用skicka将文件上传至Google Drive网盘,支持编辑/下载等

2019-11-17 3:39:46

cj

Debian/Ubuntu使用update-rc.d命令添加/禁止开机启动项

2019-11-17 9:46:03

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索