Ubuntu系统安装shadowsock

在北京治疗白癜风需要多少钱 http://pf.39.net/bdfyy/bdfrczy/160317/4791372.html
shadowsocks

1、更新Ubuntu依赖到最新

sudoapt-getupdate

2、安装python的包管理工具

aptinstallpython3-pip

3、升级pip

pip3install--upgradepippip3installsetuptools

4、安装shadowsocks

pip3installshadowsocks

5、安装

sudoapt-get-yinstallpython-m2crypto

6、shadowsocks安装完毕后,可以查看使用sserver命令进行查看如下:

7、给服务增加一个配置文件:shadowsocks.json

vim/etc/shadowsocks.json{server:0.0.0.0,server_port:,local_address:.0.0.1,password:!

#ljt,timeout:,method:aes--cfb,fast_open:false,workers:1}

8、启动服务

ssserver-c/etc/shadowsocks.json

9、设置后台启动

后台运行:ssserver-c/etc/shadowsocks.json-dstart后台停止:ssserver-c/etc/shadowsocks.json-dstop

注意:python一定要安装python3以上,否则会报错,遇到错误自己百度!




转载请注明:http://www.aierlanlan.com/rzgz/5116.html

  • 上一篇文章:
  •   
  • 下一篇文章: