Skip to content

Instantly share code, notes, and snippets.

@tonyxu-io
Last active January 4, 2024 05:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save tonyxu-io/9730082807604d7c571f5596714df1fa to your computer and use it in GitHub Desktop.
Save tonyxu-io/9730082807604d7c571f5596714df1fa to your computer and use it in GitHub Desktop.
ShadowsocksR 一键安装

ShadowsocksR 一键安装

适配环境: CentOS 6

安装

yum install wget
wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocksR.sh
chmod +x shadowsocksR.sh
./shadowsocksR.sh 2>&1 | tee shadowsocksR.log

卸载

./shadowsocksR.sh uninstall

查看状态

/etc/init.d/shadowsocks status

BBR 加速

安装BBR:

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

重启VM

配置BBR:

sysctl net.ipv4.tcp_available_congestion_control
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment