广树管理员
2025-11-21 19:57
@石樱灯笼:那就少子老龄化吧
作者:广树时间:2017-08-14 14:09:41分类:服务器
仅仅是笔记,防止哪天忘记怎么弄。
首先安装:
sudo apt-get update sudo python --version sudo apt-get install python-gevent python-pip sudo pip install shadowsocks
安装后进入:
cd /usr/local/lib/python2.7/dist-packages/shadowsocks
创建文件:
sudo touch config.json
编辑文件:
sudo gedit config.json
编辑内容:
{
"server":"你的IP地址",
"server_port":服务器监听的端口,一般设为80,443等,注意不要设为使用中的端口,
"password":"密码",
"timeout":600,
"method":"aes-256-cfb"
}
保存后运行:
sudo sslocal -c config.json -d start ssserver -c config.json











