/TrCtrlProToc0l

El Psy Congroo!

Primary LanguageShell

TrCtrlProToc0l

WARNING: This script may cause system reboot failure

This is the choice of Steins;Gate.

01

Usage

bash -c "$(wget --no-check-certificate -qO- https://github.com/Aniverse/TrCtrlProToc0l/raw/master/A)"

Features

  • Less interactive
    尽可能地减少交互,尽可能地傻瓜化
    本脚本把重启后要执行的操作(安装锐速、编译魔改 BBR)放到临时的 /etc/rc.local 中,实现了重启后自动安装 锐速 / 魔改BBR,无需再次运行脚本
    移除内核时有时候会碰到 abort removing running kernel 的 对话框,本脚本也做了一些处理避免这个问题

  • Onekey Install, Onekey Switch
    本脚本可以安装、卸载 锐速、BBR、Yankee 版魔改 BBR、南琴浪 版魔改 BBR,并支持在以上任意的加速方案中一键切换

  • Adapt for Online.net Dedicated Server
    有一些 Online 独服的 Ubuntu 系统需要补充一些固件才能在更换高版本新内核后不翻车
    有一些 Online 独服的 Ubuntu 和 Debian 系统对于锐速挑内核,用 Ubuntu 的 4.4.0-47 和 Debian 的 3.16.0-4 容易翻车
    因此对于 Ubuntu 我指定用 3.16.0-43 ,对于 Debian 8 我指定用 3.12.1(Debian 9 还是 3.16.0-4
    (据说是驱动问题,菜鸡就只能用这种解决办法了)

Drawbacks

  • Only supports Debian 8, Debian 9, Ubuntu 16.04
    本脚本作为 inexistencemingling 的延伸,我认为不需要去支持原本 inexistence 就不支持的系统
    本来这类脚本也有很多,如有需要你可以去用那些适配范围更广的脚本

  • Author is too young too simple and always naive
    本脚本在 Vultr Cloud Compute 上测试通过,但不保证在所有环境上都能正常工作

More screenshots

02 03 04 05 06

To Do List

  • 允许自定义内核版本
    目前对于 BBR 都指定了 4.11.12

Known Issues

  • 某些情况下多余内核可能会移除失败

Some references

https://github.com/FunctionClub/YankeeBBR
https://sometimesnaive.org/article/linux/bash/tcp_nanqinlang
https://moeclub.org/2017/06/06/249/
https://moeclub.org/2017/03/08/14/
https://www.94ish.me/1635.html
http://xiaofd.win/onekey-ruisu.html
https://teddysun.com/489.html