阿里香港轻量服务器加上 BBR 会发生什么?阿里云轻量级服务器下载上传速度慢

转载链接: https://zhuanlan.zhihu.com/p/73565142

买了阿里云香港轻量级服务器, 峰值网速带宽30Mbps, 但是本地下载服务器文件只有几十K, 于是搜索资料, 发现上面的解决办法, 速度提升很明显, 非常推荐.
安装BBR前的下载速度:
在这里插入图片描述
安装后的下载速度:
在这里插入图片描述
安装步骤: 先卸载阿里云安骑士和一些残留文件, 然后安装BBR加速模块. 具体步骤如下

步骤一

卸载安骑士 首先卸载阿里云安骑士,教程转自https://www.wn789.com/11468.html

wget http://update.aegis.aliyun.com/download/uninstall.sh 
chmod +x uninstall.sh 
./uninstall.sh 
wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh 
chmod +x quartz_uninstall.sh 
./quartz_uninstall.sh

删除残留文件

pkill aliyun-service
rm -fr /etc/init.d/agentwatch /usr/sbin/aliyun-service
rm -rf /usr/local/aegis*

屏蔽安骑士 IP

iptables -I INPUT -s 140.205.201.0/28 -j DROP 
iptables -I INPUT -s 140.205.201.16/29 -j DROP 
iptables -I INPUT -s 140.205.201.32/28 -j DROP 
iptables -I INPUT -s 140.205.225.192/29 -j DROP 
iptables -I INPUT -s 140.205.225.200/30 -j DROP 
iptables -I INPUT -s 140.205.225.184/29 -j DROP 
iptables -I INPUT -s 140.205.225.183/32 -j DROP 
iptables -I INPUT -s 140.205.225.206/32 -j DROP 
iptables -I INPUT -s 140.205.225.205/32 -j DROP 
iptables -I INPUT -s 140.205.225.195/32 -j DROP 
iptables -I INPUT -s 140.205.225.204/32 -j DROP

步骤二

这里安装 BBR plus 版本,教程来自https://www.94ish.me/1635.html

Plus 版本经过修改后会具有侵略性,能更好的抢占带宽,提高速度。

wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" 
chmod +x tcp.sh 
./tcp.sh

选 2,安装重启后再次运行./tcp.sh 命令,然后选 7,完成 BBR + 的安装,此时提速明显!
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/feifei3211/article/details/108678378
BBR
今日推荐