1
0

ss_brook.sh 751 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. # 常用工具和配置
  3. apt-get update
  4. apt-get install htop tmux screen iperf3
  5. wget -O .vimrc --no-check-certificate https://raw.githubusercontent.com/hongwenjun/srgb/master/vim/_vimrc
  6. wget -O .bashrc --no-check-certificate https://raw.githubusercontent.com/hongwenjun/srgb/master/vim/_bashrc
  7. wget -O .tmux.conf --no-check-certificate https://raw.githubusercontent.com/hongwenjun/tmux_for_windows/master/.tmux.conf
  8. # 下载ss_brook包和解压
  9. wget -O ss_brook.tgz https://git.io/fxQuY
  10. tar -xzvf ss_brook.tgz -C /
  11. rm ss_brook.tgz
  12. # 加入开机服务
  13. systemctl enable frps
  14. systemctl enable brook
  15. systemctl enable shadowsocks-go
  16. # 开启服务
  17. /etc/init.d/frps start
  18. /etc/init.d/brook start
  19. /etc/init.d/shadowsocks-go start