说明:超级暴力版魔改BBR
安装方法刚说过了,参考:Debian/Ubuntu开启超级暴力版魔改BBR教程,不过是手动的,有点麻烦,这里就分享下南琴浪大佬的一键脚本,只适用Debian
系统,Ubuntu
系统可以查看教程手动安装。
安装
Github地址:https://github.com/nanqinlang/tcp_nanqinlang-test
Debian 7
、8
、9
系统都可以,使用命令:
wget https://raw.githubusercontent.com/iiiiiii1/tcp_nanqinlang-test/master/tcp_nanqinlang-test.sh
bash tcp_nanqinlang-test.sh
使用脚本后会出现如下选项:
先选择1
更换内核,然后reboot
重启后,再使用bash tcp_nanqinlang-test.sh
进行第2
步开启超级暴力BBR
模式。
如果在删除内核环节出现这样一张图
注意选择NO
,然后根据提示操作。
有问题请咨询大佬,南琴浪博客:https://sometimesnaive.org/。
版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!
本文链接:https://www.moerats.com/archives/523/
如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。
这个脚本(版本1.2.2)在ubuntu16上无法安装锐速,执行过步骤3换完内核后,再执行步骤8无法启动锐速模块。烦请修复
选择了yes有影响吗,内核更换和启用bbr都成功了
这个,要是说成功的话,应该没影响
Valuable information. Many thanks!
大佬,好像出问题了,麻烦看一下
[Info] loading mod
tcp_nanqinlang-test.sh: line 123: cd: /lib/modules/3.16.0-6-amd64/kernel/net/ipv4: No such file or directory
[Error] download mod failed,please check !
你这个报错一看就是安装内核后没有重启,导致检测到的还是旧内核。
Debian9 报错
insmod: ERROR: could not insert module tcp_nanqinlang.ko: Invalid module format
Opps, 我的锅,忘记先安装内核了
ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
这是正常的嘛?
这个好像是ovz检测方法,你直接选择脚本里的状态查看就行了。
Ign:1 http://mirrors.digitalocean.com/debian stretch InRelease
Hit:2 http://mirrors.digitalocean.com/debian stretch-updates InRelease
Hit:3 http://security.debian.org stretch/updates InRelease
Hit:4 http://mirrors.digitalocean.com/debian stretch Release
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
virt-what is already the newest version (1.15-1+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
[Info] loading mod
--2018-06-19 07:47:13-- https://raw.githubusercontent.com/nanqinlang/tcp_nanqinlang-test/master/tcp_nanqinlang.ko
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.40.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.40.133|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-06-19 07:47:13 ERROR 404: Not Found.
net.core.default_qdisc = fq
sysctl: setting key "net.ipv4.tcp_congestion_control": No such file or directory
net.ipv4.tcp_congestion_control = nanqinlang
还是404
已修复,测试没问题了。
记录一下,第二次遇到这种情况了,
脚本的作者默认Debian的python版本是python2,我把系统默认的Python版本设置成3之后ConfigParser这个模块就会加载出错(因为3里面这个模块是全小写的),这个模块会影响脚本1、2操作。
系统把默认换python3会有一堆问题,感觉很多坑。
脚步链接404了
补好了。
To connect to raw.githubusercontent.com insecurely, use `--no-check-certificate'.
试试wget --no-check-certificate https:xx....。
为什么选择1之后下载速度这么慢?我VPS 10Gbps...HK....难受
换内核的时候下载慢?估计网络原因吧。
想问一下reboot之后好像就not installed了怎么解决
重启后,检测状态是这个?
是的,reboot以后执行 bash tcp_nanqinlang-test.sh 选3提示这个
说明没安装成功,检查下系统是对的吗?如果是对的,有什么错误提示。
多试了几次现在好了,谢谢博主(*°∀°)=3
ovz能用吧?
不能,只适用于KVM。
cloudcone的服务器又用不了,现在只能用默认的BBR。他们家服务器太奇怪了。
我现在不怎么用魔改了,都是直接用的debian 9,自带BBR内核。
debian 9,自带BBR内核。如果要安装魔改bbr的话,直接选择2,开启算法就好?
魔改bbr需要更换内核,有时候内核太新会编译不上,所以一般现在的 魔改脚本都会自动帮你换内核。
那还是不折腾了,我的VPS自带BBR了。目前满足使用了!
我也不喜欢折腾,都是debian 9直接开启BBR
关于55R的加密协议有什么推荐的。速度比较快的
这玩意很久没研究了,速度还是得看线路吧,与协议关系不那么大
这个超级暴力版和锐速那个牛逼
按理说锐速,这个暴力版还没仔细测试过。
download mod failed,please check !试了多个脚本都出现这个问题
应该与网络有关,具体错误是什么?
[Info] 这是当前已安装的所有内核的列表:
linux-image-4.10.10-041010-lowlatency
[Info] 这是需要安装的所有内核的列表:
linux-image-4.10.10-lowlatency
[Info] 请确保上下两个列表完全一致!
[Info] 确认内核安装无误后, 重启你的VPS, 开机后再次运行该脚本的第二项!
出现了这个,是成功了还是没成功(在安装完算法之后显示running)
成功了。
大大,那个安装内核成功重启之后,安装并开启算法提示current running kernel is not v4.12.10, please check !这怎么办啊?