Last active
March 26, 2020 07:54
-
-
Save livoras/8a0cd36f36665a55011b7e8d0e2283ab to your computer and use it in GitHub Desktop.
vultr 服务器一键安装 SS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 先装好 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#!/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