本文主要是介绍python安装,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
安装
## 安装依赖
pip install shadowsocks
配置
{
"server":"0.0.0.0",
"server_port":10050,
"local_address": "0.0.0.0",
"local_port":1080,
"password":"hk@2022ppP",
"timeout":300,
"method":"aes-256-cfb",
"protocol":"origin",
"obfs":"plain",
"fast_open": false,
"workers": 1
}
启动脚本
$sudo vim /etc/systemd/system/shadowsocks.service
[Unit]
Description=Shadowsocks
[Service]
TimeoutStartSec=0
ExecStart=/usr/bin/ssserver -c /etc/shadowsocks.json
[Install]
WantedBy=multi-user.target
这篇关于python安装的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!