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

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

步骤一

卸载安骑士 首先卸载阿里云安骑士

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 版本,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 + 的安装,此时提速明显!
在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值