Skip to content

Instantly share code, notes, and snippets.

@hellokaton
Created September 22, 2018 06:30
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save hellokaton/6d1e262200c7d83874fe80d9fd891a96 to your computer and use it in GitHub Desktop.
Save hellokaton/6d1e262200c7d83874fe80d9fd891a96 to your computer and use it in GitHub Desktop.

安装 BBR

wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/bbr.sh && chmod +x bbr.sh && bash bbr.sh

使用方法

# 启动BBR
bash bbr.sh start
 
# 关闭BBR
bash bbr.sh stop
 
# 查看BBR状态
bash bbr.sh status

安装 SSR 单用户

wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/ssr.sh && chmod +x ssr.sh && bash ssr.sh

文件位置

安装目录:/usr/local/shadowsocksr

配置文件:/etc/shadowsocksr/user-config.json

其他说明

ShadowsocksR 安装后,自动设置为 系统服务,所以支持使用服务来启动/停止等操作,同时支持开机启动。

  1. 启动 ShadowsocksR:/etc/init.d/ssr start
  2. 停止 ShadowsocksR:/etc/init.d/ssr stop
  3. 重启 ShadowsocksR:/etc/init.d/ssr restart
  4. 查看 ShadowsocksR状态:/etc/init.d/ssr status

附录

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