• 跳着看完了电视剧《三大队》
  • 快云存储空间
  • 自建反代Imgur
  • 群晖图床测试
  • 企鹅微云直链图测试
  • 博客迁移至外网
  • 持有VPS测试结果存档
  • 换了个大框的眼镜,终于不往下掉了……
  • 折腾了半天又回归了WP,还是这个上手!

【收藏】Linux系统综合加速脚本

趣味收藏 主人 2年前 (2022-04-06) 390次浏览 0个评论

将 Linux 现常用的网络加速集成在一起

预先准备

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 自动编译内核

双持 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

查看目录”/proc”下 version 的信息,也可以得到当前系统的内核版本号及系统名称

cat /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


文章若有侵权,请联系本站作者。
喜欢 (6)

文章评论已关闭!