集成脚本

https://github.com/ylx2016/Linux-NetSpeed/releases

不卸载内核
wget -N –no-check-certificate “https://github.000060000.xyz/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
wget -N “https://github.000060000.xyz/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
卸载内核
wget -N –no-check-certificate “https://github.000060000.xyz/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
wget -N “https://github.000060000.xyz/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

 

GOOGLE BBR

使用root用户登录,运行以下命令:

wget –no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh
chmod +x bbr.sh
./bbr.sh

安装完成后,脚本会提示需要重启 VPS,输入 y 并回车后重启。 重启完成后,进入 VPS,验证一下是否成功安装最新内核并开启 TCP BBR,输入以下命令:

uname -r

查看内核版本,含有 4.11 就表示 OK 了

sysctl net.ipv4.tcp_available_congestion_control

返回值一般为:

net.ipv4.tcp_available_congestion_control = bbr cubic reno
sysctl net.ipv4.tcp_congestion_control

返回值一般为:

net.ipv4.tcp_congestion_control = bbr
sysctl net.core.default_qdisc

返回值一般为:

net.core.default_qdisc = fq
lsmod | grep bbr

返回值有 tcp_bbr 模块即说明bbr已启动。

锐速

https://www.91yun.co/archives/683

下载更换内核

CentOS6 内核更换为: 2.6.32-504.3.3.el6.x86_64

rpm -ivh http://soft.91yun.org/ISO/Linux/CentOS/kernel/kernel-firmware-2.6.32-504.3.3.el6.noarch.rpm
rpm -ivh http://soft.91yun.org/ISO/Linux/CentOS/kernel/kernel-2.6.32-504.3.3.el6.x86\_64.rpm –force

CentOS7 内核更换为: 3.10.0-229.1.2.el7.x86_64

rpm -ivh http://soft.91yun.org/ISO/Linux/CentOS/kernel/kernel-3.10.0-229.1.2.el7.x86\_64.rpm –force

如果提示缺少linux-firmware就

yum -y install linux-firmware

锐速破解版安装方法:

wget -N –no-check-certificate https://github.com/91yun/serverspeeder/raw/master/serverspeeder.sh && bash serverspeeder.sh

锐速破解版卸载方法:

chattr -i /serverspeeder/etc/apx* && /serverspeeder/bin/serverSpeeder.sh uninstall -f

三合一脚本:

wget –no-check-certificate -O tcp.sh https://github.com/cx9208/Linux-NetSpeed/raw/master/tcp.sh && chmod +x tcp.sh && ./tcp.sh