wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
删除内核环节出现这样一张图
注意选择 NO
,然后根据提示重启系统
wget -N --no-check-certificate https://github.com/91yun/serverspeeder/raw/master/serverspeeder.sh && bash serverspeeder.sh
serverspeeder.sh (6.0 KB)
wget -N --no-check-certificate "https://gist.github.com/zeruns/a0ec603f20d1b86de6a774a8ba27588f/raw/4f9957ae23f5efb2bb7c57a198ae2cffebfb1c56/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
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
xyz tcp.sh (45.3 KB)
就是爱生活
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh"
chmod +x tcp.sh
./tcp.sh
94ish tcp.sh (23.7 KB)
就是爱生活 国内线路优化
wget -N --no-check-certificate "https://ghproxy.com/https://raw.githubusercontent.com/xiaoyiya/Linux-NetSpeed/master/tcp.sh"
chmod +x tcp.sh
./tcp.sh
Linux-NetSpeed
预先准备
centos:yum install ca-certificates wget -y && update-ca-trust force-enable
debian/ubuntu:apt-get install ca-certificates wget -y && update-ca-certificates
不卸载内核版本
wget -O tcpx.sh "https://git.io/JYxKU" && chmod +x tcpx.sh && ./tcpx.sh
卸载内核版本
wget -O tcp.sh "https://git.io/coolspeeda" && chmod +x tcp.sh && ./tcp.sh
关联action自动编译内核
https://github.com/ylx2016/kernel/
双持bbr+锐速
bbr 添加
echo "net.core.default_qdisc=fq" >> /etc/sysctl.d/99-sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.d/99-sysctl.conf
sysctl -p
编辑锐速文件
nano /appex/etc/config
检测代码有BUG,如果锐速正常 运行查看
bash /appex/bin/lotServer.sh status | grep "LotServer"
检查bbr 内核默认bbr算法不会有输出
lsmod | grep bbr
检查centos安装内核
grubby --info=ALL|awk -F= '$1=="kernel" {print i++ " : " $2}'
查看当前支持TCP算法
cat /proc/sys/net/ipv4/tcp_allowed_congestion_control
查看当前运行的算法
cat /proc/sys/net/ipv4/tcp_congestion_control
查看当前队列算法
sysctl net.core.default_qdisc
命令: uname -a
作用: 查看系统内核版本号及系统名称
命令: cat /proc/version
作用: 查看目录"/proc"下version的信息,也可以得到当前系统的内核版本号及系统名称
真实队列查看? 更改队列算法可能需要重启生效
tc -s qdisc show
/etc/sysctl.d/99-sysctl.conf
sysctl --system
ylx2016与chiakge、cx9208无任何关系
bbsplus算法原作者
https://blog.csdn.net/dog250/article/details/80629551
bbrplus首用名 ?
https://github.com/cx9208/bbrplus
新版bbrplus
https://github.com/UJX6N/bbrplus-5.10
xanmod官网
https://xanmod.org
Zen官网
https://liquorix.net/
锐速
https://moeclub.org/2017/03/09/14/
其他内核
https://github.com/alibaba/cloud-kernel
https://github.com/Tencent/TencentOS-kernel
官方编译好的内核
https://sourceforge.net/projects/xanmod/files/releases/current
https://elrepo.org/linux/kernel/el7/x86_64/RPMS/
https://elrepo.org/linux/kernel/el8/x86_64/RPMS/
https://kernel.ubuntu.com/~kernel-ppa/mainline/
http://mirrors.aliyun.com/alinux/2.1903/plus/x86_64/Packages/
https://mirrors.tencent.com/tlinux/2.4/tlinux/x86_64/RPMS/
https://bintray.com/multipath-tcp/mptcp_rpm/mptcp/v0.95.1#files
https://bintray.com/multipath-tcp/mptcp_deb/mptcp/v0.95.1#files
DD脚本
https://www.cxthhhhh.com/network-reinstall-system-modify
高科技
https://github.com/mack-a/v2ray-agent
https://github.com/phlinhng/v2ray-tcp-tls-web
https://github.com/johnrosen1/trojan-gfw-script
https://github.com/wulabing/Xray_onekey
服务周期
https://zh.wikipedia.org/zh/Ubuntu
https://wiki.ubuntu.com/Releases
https://wiki.debian.org/LTS
https://wiki.centos.org/zh/About/Product
秋水逸冰 一键安装最新内核并开启 BBR 脚本
使用方法
使用root用户登录,运行以下命令:
wget --no-check-certificate -O /opt/bbr.sh https://github.com/teddysun/across/raw/master/bbr.sh chmod 755 /opt/bbr.sh /opt/bbr.sh
安装完成后,脚本会提示需要重启 VPS,输入 y 并回车后重启。 重启完成后,进入 VPS,验证一下是否成功安装最新内核并开启 TCP BBR,输入以下检查:
No.1
uname -r
查看内核版本,显示为新版内核就表示 OK 了。
No.2
sysctl net.ipv4.tcp_available_congestion_control
返回值一般为:net.ipv4.tcp_available_congestion_control = bbr cubic reno
或者:net.ipv4.tcp_available_congestion_control = reno cubic bbr
No.3
sysctl net.ipv4.tcp_congestion_control
返回值一般为:net.ipv4.tcp_congestion_control = bbr
No.4
sysctl net.core.default_qdisc
返回值一般为:net.core.default_qdisc = fq
No.5
lsmod | grep bbr
返回值有 tcp_bbr 模块即说明 bbr 已启动。比如:tcp_bbr 20480 3
注意:并不是所有的 VPS 都会有此返回值,若没有也属正常。
特别说明
如果你使用的是 Google Cloud Platform (GCP)更换内核,有时会遇到重启后,整个磁盘变为只读的情况。只需执行以下命令即可恢复:
mount -o remount rw /