Skip to content
forked from teddysun/across

Across the Great Wall we can reach every corner in the world

License

Notifications You must be signed in to change notification settings

jacklunee/across

 
 

Repository files navigation

安装BBR

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

wget --no-check-certificate https://raw.githubusercontent.com/jacklunee/across/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh

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

uname -r 查看内核版本,含有 4.13 就表示 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 已启动。

卸载方法 vi /etc/sysctl.conf 把net.ipv4.tcp_congestion_control 改成#net.ipv4.tcp_congestion_control 然后reboot

Across the Great Wall we can reach every corner in the world

wireguard.sh

bbr.sh

kms.sh

bench.sh

backup.sh

  • You must modify the config before run it
  • Backup MySQL/MariaDB/Percona datebases, files and directories
  • Backup file is encrypted with AES256-cbc with SHA1 message-digest (option)
  • Auto transfer backup file to Google Drive (need install gdrive command) (option)
  • Auto transfer backup file to FTP server (option)
  • Auto delete Google Drive's or FTP server's remote file (option)
  • Intro: https://teddysun.com/469.html

ftp_upload.sh

unixbench.sh

l2tp.sh(Deprecated, DO NOT USE)

pptp.sh(Deprecated, DO NOT USE)

Copyright (C) 2013-2019 Teddysun i@teddysun.com

About

Across the Great Wall we can reach every corner in the world

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 97.2%
  • Dockerfile 2.8%