Ubuntu18.04 安装ss
代码如下 先进入root用户
apt install python-pi
pip install git+https://github.com/shadowsocks/shadowsocks.git@master
{
"server":"服务器 IP 或是域名",
"server_port":端口号,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"密码",
"timeout":300,
"method":"加密方式 (chacha20-ietf-poly1305 / aes-256-cfb)",
"fast_open": false
}
/usr/local/bin/sslocal -c /etc/shadowsocks.json -d start
apt install proxychains
# Unset socks proxy
unset all_proxy
unset ALL_PROXY
# Install missing dependencies:
pip install pysocks
# Reset proxy
source ~/.bashrc