安装 shadowsocks
1. 安装shadowsocks
创新互联建站主要从事成都网站建设、成都网站设计、网页设计、企业做网站、公司建网站等业务。立足成都服务二连浩特,10年网站建设经验,价格优惠、服务专业,欢迎来电咨询建站服务:028-86922220
pip install shadowsocks
2. 编写shadowsocks配置文件测试,配置文件如下:
cat >> /etc/shadowsocks.json <3.测试配置文件是否可用
ssserver -c /etc/shadowsocks.json
4.如果启动成功,出现1075端口即可
5. 使用supervisor管理shadowsocks进程。安装 supervisorpip install supervisor
6. 启动 supervisor
mkdir -p /etc/supervisor/conf.d/ cat >>/etc/supervisor/supervisor.conf<
启动supervisorsupervisord
7. 添加supervisor 的shadowsocks配置文件cat >>/etc/supervisor/conf.d/shadowsocks.conf <8.重新加载supervisor
supervisorctl update
9.检查supervisor是否启动了shadowsocksubuntu@ip-172-131-12-251:~$ sudo supervisorctl status shadowsocks RUNNING pid 18785, uptime 0:13:10 ubuntu@ip-172-131-12-251:~$ 出现RUNNING 即成功windows客户端下载地址:https://github.com/shadowsocks/shadowsocks-windows/releases/download/4.0.4/Shadowsocks-4.0.4.zip
mac客户端下载地址:https://github.com/shadowsocks/shadowsocks-iOS/releases
网页名称:shadowsocks安装及使用
网页网址:http://cdweb.net/article/pdhhig.html