ubuntu下搭建SS
作者:互联网
apt-get update
apt-get install python-pip
pip install shadowsocks
此时,如果出现了提示版本太低,则按照提示更新
pip install --upgrade pip
如果提示没有setuptools模块,则安装setuptools
pip install setuptools
如果刚才shadowsocks安装成功则跳过这一步,某则继续安装shadowsocks
pip install shadowsocks
vim /etc/shadowsocks.json
{
"server":"0.0.0.0",
"port_password":{
"端口号1":"123456",
"端口号2":"123456",
},
"timeout":300,
"method":"rc4-md5",
"fast_open": false
}
chmod 755 /etc/shadowsocks.json
安装以支持这些加密方式
apt-get install python-m2crypto
ssserver -c /etc/shadowsocks.json -d start
ssserver -c /etc/shadowsocks.json -d stop
设置开机自启动
vim /etc/rc.local
ssserver -c /etc/shadowsocks.json -d start
标签:SS,ssserver,etc,json,install,ubuntu,pip,shadowsocks,搭建 来源: https://www.cnblogs.com/xiebinbo/p/10997056.html