本文将会提供两种加速方式,分别是谷歌的BBR加速和锐速加速
锐速采用了暴力算法,采用重复发包,多次发包等方法来防止数据丢失,效果极好,速度可以提升10倍以上,极大地降低了延迟。但是会导致服务器流量和带宽增加。(流量一般是BBR加速的2-3倍)
请根据需求自行选择
yum -y install wget wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh chmod +x bbr.sh ./bbr.sh
把上面整个代码复制后粘贴进去,不动的时候按回车,然后耐心等待,最后重启vps服务器即可。
复制并粘贴代码后,按回车键确认
按任意键继续部署
最后输入y重启服务器,如果输入y提示command not found ,接着输入reboot来重启服务器,确保加速生效,bbr加速脚本是开机自动启动,装一次就可以了。
服务器重启成功并重新连接服务器后,输入命令lsmod | grep bbr 如果出现tcp_bbr字样表示bbr已安装并启动成功。
wget -N --no-check-certificate https://freed.ga/kernel/ruisu.sh && bash ruisu.sh
#脚本执行过程中,请勿进行任何操作。待服务器重启后,重新连接安装锐速即可。
wget -N --no-check-certificate https://github.com/91yun/serverspeeder/raw/master/serverspeeder.sh && bash serverspeeder.sh
#若提示:The name of network interface is not eth0, please retry after changing the name.请使用备用脚本
wget -N --no-check-certificate https://raw.githubusercontent.com/91yun/serverspeeder/master/serverspeeder-all.sh && bash serverspeeder-all.sh
#如果搭建碰到问题可以留言,站长会尽快处理!