Skip to content

Instantly share code, notes, and snippets.

@livoras
Last active March 26, 2020 07:54
Show Gist options
  • Save livoras/8a0cd36f36665a55011b7e8d0e2283ab to your computer and use it in GitHub Desktop.
Save livoras/8a0cd36f36665a55011b7e8d0e2283ab to your computer and use it in GitHub Desktop.
vultr 服务器一键安装 SS
# 先装好 ssserver
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
# 本地新建配置
cat '{ \
"server": "0.0.0.0", \
"server_port": 8388, \
"local_address": "127.0.0.1", \
"local_port": 1080, \
"password": "gT4SUF3fcS", \
"timeout": 300, \
"method": "aes-256-cfb", \
"fast_open": false\
}' >> config.json
# TCP BBR
wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh
chmod +x bbr.sh
./bbr.sh
# 重启
reboot
# 启动服务器!
ssserver -c config.json -d start
@livoras
Copy link
Author

livoras commented Mar 26, 2020

#!/bin/bash

yum install -y git
git clone https://github.com/hao35954514/shadowsocksR-b.git
cd shadowsocksR-b/shadowsocks
python server.py -p 80 -k dareyoufuckingcrakme_please!! -m chacha20-ietf -O auth_aes128_sha1 -o http_post -d start

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